> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuthProxyOptions

Defined in: [server/auth/oauth/proxy.ts:4](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/auth/oauth/proxy.ts#L4)

## Properties

### endpoints

```ts theme={null}
endpoints: {
  authorizationUrl: string;
  revocationUrl?: string;
  tokenUrl: string;
};
```

Defined in: [server/auth/oauth/proxy.ts:11](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/auth/oauth/proxy.ts#L11)

Upstream OAuth server endpoint URLs.

#### authorizationUrl

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

#### revocationUrl?

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

#### tokenUrl

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

***

### upstreamCredentials

```ts theme={null}
upstreamCredentials: {
  clientId: string;
  clientSecret?: string;
};
```

Defined in: [server/auth/oauth/proxy.ts:6](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/auth/oauth/proxy.ts#L6)

Pre-registered credentials this proxy uses when talking to the upstream server.

#### clientId

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

#### clientSecret?

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

***

### verifyAccessToken

```ts theme={null}
verifyAccessToken: (token) => Promise<AuthInfo>;
```

Defined in: [server/auth/oauth/proxy.ts:20](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/auth/oauth/proxy.ts#L20)

Verifies an access token issued by the upstream and returns information about it.
Called for every MCP request to validate the bearer token.

#### Parameters

##### token

`string`

#### Returns

`Promise`\<`AuthInfo`>
