Interface OauthClientConfiguration
-
- All Superinterfaces:
io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
OauthClientConfigurationProperties
public interface OauthClientConfiguration extends io.micronaut.core.util.ToggleableOAuth 2.0 client configuration.- Since:
- 1.2.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<EndpointConfiguration>getAuthorization()https://tools.ietf.org/html/rfc6749#section-3.1java.lang.StringgetClientId()java.lang.StringgetClientSecret()GrantTypegetGrantType()java.util.Optional<SecureEndpointConfiguration>getIntrospection()https://tools.ietf.org/html/rfc7662.java.lang.StringgetName()java.util.Optional<OpenIdClientConfiguration>getOpenid()java.util.Optional<SecureEndpointConfiguration>getRevocation()https://tools.ietf.org/html/rfc7009.java.util.List<java.lang.String>getScopes()java.util.Optional<SecureEndpointConfiguration>getToken()https://tools.ietf.org/html/rfc6749#section-4.1.3
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
- Returns:
- The provider name
-
getClientId
@Nonnull java.lang.String getClientId()
- Returns:
- The client id
-
getClientSecret
@Nullable java.lang.String getClientSecret()
- Returns:
- The client secret
-
getScopes
@Nonnull java.util.List<java.lang.String> getScopes()
- Returns:
- The scopes requested
-
getGrantType
@Nonnull GrantType getGrantType()
- Returns:
- The grant type
-
getToken
java.util.Optional<SecureEndpointConfiguration> getToken()
https://tools.ietf.org/html/rfc6749#section-4.1.3- Returns:
- The optional token endpoint configuration
-
getAuthorization
java.util.Optional<EndpointConfiguration> getAuthorization()
https://tools.ietf.org/html/rfc6749#section-3.1- Returns:
- The optional authorization endpoint configuration
-
getIntrospection
java.util.Optional<SecureEndpointConfiguration> getIntrospection()
https://tools.ietf.org/html/rfc7662.- Returns:
- The introspection endpoint configuration
-
getRevocation
java.util.Optional<SecureEndpointConfiguration> getRevocation()
https://tools.ietf.org/html/rfc7009.- Returns:
- The revocation endpoint configuration
-
getOpenid
java.util.Optional<OpenIdClientConfiguration> getOpenid()
- Returns:
- The optional OpenID configuration
-
-