Index

A C D E F G H I J K M N O R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

accessTokenLifetime(Duration) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
allowLocalClients() - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Lets client metadata documents live on http and private addresses — for development, never production.
authenticate(Request) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Only tokens this server issued are this mechanism's: any other bearer is left to the rest of the chain.
authMethod() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
none, client_secret_basic or client_secret_post.
AUTHORIZE - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 

C

challenge() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the challenge record component.
claim(String) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
 
claims() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the claims record component.
claims() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Returns the value of the claims record component.
claims() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Returns the value of the claims record component.
client() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Returns the value of the client record component.
client(String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
client(String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
The client registered under id, or null.
clientId() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the clientId record component.
clientId() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Returns the value of the clientId record component.
CODE - Enum constant in enum class dev.relism.flash.ext.security.oauthserver.OAuthGrant.Kind
 
configure(FlashRegistrar<?>, FlashContext) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
consent(String, String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
consent(String, String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
The scope subject granted clientId at its last consent, or null for none.
consent(String, String, String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
consent(String, String, String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
 
consentPage(String) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
The application's page asking a signed-in user to allow a client, sent the authorization request as its query string.

D

dev.relism.flash.ext.security.oauthserver - package dev.relism.flash.ext.security.oauthserver
 

E

equals(Object) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Indicates whether some other object is "equal to" this one.
expiresAt() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the expiresAt record component.

F

family() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the family record component.
find(String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
find(String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
The grant stored under hash, or null.

G

generateSigningKeys() - Static method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
A new JWK set for OAuthServerExtension.signingKeys(String), private key included: generate once, keep it secret.
grantTypes() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
 

H

hasAudience(String) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
 
hash() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the hash record component.
hashCode() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Returns a hash code value for this object.
hasScope(String) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
 

I

id() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Returns the value of the id record component.
id() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Returns the value of the id record component.
InMemoryOAuthStore - Class in dev.relism.flash.ext.security.oauthserver
One instance's clients, grants and consents, lost on restart.
InMemoryOAuthStore() - Constructor for class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 

J

JWKS - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 

K

kind() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the kind record component.

M

metadata() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Returns the value of the metadata record component.
METADATA - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 

N

name() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
What a consent page calls it: its client_name, or its id when it gave none.
name() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Returns the value of the name record component.

O

OAuthClient - Record Class in dev.relism.flash.ext.security.oauthserver
A client of the authorization server, described by its RFC 7591 metadata exactly as it was registered (defaults filled in).
OAuthClient(String, String, Map<String, Object>) - Constructor for record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Creates an instance of a OAuthClient record class.
OAuthGrant - Record Class in dev.relism.flash.ext.security.oauthserver
An authorization code or a refresh token, stored under the hash of its value.
OAuthGrant(String, OAuthGrant.Kind, String, String, String, Map<String, Object>, String, String, String, String, Instant, Instant) - Constructor for record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Creates an instance of a OAuthGrant record class.
OAuthGrant.Kind - Enum Class in dev.relism.flash.ext.security.oauthserver
 
OAuthPrincipal - Record Class in dev.relism.flash.ext.security.oauthserver
A caller holding an access token this application issued.
OAuthPrincipal(String, String, Map<String, Object>) - Constructor for record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Creates an instance of a OAuthPrincipal record class.
OAuthServerExtension - Class in dev.relism.flash.ext.security.oauthserver
An OAuth 2.1 authorization server for the application's own users and resources.
OAuthServerExtension(String...) - Constructor for class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
OAuthServerExtension.Registration - Record Class in dev.relism.flash.ext.security.oauthserver
A registered client, and its secret — shown this once, never stored.
OAuthStore - Interface in dev.relism.flash.ext.security.oauthserver
Where the authorization server keeps its clients, grants and consents.
OAuthSubject - Record Class in dev.relism.flash.ext.security.oauthserver
Whom an authorization is for, as the application names them: id becomes the access token's sub, claims travel in every token issued from it.
OAuthSubject(String, Map<String, Object>) - Constructor for record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Creates an instance of a OAuthSubject record class.

R

redirectUri() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the redirectUri record component.
redirectUris() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
 
REFRESH - Enum constant in enum class dev.relism.flash.ext.security.oauthserver.OAuthGrant.Kind
 
refreshTokenLifetime(Duration) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
register(Map<String, Object>) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Registers a client from its RFC 7591 metadata — what OAuthServerExtension.REGISTER does for a client registering itself, and the only way to a client_credentials client.
REGISTER - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
registration(boolean) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Whether any client may register itself at OAuthServerExtension.REGISTER (RFC 7591).
Registration(OAuthClient, String) - Constructor for record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Creates an instance of a Registration record class.
resource() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the resource record component.
revoke(String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
revoke(String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
Every grant of family stops working.
REVOKE - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 

S

save(OAuthClient) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
save(OAuthClient) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
 
save(OAuthGrant) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
save(OAuthGrant) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
 
schemes() - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Its issuer is "/": this application, at whatever origin it is reached by.
scope() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the scope record component.
scopes(String...) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
The scopes a client may be granted; any other it asks for is left out of the grant.
secret() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Returns the value of the secret record component.
secretHash() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Returns the value of the secretHash record component.
signingKeys(String) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
The signing keys, as a JWK set whose first key is a private P-256 key — see OAuthServerExtension.generateSigningKeys().
store(OAuthStore) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
subject() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the subject record component.
subjects(Function<SecurityIdentity, OAuthSubject>) - Method in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
Whom an authorization names, and what its tokens carry — and who may authorize at all: throw to refuse a caller.

T

TOKEN - Static variable in class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension
 
toString() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
Returns a string representation of this record class.

U

use(String) - Method in class dev.relism.flash.ext.security.oauthserver.InMemoryOAuthStore
 
use(String) - Method in interface dev.relism.flash.ext.security.oauthserver.OAuthStore
Marks the grant used and returns it as it was before: a non-null OAuthGrant.usedAt() means it had been used already.
used(Instant) - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
 
usedAt() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
Returns the value of the usedAt record component.

V

valueOf(String) - Static method in enum class dev.relism.flash.ext.security.oauthserver.OAuthGrant.Kind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.relism.flash.ext.security.oauthserver.OAuthGrant.Kind
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H I J K M N O R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values