NookPost-Backend
Loading...
Searching...
No Matches
NookpostBackend.ApiEndpoints.Authentication.Login Class Reference

Handles the authentication login endpoint. More...

Collaboration diagram for NookpostBackend.ApiEndpoints.Authentication.Login:

Static Public Member Functions

static Microsoft.AspNetCore.Http.HttpResults.Results< Ok< NookpostBackend.ApiSchemas.Authentication.Login.AuthenticationLoginResponseBody >, NotFound, BadRequest > PostLogin (ApiSchemas.Authentication.Login.AuthenticationLoginRequestBody requestBody, NookpostBackend.Authentication.TokenService tokenService, Data.DatabaseHandle databaseHandle)
 Authenticates the user and returns an access token.
 

Detailed Description

Handles the authentication login endpoint.

Member Function Documentation

◆ PostLogin()

static Microsoft.AspNetCore.Http.HttpResults.Results< Ok< NookpostBackend.ApiSchemas.Authentication.Login.AuthenticationLoginResponseBody >, NotFound, BadRequest > NookpostBackend.ApiEndpoints.Authentication.Login.PostLogin ( ApiSchemas.Authentication.Login.AuthenticationLoginRequestBody requestBody,
NookpostBackend.Authentication.TokenService tokenService,
Data.DatabaseHandle databaseHandle )
inlinestatic

Authenticates the user and returns an access token.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: