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 java.lang.Object implements OpenIdAdditionalClaimsConfigurationClaims configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIX
-
Constructor Summary
Constructors Constructor Description AdditionalClaimsConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAccessToken()booleanisJwt()booleanisRefreshToken()voidsetAccessToken(boolean accessToken)Set to true if the original access token from the provider should be included in the Micronaut JWT.voidsetJwt(boolean jwt)Set to true if the original JWT from the provider should be included in the Micronaut JWT.voidsetRefreshToken(boolean refreshToken)Set to true if the original refresh token from the provider should be included in the Micronaut JWT.
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
isJwt
public boolean isJwt()
- Specified by:
isJwtin interfaceOpenIdAdditionalClaimsConfiguration- 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:
isAccessTokenin interfaceOpenIdAdditionalClaimsConfiguration- 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:
isRefreshTokenin interfaceOpenIdAdditionalClaimsConfiguration- 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
-
-