Class DefaultOpenIdAuthenticationMapper

java.lang.Object
io.micronaut.security.oauth2.endpoint.token.response.DefaultOpenIdAuthenticationMapper
All Implemented Interfaces:
OpenIdAuthenticationMapper

@Singleton @Requires(configuration="io.micronaut.security.token.jwt") public class DefaultOpenIdAuthenticationMapper extends Object implements OpenIdAuthenticationMapper
The default implementation of OpenIdAuthenticationMapper that uses the subject claim for the username and populates the attributes with the non JWT standard claims. If an OpenIdAuthenticationMapper bean is created with a named qualifier that is the same name of the provider, that bean will be used instead of this one.
Since:
1.2.0
Author:
James Kleeh
  • Constructor Details

    • DefaultOpenIdAuthenticationMapper

      public DefaultOpenIdAuthenticationMapper(OpenIdAdditionalClaimsConfiguration openIdAdditionalClaimsConfiguration, AuthenticationModeConfiguration authenticationModeConfiguration)
      Default constructor.
      Parameters:
      openIdAdditionalClaimsConfiguration - The additional claims configuration
      authenticationModeConfiguration - Authentication Mode Configuration
  • Method Details