Interface TokenAuthenticationFactory<T>

  • Type Parameters:
    T - The type of the token

    public interface TokenAuthenticationFactory<T>
    Creates an Authentication object from a token.
    Since:
    1.1.0
    • Method Detail

      • createAuthentication

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