Interface TokenAuthenticationFactory<T>

Type Parameters:
T - The type of the token
All Known Subinterfaces:
JwtAuthenticationFactory
All Known Implementing Classes:
AbstractTokenAuthenticationFactory, DefaultJwtAuthenticationFactory

public interface TokenAuthenticationFactory<T>
Creates an Authentication object from a token.
Since:
1.1.0
Author:
Sergio del Amo
  • Method Details

    • createAuthentication

      Optional<Authentication> createAuthentication(T token)
      Parameters:
      token - The token
      Returns:
      An Authentication object.