.Authenticate()
Authenticates the current connection with a JWT token.
Arguments
| Arguments | Description |
|---|---|
jwt
| The JWT object holder of the authentication token. |
cancellationToken
| The cancellationToken enables graceful cancellation of asynchronous operations. |
Example usage
You can invalidate the authentication for the current connection using the Invalidate() method.