Class DefaultSecureEndpointConfiguration
java.lang.Object
io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
io.micronaut.security.oauth2.configuration.endpoints.DefaultSecureEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration
,SecureEndpointConfiguration
- Direct Known Subclasses:
OauthClientConfigurationProperties.IntrospectionEndpointConfigurationProperties
,OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties
,OauthClientConfigurationProperties.RevocationEndpointConfigurationProperties
,OauthClientConfigurationProperties.TokenEndpointConfigurationProperties
public class DefaultSecureEndpointConfiguration
extends DefaultEndpointConfiguration
implements SecureEndpointConfiguration
Default implementation of
SecureEndpointConfiguration
.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.void
setAuthenticationMethod
(String authenticationMethod) void
setAuthMethod
(@NonNull AuthenticationMethod authMethod) Deprecated, for removal: This API element is subject to removal in a future version.UsesetAuthenticationMethod(String)
instead.Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
getUrl, setUrl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.security.oauth2.configuration.endpoints.EndpointConfiguration
getUrl
-
Constructor Details
-
DefaultSecureEndpointConfiguration
public DefaultSecureEndpointConfiguration()
-
-
Method Details
-
getAuthMethod
Deprecated, for removal: This API element is subject to removal in a future version.UsegetAuthenticationMethod()
instead.- Specified by:
getAuthMethod
in interfaceSecureEndpointConfiguration
- Returns:
- An optional Authentication Method.
-
setAuthMethod
@Deprecated(forRemoval=true) public void setAuthMethod(@NonNull @NonNull AuthenticationMethod authMethod) Deprecated, for removal: This API element is subject to removal in a future version.UsesetAuthenticationMethod(String)
instead.- Parameters:
authMethod
- Authentication Method
-
getAuthenticationMethod
- Specified by:
getAuthenticationMethod
in interfaceSecureEndpointConfiguration
- Returns:
- An optional Authentication Method.
-
setAuthenticationMethod
- Parameters:
authenticationMethod
- Authentication Method
-
getAuthenticationMethod()
instead.