@gtsc/api-auth-entity-storage-service
Advanced tools
Comparing version 0.0.3-next.67 to 0.0.5-next.1
@@ -10,3 +10,2 @@ import type { IVaultConnector } from "@gtsc/vault-models"; | ||
* @param systemIdentity The system identity. | ||
* @param systemPartitionId The system partition id. | ||
* @param vaultConnector The vault connector. | ||
@@ -18,3 +17,3 @@ * @param signingKeyName The signing key name. | ||
*/ | ||
static createToken(systemIdentity: string | undefined, systemPartitionId: string | undefined, vaultConnector: IVaultConnector, signingKeyName: string, subject: string, ttlMinutes: number): Promise<{ | ||
static createToken(systemIdentity: string | undefined, vaultConnector: IVaultConnector, signingKeyName: string, subject: string, ttlMinutes: number): Promise<{ | ||
token: string; | ||
@@ -26,3 +25,2 @@ expiry: number; | ||
* @param systemIdentity The system identity. | ||
* @param systemPartitionId The system partition id. | ||
* @param vaultConnector The vault connector. | ||
@@ -34,3 +32,3 @@ * @param signingKeyName The signing key name. | ||
*/ | ||
static verify(systemIdentity: string | undefined, systemPartitionId: string | undefined, vaultConnector: IVaultConnector, signingKeyName: string, token: string | undefined): Promise<{ | ||
static verify(systemIdentity: string | undefined, vaultConnector: IVaultConnector, signingKeyName: string, token: string | undefined): Promise<{ | ||
header: IJwtHeader; | ||
@@ -37,0 +35,0 @@ payload: IJwtPayload; |
@@ -19,3 +19,3 @@ # Class: TokenHelper | ||
> `static` **createToken**(`systemIdentity`, `systemPartitionId`, `vaultConnector`, `signingKeyName`, `subject`, `ttlMinutes`): `Promise`\<`object`\> | ||
> `static` **createToken**(`systemIdentity`, `vaultConnector`, `signingKeyName`, `subject`, `ttlMinutes`): `Promise`\<`object`\> | ||
@@ -30,6 +30,2 @@ Create a new token. | ||
• **systemPartitionId**: `undefined` \| `string` | ||
The system partition id. | ||
• **vaultConnector**: `IVaultConnector` | ||
@@ -69,3 +65,3 @@ | ||
> `static` **verify**(`systemIdentity`, `systemPartitionId`, `vaultConnector`, `signingKeyName`, `token`): `Promise`\<`object`\> | ||
> `static` **verify**(`systemIdentity`, `vaultConnector`, `signingKeyName`, `token`): `Promise`\<`object`\> | ||
@@ -80,6 +76,2 @@ Verify the token. | ||
• **systemPartitionId**: `undefined` \| `string` | ||
The system partition id. | ||
• **vaultConnector**: `IVaultConnector` | ||
@@ -86,0 +78,0 @@ |
{ | ||
"name": "@gtsc/api-auth-entity-storage-service", | ||
"version": "0.0.3-next.67", | ||
"version": "0.0.5-next.1", | ||
"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.67", | ||
"@gtsc/api-core": "0.0.3-next.67", | ||
"@gtsc/api-models": "0.0.3-next.67", | ||
"@gtsc/api-auth-entity-storage-models": "0.0.5-next.1", | ||
"@gtsc/api-core": "0.0.5-next.1", | ||
"@gtsc/api-models": "0.0.5-next.1", | ||
"@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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87078
1518
+ Added@gtsc/api-auth-entity-storage-models@0.0.5-next.1(transitive)
+ Added@gtsc/api-core@0.0.5-next.1(transitive)
+ Added@gtsc/api-models@0.0.5-next.1(transitive)
- Removed@gtsc/api-auth-entity-storage-models@0.0.3-next.67(transitive)
- Removed@gtsc/api-core@0.0.3-next.67(transitive)
- Removed@gtsc/api-models@0.0.3-next.67(transitive)
Updated@gtsc/api-core@0.0.5-next.1