AuthApiClientGetJwtTokenAsync 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 public virtual Task<JwtTokenResponse> GetJwtTokenAsync(
JwtTokenRequestBody body
)
Public Overridable Function GetJwtTokenAsync (
body As JwtTokenRequestBody
) As Task(Of JwtTokenResponse)
public:
virtual Task<JwtTokenResponse^>^ GetJwtTokenAsync(
JwtTokenRequestBody^ body
)
abstract GetJwtTokenAsync :
body : JwtTokenRequestBody -> Task<JwtTokenResponse>
override 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.
Implements
IAuthApiClientGetJwtTokenAsync(JwtTokenRequestBody)See Also