-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
319 changed files
with
11,957 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.vitepress/cache | ||
.vitepress/dist | ||
.vitepress/.temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...-docs/api/authorization/authorization-provider/classes/AuthorizationProvider.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# `abstract` AuthorizationProvider\<T\> | ||
|
||
## Extended by | ||
|
||
- [`default`](../../providers/api-key/classes/default.md) | ||
- [`default`](../../providers/basic/classes/default.md) | ||
- [`default`](../../providers/bearer/classes/default.md) | ||
- [`default`](../../providers/oauth2/classes/default.md) | ||
|
||
## Type parameters | ||
|
||
• **T** = `unknown` | ||
|
||
## Constructors | ||
|
||
### new AuthorizationProvider() | ||
|
||
> **new AuthorizationProvider**\<`T`\>(`hydrator`: (`data`: `string`) => `string`): [`AuthorizationProvider`](AuthorizationProvider.md)\<`T`\> | ||
#### Parameters | ||
|
||
• **hydrator** | ||
|
||
#### Returns | ||
|
||
[`AuthorizationProvider`](AuthorizationProvider.md)\<`T`\> | ||
|
||
## Methods | ||
|
||
### execute() | ||
|
||
> `abstract` **execute**(`options`: [`AuthorizationProviderExecuteOptions`](../interfaces/AuthorizationProviderExecuteOptions.md)\<`T`\>): `Promise`\<[`AuthorizationResult`](../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
#### Parameters | ||
|
||
• **options**: [`AuthorizationProviderExecuteOptions`](../interfaces/AuthorizationProviderExecuteOptions.md)\<`T`\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<[`AuthorizationResult`](../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
|
||
*** | ||
|
||
### hydrate() | ||
|
||
> **hydrate**(`data`: `string`): `string` | ||
#### Parameters | ||
|
||
• **data**: `string` | ||
|
||
#### Returns | ||
|
||
`string` |
8 changes: 8 additions & 0 deletions
8
packages/altair-docs/api/authorization/authorization-provider/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# authorization/authorization-provider | ||
|
||
## Index | ||
|
||
| Member | Description | | ||
| :------ | :------ | | ||
| [AuthorizationProvider](classes/AuthorizationProvider.md) | - | | ||
| [AuthorizationProviderExecuteOptions](interfaces/AuthorizationProviderExecuteOptions.md) | - | |
11 changes: 11 additions & 0 deletions
11
...zation/authorization-provider/interfaces/AuthorizationProviderExecuteOptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# AuthorizationProviderExecuteOptions\<T\> | ||
|
||
## Type parameters | ||
|
||
• **T** = `unknown` | ||
|
||
## Properties | ||
|
||
### data | ||
|
||
> **data**: `T` |
59 changes: 59 additions & 0 deletions
59
packages/altair-docs/api/authorization/providers/api-key/classes/default.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# default | ||
|
||
## Extends | ||
|
||
- [`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md)\<[`ApiKeyAuthorizationProviderData`](../interfaces/ApiKeyAuthorizationProviderData.md)\> | ||
|
||
## Constructors | ||
|
||
### new default() | ||
|
||
> **new default**(`hydrator`: (`data`: `string`) => `string`): [`default`](default.md) | ||
#### Parameters | ||
|
||
• **hydrator** | ||
|
||
#### Returns | ||
|
||
[`default`](default.md) | ||
|
||
#### Inherited from | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`constructor`](../../../authorization-provider/classes/AuthorizationProvider.md#constructors) | ||
|
||
## Methods | ||
|
||
### execute() | ||
|
||
> **execute**(`options`: [`AuthorizationProviderExecuteOptions`](../../../authorization-provider/interfaces/AuthorizationProviderExecuteOptions.md)\<[`ApiKeyAuthorizationProviderData`](../interfaces/ApiKeyAuthorizationProviderData.md)\>): `Promise`\<[`AuthorizationResult`](../../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
#### Parameters | ||
|
||
• **options**: [`AuthorizationProviderExecuteOptions`](../../../authorization-provider/interfaces/AuthorizationProviderExecuteOptions.md)\<[`ApiKeyAuthorizationProviderData`](../interfaces/ApiKeyAuthorizationProviderData.md)\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<[`AuthorizationResult`](../../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
|
||
#### Overrides | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`execute`](../../../authorization-provider/classes/AuthorizationProvider.md#execute) | ||
|
||
*** | ||
|
||
### hydrate() | ||
|
||
> **hydrate**(`data`: `string`): `string` | ||
#### Parameters | ||
|
||
• **data**: `string` | ||
|
||
#### Returns | ||
|
||
`string` | ||
|
||
#### Inherited from | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`hydrate`](../../../authorization-provider/classes/AuthorizationProvider.md#hydrate) |
8 changes: 8 additions & 0 deletions
8
packages/altair-docs/api/authorization/providers/api-key/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# authorization/providers/api-key | ||
|
||
## Index | ||
|
||
| Member | Description | | ||
| :------ | :------ | | ||
| [default](classes/default.md) | - | | ||
| [ApiKeyAuthorizationProviderData](interfaces/ApiKeyAuthorizationProviderData.md) | - | |
13 changes: 13 additions & 0 deletions
13
...i/authorization/providers/api-key/interfaces/ApiKeyAuthorizationProviderData.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ApiKeyAuthorizationProviderData | ||
|
||
## Properties | ||
|
||
### key | ||
|
||
> **key**: `string` | ||
*** | ||
|
||
### value | ||
|
||
> **value**: `string` |
59 changes: 59 additions & 0 deletions
59
packages/altair-docs/api/authorization/providers/basic/classes/default.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# default | ||
|
||
## Extends | ||
|
||
- [`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md)\<[`BasicAuthorizationProviderData`](../interfaces/BasicAuthorizationProviderData.md)\> | ||
|
||
## Constructors | ||
|
||
### new default() | ||
|
||
> **new default**(`hydrator`: (`data`: `string`) => `string`): [`default`](default.md) | ||
#### Parameters | ||
|
||
• **hydrator** | ||
|
||
#### Returns | ||
|
||
[`default`](default.md) | ||
|
||
#### Inherited from | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`constructor`](../../../authorization-provider/classes/AuthorizationProvider.md#constructors) | ||
|
||
## Methods | ||
|
||
### execute() | ||
|
||
> **execute**(`options`: [`AuthorizationProviderExecuteOptions`](../../../authorization-provider/interfaces/AuthorizationProviderExecuteOptions.md)\<[`BasicAuthorizationProviderData`](../interfaces/BasicAuthorizationProviderData.md)\>): `Promise`\<[`AuthorizationResult`](../../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
#### Parameters | ||
|
||
• **options**: [`AuthorizationProviderExecuteOptions`](../../../authorization-provider/interfaces/AuthorizationProviderExecuteOptions.md)\<[`BasicAuthorizationProviderData`](../interfaces/BasicAuthorizationProviderData.md)\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<[`AuthorizationResult`](../../../../types/state/authorization.interface/interfaces/AuthorizationResult.md)\> | ||
|
||
#### Overrides | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`execute`](../../../authorization-provider/classes/AuthorizationProvider.md#execute) | ||
|
||
*** | ||
|
||
### hydrate() | ||
|
||
> **hydrate**(`data`: `string`): `string` | ||
#### Parameters | ||
|
||
• **data**: `string` | ||
|
||
#### Returns | ||
|
||
`string` | ||
|
||
#### Inherited from | ||
|
||
[`AuthorizationProvider`](../../../authorization-provider/classes/AuthorizationProvider.md).[`hydrate`](../../../authorization-provider/classes/AuthorizationProvider.md#hydrate) |
8 changes: 8 additions & 0 deletions
8
packages/altair-docs/api/authorization/providers/basic/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# authorization/providers/basic | ||
|
||
## Index | ||
|
||
| Member | Description | | ||
| :------ | :------ | | ||
| [default](classes/default.md) | - | | ||
| [BasicAuthorizationProviderData](interfaces/BasicAuthorizationProviderData.md) | - | |
13 changes: 13 additions & 0 deletions
13
.../api/authorization/providers/basic/interfaces/BasicAuthorizationProviderData.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# BasicAuthorizationProviderData | ||
|
||
## Properties | ||
|
||
### password | ||
|
||
> **password**: `string` | ||
*** | ||
|
||
### username | ||
|
||
> **username**: `string` |
Oops, something went wrong.