Click or drag to resize

AuthApiClientGetJwtTokenAsync Method (String, String)

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(
	string username,
	string password
)

Parameters

username
Type: SystemString
The username of the user for whom to generate a JWT token.
password
Type: SystemString
The user's password.

Return Value

Type: TaskJwtTokenResponse
Object containing the encoded JWT token value.

Implements

IAuthApiClientGetJwtTokenAsync(String, String)
See Also