---
meta:
 - name: keywords
   description: api typescript node.js documentation OS3SecurityHTTP interface
---
# OS3SecurityHTTP - @tsed/openspec

## Usage

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

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

## Overview

```ts
interface OS3SecurityHTTP extends OS3SecurityBase {
    type: "http";
    scheme: string;
    bearerFormat?: string;
}
```

<!-- Members -->

## type

```ts
type: "http";
```

The type of the security scheme

## scheme

```ts
scheme: string;
```

The name of the HTTP Authorization scheme to be used in the [Authorization header as defined in RFC7235](https://tools.ietf.org/html/rfc7235#section-5.1).

## bearerFormat

```ts
bearerFormat?: string;
```

A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
