@gtsc/api-auth-entity-storage-service
Advanced tools
Comparing version 0.0.3-next.56 to 0.0.3-next.57
@@ -5,2 +5,9 @@ /** | ||
export declare class PasswordHelper { | ||
/** | ||
* Hash the password for the user. | ||
* @param passwordBytes The password bytes. | ||
* @param saltBytes The salt bytes. | ||
* @returns The hashed password. | ||
*/ | ||
static hashPassword(passwordBytes: Uint8Array, saltBytes: Uint8Array): Promise<string>; | ||
} |
@@ -18,1 +18,25 @@ [**@gtsc/api-auth-entity-storage-service**](../overview.md) • **Docs** | ||
[`PasswordHelper`](PasswordHelper.md) | ||
## Methods | ||
### hashPassword() | ||
> `static` **hashPassword**(`passwordBytes`, `saltBytes`): `Promise`\<`string`\> | ||
Hash the password for the user. | ||
#### Parameters | ||
• **passwordBytes**: `Uint8Array` | ||
The password bytes. | ||
• **saltBytes**: `Uint8Array` | ||
The salt bytes. | ||
#### Returns | ||
`Promise`\<`string`\> | ||
The hashed password. |
{ | ||
"name": "@gtsc/api-auth-entity-storage-service", | ||
"version": "0.0.3-next.56", | ||
"version": "0.0.3-next.57", | ||
"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.56", | ||
"@gtsc/api-core": "0.0.3-next.56", | ||
"@gtsc/api-models": "0.0.3-next.56", | ||
"@gtsc/api-auth-entity-storage-models": "0.0.3-next.57", | ||
"@gtsc/api-core": "0.0.3-next.57", | ||
"@gtsc/api-models": "0.0.3-next.57", | ||
"@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
58860
938
+ Added@gtsc/api-auth-entity-storage-models@0.0.3-next.57(transitive)
+ Added@gtsc/api-core@0.0.3-next.57(transitive)
+ Added@gtsc/api-models@0.0.3-next.57(transitive)
- Removed@gtsc/api-auth-entity-storage-models@0.0.3-next.56(transitive)
- Removed@gtsc/api-core@0.0.3-next.56(transitive)
- Removed@gtsc/api-models@0.0.3-next.56(transitive)
Updated@gtsc/api-core@0.0.3-next.57