# OAuth2Grant

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts#L520)

What the playground keeps after a successful authorization. Never a refresh token.

## Properties

| Property | Type |
|---|---|
| `schemeId` | `string` |
| `accessToken` | `string` |
| `tokenType` | `string` |
| `expiresAt` | `number` |
| `scopes` | `string[]` |
| `obtainedAt` | `number` |
