Installation
npm install --save @types/oidc-token-hash
Summary
This package contains type definitions for oidc-token-hash (https://github.com/panva/oidc-token-hash).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oidc-token-hash.
index.d.ts
export interface Names {
claim: string;
source: string;
}
export function generate(token: string, alg: string, crv?: string): string;
export function validate(names: Names, actual: string, source: string, alg: string, crv?: string): void;
Additional Details
- Last updated: Fri, 18 Oct 2024 0816 GMT
- Dependencies: none
Credits
These definitions were written by Filip Skokan.