angular-oauth2-oidc
Version:
Support for OAuth 2 and OpenId Connect (OIDC) in Angular. Already prepared for the upcoming OAuth 2.1.
15 lines (14 loc) • 582 B
TypeScript
import * as i0 from "@angular/core";
/**
* Abstraction for crypto algorithms
*/
export declare abstract class HashHandler {
abstract calcHash(valueToHash: string, algorithm: string): Promise<string>;
}
export declare class DefaultHashHandler implements HashHandler {
calcHash(valueToHash: string, algorithm: string): Promise<string>;
toHashString2(byteArray: number[]): string;
toHashString(buffer: ArrayBuffer): string;
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHashHandler, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultHashHandler>;
}