@ConfigurationProperties(value="openid") public static class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties extends java.lang.Object implements OpenIdClientConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties
Authorization endpoint configuration.
|
static class |
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.EndSessionConfigurationProperties
End session endpoint configuration.
|
static class |
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.RegistrationEndpointConfigurationProperties
Registration endpoint configuration
|
static class |
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties
Token endpoint configuration.
|
static class |
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.UserInfoEndpointConfigurationProperties
User info endpoint configuration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<AuthorizationEndpointConfiguration> |
getAuthorization()
https://tools.ietf.org/html/rfc6749#section-3.1
https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint
|
java.lang.String |
getConfigurationPath() |
EndSessionEndpointConfiguration |
getEndSession()
https://openid.net/specs/openid-connect-session-1_0.html
|
java.util.Optional<java.net.URL> |
getIssuer() |
java.util.Optional<java.lang.String> |
getJwksUri() |
java.lang.String |
getName() |
java.util.Optional<EndpointConfiguration> |
getRegistration()
https://tools.ietf.org/html/rfc7591#section-3.1
https://openid.net/specs/openid-connect-registration-1_0.html#ClientRegistration
|
java.util.Optional<TokenEndpointConfiguration> |
getToken()
https://tools.ietf.org/html/rfc6749#section-4.1.3
https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
|
java.util.Optional<EndpointConfiguration> |
getUserInfo()
https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
|
void |
setAuthorization(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties authorization)
Sets the authorization endpoint configuration.
|
void |
setConfigurationPath(java.lang.String configurationPath)
The configuration path to discover openid configuration.
|
void |
setEndSession(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.EndSessionConfigurationProperties endSession)
Sets the end session endpoint configuration.
|
void |
setIssuer(java.net.URL issuer)
URL using the https scheme with no query or fragment component that the
Open ID provider asserts as its issuer identifier.
|
void |
setJwksUri(java.lang.String jwksUri)
The JWKS signature URI.
|
void |
setRegistration(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.RegistrationEndpointConfigurationProperties registration)
Sets the registration endpoint configuration.
|
void |
setToken(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties token)
Sets the token endpoint configuration.
|
void |
setUserInfo(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.UserInfoEndpointConfigurationProperties userInfo)
Sets the user info endpoint configuration.
|
@Nonnull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
public java.util.Optional<java.net.URL> getIssuer()
getIssuer
in interface OpenIdClientConfiguration
public void setIssuer(@Nullable java.net.URL issuer)
issuer
- The issuer@Nonnull public java.lang.String getConfigurationPath()
getConfigurationPath
in interface OpenIdClientConfiguration
public void setConfigurationPath(@Nonnull java.lang.String configurationPath)
configurationPath
- The configuration pathpublic java.util.Optional<java.lang.String> getJwksUri()
getJwksUri
in interface OpenIdClientConfiguration
public void setJwksUri(java.lang.String jwksUri)
jwksUri
- The signature uripublic java.util.Optional<EndpointConfiguration> getRegistration()
OpenIdClientConfiguration
getRegistration
in interface OpenIdClientConfiguration
public void setRegistration(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.RegistrationEndpointConfigurationProperties registration)
registration
- The registration endpoint configurationpublic java.util.Optional<EndpointConfiguration> getUserInfo()
OpenIdClientConfiguration
getUserInfo
in interface OpenIdClientConfiguration
public void setUserInfo(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.UserInfoEndpointConfigurationProperties userInfo)
userInfo
- The user info endpoint configurationpublic java.util.Optional<AuthorizationEndpointConfiguration> getAuthorization()
OpenIdClientConfiguration
getAuthorization
in interface OpenIdClientConfiguration
public void setAuthorization(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties authorization)
authorization
- The authorization endpoint configurationpublic java.util.Optional<TokenEndpointConfiguration> getToken()
OpenIdClientConfiguration
getToken
in interface OpenIdClientConfiguration
public void setToken(OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties token)
token
- The token endpoint configuration@Nonnull public EndSessionEndpointConfiguration getEndSession()
OpenIdClientConfiguration
getEndSession
in interface OpenIdClientConfiguration
public void setEndSession(@Nonnull OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.EndSessionConfigurationProperties endSession)
endSession
- End session endpoint configuration