|
AuthenticationService v0.3.0+7-g8a7f190
|
A controller that verifies credentials and issues tokens to authenticated users. More...
Public Member Functions | |
| TokenController (Authenticator authenticator, AuthenticationConfiguration config, IdEncoding idEncoding, Logger logger) | |
| Creates a new instance. More... | |
| ActionResult | Token ([OpenApiIgnore][FromHeader] BasicAuthorizationHeader authorization) |
| The endpoint that checks credentials provided by the Authorization header and issues tokens. More... | |
A controller that verifies credentials and issues tokens to authenticated users.
| Joutsen.AuthenticationService.v2.TokenController.TokenController | ( | Authenticator | authenticator, |
| AuthenticationConfiguration | config, | ||
| IdEncoding | idEncoding, | ||
| Logger | logger | ||
| ) |
Creates a new instance.
| authenticator | the instance that can authenticate a user by its name and password |
| config | the external configuration of the service |
| ActionResult Joutsen.AuthenticationService.v2.TokenController.Token | ( | [FromHeader] BasicAuthorizationHeader | authorization | ) |
The endpoint that checks credentials provided by the Authorization header and issues tokens.