Interface AuthenticationProvider<T,I,S>

Type Parameters:
T - Request Context Type
I - Authentication Request Identity Type
S - Authentication Request Secret Type
All Superinterfaces:
io.micronaut.core.order.Ordered
All Known Subinterfaces:
ExecutorAuthenticationProvider<T,I,S>, HttpRequestAuthenticationProvider<B>, HttpRequestExecutorAuthenticationProvider<B>
All Known Implementing Classes:
LdapAuthenticationProvider

@Indexed(AuthenticationProvider.class) public interface AuthenticationProvider<T,I,S> extends io.micronaut.core.order.Ordered
Defines an API to authenticate a user with the given request.
Since:
4.5.0
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    authenticate(@Nullable T requestContext, @NonNull AuthenticationRequest<I,S> authRequest)
    Authenticates a user with the given request.
    default @NonNull AuthenticationResponse
    authenticate(@NonNull AuthenticationRequest<I,S> authRequest)
    Authenticates a user with the given request.

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Method Details