Interface JwtAuthenticationFactory

  • All Superinterfaces:
    io.micronaut.security.token.TokenAuthenticationFactory<com.nimbusds.jwt.JWT>
    All Known Implementing Classes:
    DefaultJwtAuthenticationFactory

    public interface JwtAuthenticationFactory
    extends io.micronaut.security.token.TokenAuthenticationFactory<com.nimbusds.jwt.JWT>
    Creates an Authentication object from a JWT token.
    Since:
    1.1.0
    • Method Detail

      • createAuthentication

        java.util.Optional<io.micronaut.security.authentication.Authentication> createAuthentication​(com.nimbusds.jwt.JWT token)
        Specified by:
        createAuthentication in interface io.micronaut.security.token.TokenAuthenticationFactory<com.nimbusds.jwt.JWT>