IOAuth2Token

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

Properties

Exp

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

IsExpired

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

RawToken

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

Scope

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