UNPKG

@upbond/auth-spa-js

Version:

Auth SDK for Single Page Applications using Authorization Code Grant Flow with PKCE

11 lines (10 loc) 365 B
export declare class GenericError extends Error { error: string; error_description: string; constructor(error: string, error_description: string); } export declare class AuthenticationError extends GenericError { state: string; appState: any; constructor(error: string, error_description: string, state: string, appState?: any); }