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 List<AuthenticationMethod> supportedAuthenticationMethods) Deprecated.DefaultSecureEndpoint(@NonNull String url, @Nullable Set<String> supportedAuthenticationMethods)  - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.UsegetAuthenticationMethodsSupported()instead.@NonNull StringgetUrl() 
- 
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
 - 
DefaultSecureEndpoint
@Deprecated public DefaultSecureEndpoint(@NonNull @NonNull String url, @Nullable @Nullable List<AuthenticationMethod> supportedAuthenticationMethods) Deprecated.UseDefaultSecureEndpoint(String, Set)instead.- 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
 
 - 
getSupportedAuthenticationMethods
@Deprecated(forRemoval=true) public Optional<List<AuthenticationMethod>> getSupportedAuthenticationMethods()Deprecated, for removal: This API element is subject to removal in a future version.UsegetAuthenticationMethodsSupported()instead.- Specified by:
 getSupportedAuthenticationMethodsin interfaceSecureEndpoint- Returns:
 - return the supported authentication methods
 
 
 - 
 
DefaultSecureEndpoint(String, Set)instead.