RhinoAccountsManagerUpdateOpenIDConnectTokenAsync Method |
Namespace: Rhino.Runtime.RhinoAccounts
public static Task<IOpenIDConnectToken> UpdateOpenIDConnectTokenAsync( IOpenIDConnectToken currentToken, IOAuth2Token oauth2Token, SecretKey secretKey, CancellationToken cancellationToken )
Exception | Condition |
---|---|
InvalidOperationException | An invalid secretKey was passed, or the assembly is not allowed to call methods from IRhinoAccountsManager |
RhinoAccountsException | An error occurred during the authentication process. You may look at the specific subclass of the exception gain more insight as to why the operation failed. |
OperationCanceledException | The operation was cancelled, either by internal decisions or because the cancellationToken was cancelled. |