@okta/okta-auth-js
Version:
The Okta Auth SDK
9 lines (8 loc) • 401 B
TypeScript
import { OktaAuthOAuthInterface, TokenParams, TokenResponse } from './types';
export declare function getWithPopup(sdk: OktaAuthOAuthInterface, options: TokenParams): Promise<TokenResponse>;
export declare function getWithIDPPopup(sdk: OktaAuthOAuthInterface, options: Omit<TokenParams, 'redirectUri'> & {
redirectUri: string;
}): {
cancel: () => void;
promise: Promise<TokenResponse>;
};