Interface OpenIdConnectTokenClaimMapperProvider

  • All Known Implementing Classes:
    OpenIdConnectTokenClaimMapperProviderImpl

    public interface OpenIdConnectTokenClaimMapperProvider
    Provides the OpenIdConnectTokenClaimMapper needed to insert custom claims into issued OpenIdConnect tokens
    • Method Detail

      • getClaimMapper

        OpenIdConnectTokenClaimMapper getClaimMapper​(OpenIdConnectTokenConfig tokenConfig)
        Returns either an instance of the DefaultOpenIdConnectTokenClaimMapper or the custom implementation of the OpenIdConnectTokenClaimMapper specified in the OpenIdConnectTokenConfig published with the sts.
        Parameters:
        tokenConfig - the relevant sts configuration state
        Returns:
        either the default, or the user-specified, custom implementation of the OpenIdConnectTokenClaimMapper.