Interface TokenFactory


public interface TokenFactory
Represents a Token creation interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String jwtToken)
    Returns a token interface for the given JWT token
  • Method Details

    • create

      Token create(String jwtToken)
      Returns a token interface for the given JWT token
      Parameters:
      jwtToken - the encoded JWT token, e.g. from the Authorization Header
      Returns:
      the new token instance