- All Superinterfaces:
- All Known Implementing Classes:
public interface TokenAuthentication extends Authentication
An authentication which comprises a token that uniquely and securely identifies the authentication.
Authenticator might respond with a token authentication to communicate temporary credentials resulting from the authentication to the authenticated entity. These
can then later be used by the entity to authenticate using a different channel in a simpler or more perfomant way than the original authentication.
A properly secured token should be collision-free and hardly forgeable.
- Jeremy Kuhn
- See Also:
Methods inherited from interface io.inverno.mod.security.authentication.Authentication
getCause, isAnonymous, isAuthenticated
Returns the token resulting from the authentication process.
- a token that securely identifies the authentication