Index
All Classes and Interfaces|All Packages
A
- ApiKey<G> - Record Class in dev.relism.flash.ext.security.apikey
-
An API key as the application stores it: never the secret, only its hash, and the grant it was issued with — whatever the application authorizes on.
- ApiKey(String, String, G, Instant, Instant) - Constructor for record class dev.relism.flash.ext.security.apikey.ApiKey
-
Creates an instance of a
ApiKeyrecord class. - ApiKeyExtension<G> - Class in dev.relism.flash.ext.security.apikey
-
API keys sent as
Authorization: Bearer <prefix>_<id>.<secret>. - ApiKeyExtension(String, ApiKeyStore<G>) - Constructor for class dev.relism.flash.ext.security.apikey.ApiKeyExtension
- ApiKeyPrincipal<G> - Record Class in dev.relism.flash.ext.security.apikey
-
A caller authenticated by an API key, carrying the grant the key was issued with.
- ApiKeyPrincipal(String, G) - Constructor for record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Creates an instance of a
ApiKeyPrincipalrecord class. - ApiKeyStore<G> - Interface in dev.relism.flash.ext.security.apikey
-
Where the application keeps its API keys.
- authenticate(Request) - Method in class dev.relism.flash.ext.security.apikey.ApiKeyExtension
C
- configure(FlashRegistrar<?>, FlashContext) - Method in class dev.relism.flash.ext.security.apikey.ApiKeyExtension
D
- dev.relism.flash.ext.security.apikey - package dev.relism.flash.ext.security.apikey
E
- equals(Object) - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Indicates whether some other object is "equal to" this one.
- expiresAt() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns the value of the
expiresAtrecord component.
F
- find(String) - Method in interface dev.relism.flash.ext.security.apikey.ApiKeyStore
-
The key with this id, or
null.
G
- generate() - Method in class dev.relism.flash.ext.security.apikey.ApiKeyExtension
-
A new key: 72 bits of id, 192 bits of secret.
- GeneratedApiKey - Record Class in dev.relism.flash.ext.security.apikey
-
A freshly generated key.
- GeneratedApiKey(String, String, String) - Constructor for record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Creates an instance of a
GeneratedApiKeyrecord class. - grant() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns the value of the
grantrecord component. - grant() - Method in record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Returns the value of the
grantrecord component.
H
- hashCode() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Returns a hash code value for this object.
I
- id() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns the value of the
idrecord component. - id() - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Returns the value of the
idrecord component.
N
- name() - Method in record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Returns the value of the
namerecord component.
R
- revokedAt() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns the value of the
revokedAtrecord component.
S
- scheme() - Method in class dev.relism.flash.ext.security.apikey.ApiKeyExtension
- secretHash() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns the value of the
secretHashrecord component. - secretHash() - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Returns the value of the
secretHashrecord component.
T
- token() - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Returns the value of the
tokenrecord component. - toString() - Method in record class dev.relism.flash.ext.security.apikey.ApiKey
-
Returns a string representation of this record class.
- toString() - Method in record class dev.relism.flash.ext.security.apikey.ApiKeyPrincipal
-
Returns a string representation of this record class.
- toString() - Method in record class dev.relism.flash.ext.security.apikey.GeneratedApiKey
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages