The IotDash.Controllers.V1.IdentityController provides route endpoints for user account management.
◆ GetUser()
Task< IActionResult > IotDash.Controllers.V1.IdentityController.GetUser |
( |
| ) |
|
|
inline |
Get information about the authorization token bearer.
- Returns
◆ Login()
async Task< IActionResult > IotDash.Controllers.V1.IdentityController.Login |
( |
[FromBody] UserLoginRequest |
request | ) |
|
|
inline |
Get a new authorization token for the user.
- Parameters
-
request | Credentials of the user to log-in. |
- Returns
- New token pair wrapped in AuthResponse.
◆ Refresh()
async Task< IActionResult > IotDash.Controllers.V1.IdentityController.Refresh |
( |
[FromBody] RefreshTokenRequest |
request | ) |
|
|
inline |
Provide a new token pair in exchange for a valid refresh token and an expired JWT token.
- Parameters
-
request | Token pair consisting of a valid refresh token and an expired JWT token. |
- Returns
- New token pair wrapped in AuthResponse.
◆ Register()
async Task< IActionResult > IotDash.Controllers.V1.IdentityController.Register |
( |
[FromBody] UserRegistrationRequest |
request | ) |
|
|
inline |
Register a new user with the given credentials.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- Controllers/V1/IdentityController.cs