IOAuth2Token

References
public interface IOAuth2Token
Represents an OAuth2 Token that can be used for authorization purposes.

Properties

Exp

#Since v7.0
The expiration of the token. Expired tokens will be considered invalid by the Rhino Accounts server.
DateTime? Exp { get; }
Remarks: An OAuth2 Token can be invalidated at any time even if it has not expired.

IsExpired

#Since v7.0
true if the token is expired; false otherwise.
bool IsExpired { get; }

RawToken

#Since v7.0
The raw token that can be passed to various servers for authorization.
string RawToken { get; }

Scope

#Since v7.0
The scope of the token.
IReadOnlyCollection<string> Scope { get; }