IAuthApiClientGetJwtTokenAsync Method (JwtTokenRequestBody) |
Gets a JSON Web Token generated by the ArangoDB server.
Namespace:
ArangoDBNetStandard.AuthApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<JwtTokenResponse> GetJwtTokenAsync(
JwtTokenRequestBody body
)
Function GetJwtTokenAsync (
body As JwtTokenRequestBody
) As Task(Of JwtTokenResponse)
Task<JwtTokenResponse^>^ GetJwtTokenAsync(
JwtTokenRequestBody^ body
)
abstract GetJwtTokenAsync :
body : JwtTokenRequestBody -> Task<JwtTokenResponse>
Parameters
- body
- Type: ArangoDBNetStandard.AuthApi.ModelsJwtTokenRequestBody
Object containing username and password.
Return Value
Type:
TaskJwtTokenResponseObject containing the encoded JWT token value.
See Also