Skip to content

Commit

Permalink
feat: option to add headers to http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Apr 27, 2022
1 parent c9c2d87 commit 94a2ecb
Show file tree
Hide file tree
Showing 22 changed files with 568 additions and 35 deletions.
11 changes: 11 additions & 0 deletions docs/interfaces/DeviceAuthorizationRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Properties

- [clientPrivateKey](DeviceAuthorizationRequestOptions.md#clientprivatekey)
- [headers](DeviceAuthorizationRequestOptions.md#headers)
- [signal](DeviceAuthorizationRequestOptions.md#signal)

## Properties
Expand All @@ -18,6 +19,16 @@ Private key to use for `private_key_jwt`

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/DiscoveryRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Properties

- [algorithm](DiscoveryRequestOptions.md#algorithm)
- [headers](DiscoveryRequestOptions.md#headers)
- [signal](DiscoveryRequestOptions.md#signal)

## Properties
Expand All @@ -17,6 +18,16 @@ The issuer transformation algorithm to use.

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/HttpRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@

### Properties

- [headers](HttpRequestOptions.md#headers)
- [signal](HttpRequestOptions.md#signal)

## Properties

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/IntrospectionRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- [additionalParameters](IntrospectionRequestOptions.md#additionalparameters)
- [clientPrivateKey](IntrospectionRequestOptions.md#clientprivatekey)
- [headers](IntrospectionRequestOptions.md#headers)
- [requestJwtResponse](IntrospectionRequestOptions.md#requestjwtresponse)
- [signal](IntrospectionRequestOptions.md#signal)

Expand All @@ -29,6 +30,16 @@ Private key to use for `private_key_jwt`

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### requestJwtResponse

`Optional` **requestJwtResponse**: `boolean`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/JwksRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@

### Properties

- [headers](JwksRequestOptions.md#headers)
- [signal](JwksRequestOptions.md#signal)

## Properties

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/PushedAuthorizationRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- [DPoP](PushedAuthorizationRequestOptions.md#dpop)
- [clientPrivateKey](PushedAuthorizationRequestOptions.md#clientprivatekey)
- [headers](PushedAuthorizationRequestOptions.md#headers)
- [signal](PushedAuthorizationRequestOptions.md#signal)

## Properties
Expand All @@ -27,6 +28,16 @@ Private key to use for `private_key_jwt`

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/RevocationRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- [additionalParameters](RevocationRequestOptions.md#additionalparameters)
- [clientPrivateKey](RevocationRequestOptions.md#clientprivatekey)
- [headers](RevocationRequestOptions.md#headers)
- [signal](RevocationRequestOptions.md#signal)

## Properties
Expand All @@ -28,6 +29,16 @@ Private key to use for `private_key_jwt`

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/TokenEndpointRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [DPoP](TokenEndpointRequestOptions.md#dpop)
- [additionalParameters](TokenEndpointRequestOptions.md#additionalparameters)
- [clientPrivateKey](TokenEndpointRequestOptions.md#clientprivatekey)
- [headers](TokenEndpointRequestOptions.md#headers)
- [signal](TokenEndpointRequestOptions.md#signal)

## Properties
Expand Down Expand Up @@ -37,6 +38,16 @@ Private key to use for `private_key_jwt`

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
11 changes: 11 additions & 0 deletions docs/interfaces/UserInfoRequestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Properties

- [DPoP](UserInfoRequestOptions.md#dpop)
- [headers](UserInfoRequestOptions.md#headers)
- [signal](UserInfoRequestOptions.md#signal)

## Properties
Expand All @@ -17,6 +18,16 @@ DPoP-related options.

___

### headers

`Optional` **headers**: `Headers`

A [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
instance to additionally send with the HTTP Request(s) triggered by this
functions invocation.

___

### signal

`Optional` **signal**: `AbortSignal`
Expand Down
Loading

0 comments on commit 94a2ecb

Please sign in to comment.