AuthenticationProvider

@Singleton
class AuthenticationProvider<B>(authService: AuthService) : HttpRequestAuthenticationProvider<B>

The authentication provider for the users service. It provides the authentication logic for the users service. It responds to /auth/login requests.

Parameters

authService

The authentication service.

Constructors

Link copied to clipboard
constructor(authService: AuthService)

Functions

Link copied to clipboard
@NonNull
@Executable
open fun authenticate(@NonNull authRequest: @NonNull AuthenticationRequest<String, String>): @NonNull AuthenticationResponse
open override fun authenticate(requestContext: HttpRequest<B>?, authRequest: AuthenticationRequest<String, String>): AuthenticationResponse
Link copied to clipboard
open fun getOrder(): Int