Class UserInfoConfiguration

java.lang.Object
com.irurueta.authserver.authorization.api.web.tokens.UserInfoConfiguration

@Configuration(proxyBeanMethods=false) public class UserInfoConfiguration extends Object
Registers the UserInfoMapper in the OpenID Connect UserInfo endpoint of the protocol chain.
  • Constructor Details

    • UserInfoConfiguration

      public UserInfoConfiguration()
  • Method Details

    • userInfoProtocolChainCustomizer

      @Bean public ProtocolChainCustomizer userInfoProtocolChainCustomizer(UserInfoMapper userInfoMapper)
      Creates the customizer that installs the UserInfo mapper.
      Parameters:
      userInfoMapper - mapper that builds the UserInfo response.
      Returns:
      the protocol chain customizer.