---
url: /api/specs/openspec/types/openspec3/interface-os-3-flow-authorization-code.md
description: api documentation of OS3FlowAuthorizationCode from @tsed/openspec
---

## Usage

```typescript
import { OS3FlowAuthorizationCode } from "@tsed/openspec";
```

> See [/packages/specs/openspec/src/openspec3/OS3Flows.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/specs/openspec/src/openspec3/OS3Flows.ts#L0-L0).

## Overview

```ts
interface OS3FlowAuthorizationCode extends OS3Flow {
    authorizationUrl: string;
    tokenUrl: string;
}
```

## authorizationUrl

```ts
authorizationUrl: string;
```

The authorization URL to be used for this flow. This MUST be in the form of a URL.

## tokenUrl

```ts
tokenUrl: string;
```

The token URL to be used for this flow. This MUST be in the form of a URL.
