# nullable-authorization

From **GitHub v3 REST API**.

The authorization for an OAuth app, GitHub App, or a Personal Access Token.

- Type: `object`
- Nullable: true

## Properties

### `app`

- Required: true
- Type: `object`

### `created_at`

- Required: true
- Type: `string`
- Format: `date-time`

### `fingerprint`

- Required: true
- Type: `string`
- Nullable: true

### `hashed_token`

- Required: true
- Type: `string`
- Nullable: true

### `id`

- Required: true
- Type: `integer`

### `installation`

- Required: false
- Type: `object`
- Nullable: true

### `note`

- Required: true
- Type: `string`
- Nullable: true

### `note_url`

- Required: true
- Type: `string`
- Format: `uri`
- Nullable: true

### `scopes`

- Required: true
- Type: `array`
- Nullable: true

A list of scopes that this authorization is in.

### `token`

- Required: true
- Type: `string`

### `token_last_eight`

- Required: true
- Type: `string`
- Nullable: true

### `updated_at`

- Required: true
- Type: `string`
- Format: `date-time`

### `url`

- Required: true
- Type: `string`
- Format: `uri`

### `user`

- Required: false
- Type: `object`
- Nullable: true

Simple User

## JSON Schema

```json
{"description":"The authorization for an OAuth app, GitHub App, or a Personal Access Token.","nullable":true,"properties":{"app":{"properties":{"client_id":{"type":"string"},"name":{"type":"string"},"url":{"format":"uri","type":"string"}},"required":["client_id","name","url"],"type":"object"},"created_at":{"format":"date-time","type":"string"},"fingerprint":{"nullable":true,"type":"string"},"hashed_token":{"nullable":true,"type":"string"},"id":{"type":"integer"},"installation":{"$ref":"#/components/schemas/nullable-scoped-installation"},"note":{"nullable":true,"type":"string"},"note_url":{"format":"uri","nullable":true,"type":"string"},"scopes":{"description":"A list of scopes that this authorization is in.","items":{"type":"string"},"nullable":true,"type":"array"},"token":{"type":"string"},"token_last_eight":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"url":{"format":"uri","type":"string"},"user":{"$ref":"#/components/schemas/nullable-simple-user"}},"required":["app","id","note","note_url","scopes","token","hashed_token","token_last_eight","fingerprint","url","created_at","updated_at","expires_at"],"title":"Authorization","type":"object"}
```
