Class SecureEndpointConfigurationBuilder
java.lang.Object
io.micronaut.security.oauth2.configuration.endpoints.SecureEndpointConfigurationBuilder
Builder for programmatic
SecureEndpointConfiguration instances.- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull SecureEndpointConfigurationBuilderauthenticationMethod(@Nullable String authenticationMethod) Sets the endpoint authentication method.@NonNull SecureEndpointConfigurationbuild()Builds the secure endpoint configuration.@NonNull SecureEndpointConfigurationBuilderSets the endpoint URL.
-
Constructor Details
-
SecureEndpointConfigurationBuilder
public SecureEndpointConfigurationBuilder()
-
-
Method Details
-
url
Sets the endpoint URL.- Parameters:
url- The endpoint URL.- Returns:
- This builder.
-
authenticationMethod
public @NonNull SecureEndpointConfigurationBuilder authenticationMethod(@Nullable String authenticationMethod) Sets the endpoint authentication method.- Parameters:
authenticationMethod- The endpoint authentication method.- Returns:
- This builder.
-
build
Builds the secure endpoint configuration.- Returns:
- The secure endpoint configuration.
-