Index
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_basicorclient_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
challengerecord 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
claimsrecord component. - claims() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
-
Returns the value of the
claimsrecord component. - claims() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
-
Returns the value of the
claimsrecord component. - client() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthServerExtension.Registration
-
Returns the value of the
clientrecord 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, ornull. - clientId() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
-
Returns the value of the
clientIdrecord component. - clientId() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthPrincipal
-
Returns the value of the
clientIdrecord 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
subjectgrantedclientIdat its last consent, ornullfor 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
expiresAtrecord component.
F
- family() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
-
Returns the value of the
familyrecord 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, ornull.
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
hashrecord 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
idrecord component. - id() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthSubject
-
Returns the value of the
idrecord 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
kindrecord component.
M
- metadata() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
-
Returns the value of the
metadatarecord 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
namerecord 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
OAuthClientrecord 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
OAuthGrantrecord 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
OAuthPrincipalrecord 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:
idbecomes the access token'ssub,claimstravel 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
OAuthSubjectrecord class.
R
- redirectUri() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
-
Returns the value of the
redirectUrirecord 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.REGISTERdoes for a client registering itself, and the only way to aclient_credentialsclient. - 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
Registrationrecord class. - resource() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthGrant
-
Returns the value of the
resourcerecord 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
familystops 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
scoperecord 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
secretrecord component. - secretHash() - Method in record class dev.relism.flash.ext.security.oauthserver.OAuthClient
-
Returns the value of the
secretHashrecord 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
subjectrecord 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
usedAtrecord 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.
All Classes and Interfaces|All Packages|Constant Field Values