Instance Method
authenticate(request:)
func authenticate(request: Request) async throws
Default Implementations
RequestAuthenticator Implementations
func authenticate(request: Request) async throwsLooks up the session ID on the request and, if there is one, authenticates the model it identifies.func authenticate(request: Request) async throwsDefault implementation ofauthenticate(request:)that checks for a credentials type in the request body and callsauthenticate(credentials:for:)if it exists.func authenticate(request: Request) async throwsfunc authenticate(request: Request) async throws