AuthTokenManagerGetToken Method
Returns a token if one is required.
If the token is being updated, the call is blocked waiting for the token to be reauthorized.
If the token is current, it is returned.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
public Task<AccessToken> GetToken(
CancellationToken cancellationToken
)
- cancellationToken CancellationToken
TaskAccessTokenreturns current token or null indicating a token is not required