@gtsc/api-auth-entity-storage-service
Advanced tools
Comparing version 0.0.3-next.48 to 0.0.3-next.49
@@ -10,6 +10,2 @@ /** | ||
signingKeyName?: string; | ||
/** | ||
* The identity of the system which owns the signing key. | ||
*/ | ||
systemIdentity: string; | ||
} |
@@ -10,6 +10,2 @@ /** | ||
signingKeyName?: string; | ||
/** | ||
* The identity of the system which owns the signing key. | ||
*/ | ||
systemIdentity: string; | ||
} |
@@ -18,12 +18,13 @@ import { type IHttpResponse, type IHttpRestRouteProcessor, type IHttpServerRequest, type IRestRoute } from "@gtsc/api-models"; | ||
*/ | ||
constructor(options: { | ||
constructor(options?: { | ||
vaultConnectorType?: string; | ||
config: IEntityStorageAuthenticationProcessorConfig; | ||
config?: IEntityStorageAuthenticationProcessorConfig; | ||
}); | ||
/** | ||
* The service needs to be started when the application is initialized. | ||
* @param systemPartitionId The system partition id. | ||
* @param systemRequestContext The system request context. | ||
* @param systemLoggingConnectorType The system logging connector type, defaults to "system-logging". | ||
* @returns Nothing. | ||
*/ | ||
start(systemPartitionId: string): Promise<void>; | ||
start(systemRequestContext: IServiceRequestContext, systemLoggingConnectorType?: string): Promise<void>; | ||
/** | ||
@@ -30,0 +31,0 @@ * Process the REST request for the specified route. |
@@ -17,23 +17,23 @@ import type { IAuthentication } from "@gtsc/api-auth-entity-storage-models"; | ||
* @param options.vaultConnectorType The vault for the private keys, defaults to "vault". | ||
* @param options.loggingConnectorType The type of logging connector to use, defaults to "logging". | ||
* @param options.config The configuration for the authentication. | ||
*/ | ||
constructor(options: { | ||
constructor(options?: { | ||
userEntityStorageType?: string; | ||
vaultConnectorType?: string; | ||
loggingConnectorType?: string; | ||
config: IEntityStorageAuthenticationServiceConfig; | ||
config?: IEntityStorageAuthenticationServiceConfig; | ||
}); | ||
/** | ||
* Bootstrap the service by creating and initializing any resources it needs. | ||
* @param systemPartitionId The system partition id. | ||
* @param systemRequestContext The system request context. | ||
* @param systemLoggingConnectorType The system logging connector type, defaults to "system-logging". | ||
* @returns Nothing. | ||
*/ | ||
bootstrap(systemPartitionId: string): Promise<void>; | ||
bootstrap(systemRequestContext: IServiceRequestContext, systemLoggingConnectorType?: string): Promise<void>; | ||
/** | ||
* The service needs to be started when the application is initialized. | ||
* @param systemPartitionId The system partition id. | ||
* @param systemRequestContext The system request context. | ||
* @param systemLoggingConnectorType The system logging connector type, defaults to "system-logging". | ||
* @returns Nothing. | ||
*/ | ||
start(systemPartitionId: string): Promise<void>; | ||
start(systemRequestContext: IServiceRequestContext, systemLoggingConnectorType?: string): Promise<void>; | ||
/** | ||
@@ -40,0 +40,0 @@ * Perform a login for the user. |
@@ -17,3 +17,3 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs** | ||
> **new EntityStorageAuthenticationProcessor**(`options`): [`EntityStorageAuthenticationProcessor`](EntityStorageAuthenticationProcessor.md) | ||
> **new EntityStorageAuthenticationProcessor**(`options`?): [`EntityStorageAuthenticationProcessor`](EntityStorageAuthenticationProcessor.md) | ||
@@ -24,3 +24,3 @@ Create a new instance of EntityStorageAuthenticationProcessor. | ||
• **options** | ||
• **options?** | ||
@@ -33,3 +33,3 @@ Options for the processor. | ||
• **options.config**: [`IEntityStorageAuthenticationProcessorConfig`](../interfaces/IEntityStorageAuthenticationProcessorConfig.md) | ||
• **options.config?**: [`IEntityStorageAuthenticationProcessorConfig`](../interfaces/IEntityStorageAuthenticationProcessorConfig.md) | ||
@@ -58,3 +58,3 @@ The configuration for the processor. | ||
> **start**(`systemPartitionId`): `Promise`\<`void`\> | ||
> **start**(`systemRequestContext`, `systemLoggingConnectorType`?): `Promise`\<`void`\> | ||
@@ -65,6 +65,10 @@ The service needs to be started when the application is initialized. | ||
• **systemPartitionId**: `string` | ||
• **systemRequestContext**: `IServiceRequestContext` | ||
The system partition id. | ||
The system request context. | ||
• **systemLoggingConnectorType?**: `string` | ||
The system logging connector type, defaults to "system-logging". | ||
#### Returns | ||
@@ -71,0 +75,0 @@ |
@@ -17,3 +17,3 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs** | ||
> **new EntityStorageAuthenticationService**(`options`): [`EntityStorageAuthenticationService`](EntityStorageAuthenticationService.md) | ||
> **new EntityStorageAuthenticationService**(`options`?): [`EntityStorageAuthenticationService`](EntityStorageAuthenticationService.md) | ||
@@ -24,3 +24,3 @@ Create a new instance of EntityStorageAuthentication. | ||
• **options** | ||
• **options?** | ||
@@ -37,8 +37,4 @@ The dependencies for the identity connector. | ||
• **options.loggingConnectorType?**: `string` | ||
• **options.config?**: [`IEntityStorageAuthenticationServiceConfig`](../interfaces/IEntityStorageAuthenticationServiceConfig.md) | ||
The type of logging connector to use, defaults to "logging". | ||
• **options.config**: [`IEntityStorageAuthenticationServiceConfig`](../interfaces/IEntityStorageAuthenticationServiceConfig.md) | ||
The configuration for the authentication. | ||
@@ -66,3 +62,3 @@ | ||
> **bootstrap**(`systemPartitionId`): `Promise`\<`void`\> | ||
> **bootstrap**(`systemRequestContext`, `systemLoggingConnectorType`?): `Promise`\<`void`\> | ||
@@ -73,6 +69,10 @@ Bootstrap the service by creating and initializing any resources it needs. | ||
• **systemPartitionId**: `string` | ||
• **systemRequestContext**: `IServiceRequestContext` | ||
The system partition id. | ||
The system request context. | ||
• **systemLoggingConnectorType?**: `string` | ||
The system logging connector type, defaults to "system-logging". | ||
#### Returns | ||
@@ -92,3 +92,3 @@ | ||
> **start**(`systemPartitionId`): `Promise`\<`void`\> | ||
> **start**(`systemRequestContext`, `systemLoggingConnectorType`?): `Promise`\<`void`\> | ||
@@ -99,6 +99,10 @@ The service needs to be started when the application is initialized. | ||
• **systemPartitionId**: `string` | ||
• **systemRequestContext**: `IServiceRequestContext` | ||
The system partition id. | ||
The system request context. | ||
• **systemLoggingConnectorType?**: `string` | ||
The system logging connector type, defaults to "system-logging". | ||
#### Returns | ||
@@ -105,0 +109,0 @@ |
@@ -22,9 +22,1 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs** | ||
``` | ||
*** | ||
### systemIdentity | ||
> **systemIdentity**: `string` | ||
The identity of the system which owns the signing key. |
@@ -22,9 +22,1 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs** | ||
``` | ||
*** | ||
### systemIdentity | ||
> **systemIdentity**: `string` | ||
The identity of the system which owns the signing key. |
{ | ||
"name": "@gtsc/api-auth-entity-storage-service", | ||
"version": "0.0.3-next.48", | ||
"version": "0.0.3-next.49", | ||
"description": "Auth Entity Storage contract implementation and REST endpoint definitions", | ||
@@ -17,5 +17,5 @@ "repository": { | ||
"dependencies": { | ||
"@gtsc/api-auth-entity-storage-models": "0.0.3-next.48", | ||
"@gtsc/api-core": "0.0.3-next.48", | ||
"@gtsc/api-models": "0.0.3-next.48", | ||
"@gtsc/api-auth-entity-storage-models": "0.0.3-next.49", | ||
"@gtsc/api-core": "0.0.3-next.49", | ||
"@gtsc/api-models": "0.0.3-next.49", | ||
"@gtsc/core": "next", | ||
@@ -22,0 +22,0 @@ "@gtsc/crypto": "next", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63607
1024
+ Added@gtsc/api-auth-entity-storage-models@0.0.3-next.49(transitive)
+ Added@gtsc/api-core@0.0.3-next.49(transitive)
+ Added@gtsc/api-models@0.0.3-next.49(transitive)
- Removed@gtsc/api-auth-entity-storage-models@0.0.3-next.48(transitive)
- Removed@gtsc/api-core@0.0.3-next.48(transitive)
- Removed@gtsc/api-models@0.0.3-next.48(transitive)
Updated@gtsc/api-core@0.0.3-next.49