> ## Documentation Index
> Fetch the complete documentation index at: https://colin-feat-client-cache-mode.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuthToken

```ts theme={null}
type OAuthToken = {
  access_token: string;
  expires_at?: number;
  expires_in?: number;
  refresh_token?: string;
  scope?: string;
  token_type?: string;
};
```

Defined in: [client/auth.ts:21](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L21)

## Properties

### access\_token

```ts theme={null}
access_token: string;
```

Defined in: [client/auth.ts:22](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L22)

***

### expires\_at?

```ts theme={null}
optional expires_at?: number;
```

Defined in: [client/auth.ts:26](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L26)

Unix timestamp in milliseconds (normalized internally).

***

### expires\_in?

```ts theme={null}
optional expires_in?: number;
```

Defined in: [client/auth.ts:28](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L28)

Seconds until expiry — used to compute expires\_at on receipt.

***

### refresh\_token?

```ts theme={null}
optional refresh_token?: string;
```

Defined in: [client/auth.ts:24](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L24)

***

### scope?

```ts theme={null}
optional scope?: string;
```

Defined in: [client/auth.ts:29](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L29)

***

### token\_type?

```ts theme={null}
optional token_type?: string;
```

Defined in: [client/auth.ts:23](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/client/auth.ts#L23)
