1 | import { AuthenticationResult, PopupConfigOptions } from './global';
|
2 | export declare const parseAuthenticationResult: (queryString: string) => AuthenticationResult;
|
3 | export declare const runIframe: (authorizeUrl: string, eventOrigin: string, timeoutInSeconds?: number) => Promise<AuthenticationResult>;
|
4 | export declare const openPopup: (url: string) => Window | null;
|
5 | export declare const runPopup: (config: PopupConfigOptions) => Promise<AuthenticationResult>;
|
6 | export declare const getCrypto: () => Crypto;
|
7 | export declare const createRandomString: () => string;
|
8 | export declare const encode: (value: string) => string;
|
9 | export declare const decode: (value: string) => string;
|
10 | export declare const createQueryParams: ({ clientId: client_id, ...params }: any) => string;
|
11 | export declare const sha256: (s: string) => Promise<any>;
|
12 | export declare const urlDecodeB64: (input: string) => string;
|
13 | export declare const bufferToBase64UrlEncoded: (input: number[] | Uint8Array) => string;
|
14 | export declare const validateCrypto: () => void;
|
15 |
|
16 |
|
17 |
|
18 | export declare const getDomain: (domainUrl: string) => string;
|
19 |
|
20 |
|
21 |
|
22 | export declare const getTokenIssuer: (issuer: string | undefined, domainUrl: string) => string;
|
23 | export declare const parseNumber: (value: any) => number | undefined;
|