Authenticator
A base typeclass for generating authenticators, i.e cookies, tokens, JWTs etc.
Type parameters
- A
-
the type of authenticator
- I
-
The Identifier type
- V
-
The value type, i.e user, or possibly only partial information
Attributes
- Source
- Authenticator.scala
- Graph
-
- Supertypes
- Known subtypes
-
Show all
Members list
Value members
Abstract methods
Handles the embedding of the authenticator (if necessary) in the response, and any other actions that should happen after a request related to authenticators
Handles the embedding of the authenticator (if necessary) in the response, and any other actions that should happen after a request related to authenticators
Attributes
- Returns
- Source
- Authenticator.scala
Create an authenticator from an identifier.
Delete an authenticator from a backing store, or invalidate it.
Delete an authenticator from a backing store, or invalidate it.
Attributes
- Returns
- Source
- Authenticator.scala
Embed an authenticator directly into a response.
Embed an authenticator directly into a response. Particularly useful for adding an authenticator into unauthenticated actions
Attributes
- Returns
- Source
- Authenticator.scala
Attributes
- Source
- Authenticator.scala
Attempt to retrieve the raw representation of an A This is primarily useful when attempting to combine AuthenticatorService, to be able to evaluate an endpoint with more than one token type.
Attempt to retrieve the raw representation of an A This is primarily useful when attempting to combine AuthenticatorService, to be able to evaluate an endpoint with more than one token type. or simply just to prod whether the request is malformed.
Attributes
- Returns
- Source
- Authenticator.scala
Attributes
- Source
- Authenticator.scala
Parse the raw representation from extractRawOption
Refresh an authenticator: Primarily used for sliding window expiration
Refresh an authenticator: Primarily used for sliding window expiration
Attributes
- Returns
- Source
- Authenticator.scala
Renew an authenticator: Reset it's expiry and whatnot.
Renew an authenticator: Reset it's expiry and whatnot.
Attributes
- Returns
- Source
- Authenticator.scala
Update the altered authenticator
Concrete methods
Return a secured request from a request, that carries our authenticator
Return a secured request from a request, that carries our authenticator
Attributes
- Returns
- Source
- Authenticator.scala