Class OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties

java.lang.Object
io.micronaut.security.oauth2.configuration.OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties
All Implemented Interfaces:
OpenIdAdditionalClaimsConfiguration
Enclosing class:
OauthConfigurationProperties.OpenIdConfigurationProperties

@ConfigurationProperties("additional-claims") public static class OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties extends Object implements OpenIdAdditionalClaimsConfiguration
Claims configuration.
  • Field Details

  • Constructor Details

    • AdditionalClaimsConfigurationProperties

      public AdditionalClaimsConfigurationProperties()
  • Method Details

    • isJwt

      public boolean isJwt()
      Specified by:
      isJwt in interface OpenIdAdditionalClaimsConfiguration
      Returns:
      True if the provider's JWT should be included in the Micronaut JWT
    • setJwt

      public void setJwt(boolean jwt)
      Set to true if the original JWT from the provider should be included in the Micronaut JWT. Default value (false).
      Parameters:
      jwt - The jwt
    • isAccessToken

      public boolean isAccessToken()
      Specified by:
      isAccessToken in interface OpenIdAdditionalClaimsConfiguration
      Returns:
      True if the provider's access token should be included in the Micronaut JWT
    • setAccessToken

      public void setAccessToken(boolean accessToken)
      Set to true if the original access token from the provider should be included in the Micronaut JWT. Default value (false).
      Parameters:
      accessToken - Access token
    • isRefreshToken

      public boolean isRefreshToken()
      Specified by:
      isRefreshToken in interface OpenIdAdditionalClaimsConfiguration
      Returns:
      True if the provider's refresh token should be included in the Micronaut JWT
    • setRefreshToken

      public void setRefreshToken(boolean refreshToken)
      Set to true if the original refresh token from the provider should be included in the Micronaut JWT. Default value (false).
      Parameters:
      refreshToken - Refresh token