Interface JwtClaimsSetAuthenticator<P extends JwtClaimsSetPrincipal>

  • Type Parameters:
    P - Principal kind, type to which claims set is mapped.
    All Superinterfaces:
    io.dropwizard.auth.Authenticator<com.nimbusds.jwt.JWTClaimsSet,​P>

    public interface JwtClaimsSetAuthenticator<P extends JwtClaimsSetPrincipal>
    extends io.dropwizard.auth.Authenticator<com.nimbusds.jwt.JWTClaimsSet,​P>
    Dedicated authenticator taking JWT token claims and returning JwtClaimsSetPrincipal. It is a marker interface for later implementation by users who need to provide own authentication logic. A common use case is verification of token audience ("aud" claim/attribute in the token) within the service receiving request.
    Author:
    Ɓukasz Dywicki
    • Method Summary

      • Methods inherited from interface io.dropwizard.auth.Authenticator

        authenticate