public interface OauthClientConfiguration
extends io.micronaut.core.util.Toggleable
Modifier and Type | Field and Description |
---|---|
static java.time.Duration |
DEFAULT_ADVANCED_EXPIRATION
The default advanced expiration value for client credentials grant.
|
static AuthenticationMethod |
DEFAULT_AUTHENTICATION_METHOD |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<OauthAuthorizationEndpointConfiguration> |
getAuthorization() |
default java.util.Optional<ClientCredentialsConfiguration> |
getClientCredentials() |
java.lang.String |
getClientId() |
java.lang.String |
getClientSecret() |
GrantType |
getGrantType() |
java.util.Optional<SecureEndpointConfiguration> |
getIntrospection() |
java.lang.String |
getName() |
java.util.Optional<OpenIdClientConfiguration> |
getOpenid() |
java.util.Optional<SecureEndpointConfiguration> |
getRevocation() |
java.util.List<java.lang.String> |
getScopes() |
java.util.Optional<SecureEndpointConfiguration> |
getToken() |
default SecureEndpoint |
getTokenEndpoint() |
static final AuthenticationMethod DEFAULT_AUTHENTICATION_METHOD
static final java.time.Duration DEFAULT_ADVANCED_EXPIRATION
@NonNull java.lang.String getName()
@NonNull java.lang.String getClientId()
@Nullable java.lang.String getClientSecret()
@NonNull java.util.List<java.lang.String> getScopes()
@NonNull GrantType getGrantType()
java.util.Optional<SecureEndpointConfiguration> getToken()
java.util.Optional<OauthAuthorizationEndpointConfiguration> getAuthorization()
@NonNull default java.util.Optional<ClientCredentialsConfiguration> getClientCredentials()
java.util.Optional<SecureEndpointConfiguration> getIntrospection()
java.util.Optional<SecureEndpointConfiguration> getRevocation()
java.util.Optional<OpenIdClientConfiguration> getOpenid()
default SecureEndpoint getTokenEndpoint() throws io.micronaut.context.exceptions.ConfigurationException
io.micronaut.context.exceptions.ConfigurationException
- if token endpoint url is not set in configuration