Class DefaultSecureEndpoint
java.lang.Object
io.micronaut.security.oauth2.endpoint.DefaultSecureEndpoint
- All Implemented Interfaces:
Endpoint,SecureEndpoint
The default implementation of
SecureEndpoint.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSecureEndpoint(@NonNull SecureEndpointConfiguration secureEndpointConfiguration, @NonNull String defaultAuthMethod) DefaultSecureEndpoint(@NonNull String url, @Nullable Set<String> supportedAuthenticationMethods) -
Method Summary
-
Constructor Details
-
DefaultSecureEndpoint
public DefaultSecureEndpoint(@NonNull @NonNull SecureEndpointConfiguration secureEndpointConfiguration, @NonNull @NonNull String defaultAuthMethod) - Parameters:
secureEndpointConfiguration- Secure endpoint configurationdefaultAuthMethod- The default authentication method ifSecureEndpointConfiguration.getAuthenticationMethod()is null
-
DefaultSecureEndpoint
public DefaultSecureEndpoint(@NonNull @NonNull String url, @Nullable @Nullable Set<String> supportedAuthenticationMethods) - Parameters:
url- The endpoint URLsupportedAuthenticationMethods- The endpoint authentication methods
-
-
Method Details
-
getUrl
-
getAuthenticationMethodsSupported
- Specified by:
getAuthenticationMethodsSupportedin interfaceSecureEndpoint- Returns:
- An optional list of supported authentication methods
-