Class AbstractTokenAuthenticationFactory<T>

java.lang.Object
io.micronaut.security.token.AbstractTokenAuthenticationFactory<T>
Type Parameters:
T - The Token type. e.g JWT or Paseto
All Implemented Interfaces:
TokenAuthenticationFactory<T>
Direct Known Subclasses:
DefaultJwtAuthenticationFactory

public abstract class AbstractTokenAuthenticationFactory<T> extends Object implements TokenAuthenticationFactory<T>
Abstract implementation of TokenAuthenticationFactory which creates an authentication for a set of claims.
Since:
3.2.0
Author:
Sergio del Amo
  • Constructor Details

    • AbstractTokenAuthenticationFactory

      public AbstractTokenAuthenticationFactory(TokenConfiguration tokenConfiguration, RolesFinder rolesFinder)
      Parameters:
      tokenConfiguration - Token Configuration
      rolesFinder - Utility to retrieve roles from token claims
  • Method Details