RhinoAccountsManager
Performs various Rhino Accounts-related tasks.
Inheritance Hierarchy
System.Object
Rhino.Runtime.RhinoAccounts.RhinoAccountsManager
Namespace: Rhino.Runtime.RhinoAccounts
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public static class RhinoAccountsManager
The RhinoAccountsManager type exposes the following members.
Methods
Name
Description
Public Method
Static Member
ExecuteProtectedCode
Any synchronous method in the IRhinoAccountsManager class must be executed within the function passed to this method, or an InvalidOperationException will be thrown.
Public Method
Static Member
ExecuteProtectedCodeAsync
Any asynchronous method in the IRhinoAccountsManager class must be executed within the function passed to this method, or an InvalidOperationException will be thrown.
Public Method
Static Member
GetAuthTokensAsync(String, String, SecretKey, CancellationToken)
Asynchronously retrieves auth tokens with the given criteria from the Rhino Accounts server.
Public Method
Static Member
GetAuthTokensAsync(String, String, IEnumerable.String., String, Nullable.Int32., Boolean, IProgress.RhinoAccoountsProgressInfo., SecretKey, CancellationToken)
Asynchronously retrieves auth tokens with the given criteria from the Rhino Accounts server.
Public Method
Static Member
RevokeAuthTokenAsync
Invalidates/revokes an IOAuth2Token object from the Rhino Accounts server.
Public Method
Static Member
TryGetAuthTokens(String, SecretKey)
Attempts to return cached auth tokens that match the given criteria if any have been stored in cache.
Public Method
Static Member
TryGetAuthTokens(String, IEnumerable.String., SecretKey)
Attempts to return cached auth tokens that match the given criteria if any have been stored in cache.
Public Method
Static Member
UpdateOpenIDConnectTokenAsync
Updates an OpenID Connect token so that it contains the latest user information by contacting the Rhino Account’s server userinfo endpoint using a compatible O