1 | import { AuthenticationResult, PopupConfigOptions } from './global';
|
2 | export declare const parseQueryResult: (queryString: string) => AuthenticationResult;
|
3 | export declare const runIframe: (authorizeUrl: string, eventOrigin: string, timeoutInSeconds?: number) => Promise<AuthenticationResult>;
|
4 | export declare const openPopup: (url: string) => Window;
|
5 | export declare const runPopup: (config: PopupConfigOptions) => Promise<AuthenticationResult>;
|
6 | export declare const getCrypto: () => Crypto;
|
7 | export declare const getCryptoSubtle: () => any;
|
8 | export declare const createRandomString: () => string;
|
9 | export declare const encode: (value: string) => string;
|
10 | export declare const decode: (value: string) => string;
|
11 | export declare const createQueryParams: (params: any) => string;
|
12 | export declare const sha256: (s: string) => Promise<any>;
|
13 | export declare const urlDecodeB64: (input: string) => string;
|
14 | export declare const bufferToBase64UrlEncoded: (input: number[] | Uint8Array) => string;
|
15 | export declare const validateCrypto: () => void;
|