Class DefaultSecureEndpoint
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.DefaultSecureEndpoint
-
- All Implemented Interfaces:
Endpoint,SecureEndpoint
public class DefaultSecureEndpoint extends java.lang.Object implements SecureEndpoint
The default implementation ofSecureEndpoint.- Since:
- 1.2.0
- Author:
- James Kleeh
-
-
Constructor Summary
Constructors Constructor Description DefaultSecureEndpoint(java.lang.String url, java.util.List<AuthenticationMethod> supportedAuthenticationMethods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.List<AuthenticationMethod>>getSupportedAuthenticationMethods()java.lang.StringgetUrl()
-
-
-
Constructor Detail
-
DefaultSecureEndpoint
public DefaultSecureEndpoint(@Nonnull java.lang.String url, @Nullable java.util.List<AuthenticationMethod> supportedAuthenticationMethods)- Parameters:
url- The endpoint URLsupportedAuthenticationMethods- The endpoint authentication methods
-
-
Method Detail
-
getUrl
@Nonnull public java.lang.String getUrl()
-
getSupportedAuthenticationMethods
public java.util.Optional<java.util.List<AuthenticationMethod>> getSupportedAuthenticationMethods()
- Specified by:
getSupportedAuthenticationMethodsin interfaceSecureEndpoint- Returns:
- An optional list of supported authentication methods
-
-