UNPKG

590 BTypeScriptView Raw
1import { OAuthBaseProps, OAuthProps, OAuthRevokeOptions, TokenResponse } from './AppAuth.types';
2export * from './AppAuth.types';
3export declare function getDefaultOAuthRedirect(): string;
4export declare function authAsync(props: OAuthProps): Promise<TokenResponse>;
5export declare function refreshAsync(props: OAuthProps, refreshToken: string): Promise<TokenResponse>;
6export declare function revokeAsync({ clientId, issuer, serviceConfiguration }: OAuthBaseProps, { token, isClientIdProvided }: OAuthRevokeOptions): Promise<any>;
7export declare const OAuthRedirect: any, URLSchemes: any;