# IOAuth2Token interface

Namespace: [Rhino.Runtime.RhinoAccounts](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.rhinoaccounts.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public interface IOAuth2Token
```

Represents an OAuth2 Token that can be used for authorization purposes.

## Properties

- [Exp](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.rhinoaccounts.ioauth2token/exp.md): The expiration of the token. Expired tokens will be considered invalid by the Rhino Accounts server.
- [IsExpired](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.rhinoaccounts.ioauth2token/isexpired.md): true if the token is expired; false otherwise.
- [RawToken](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.rhinoaccounts.ioauth2token/rawtoken.md): The raw token that can be passed to various servers for authorization.
- [Scope](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.rhinoaccounts.ioauth2token/scope.md): The scope of the token.
