UNPKG

login-auth-services

Version:

Authentication services for Google, GitHub, Microsoft, okta and multi-factor authentication using OTP.

7 lines (6 loc) 571 B
import { TokenSet } from "openid-client"; import { OktaOAuthOptions } from "../helpers/interface.types"; export declare const initializeOktaClient: (options: OktaOAuthOptions) => Promise<void>; export declare const getAuthURLOkta: (options: any) => Promise<string>; export declare const getTokenOkta: (code: any, options: OktaOAuthOptions) => Promise<TokenSet>; export declare const getUserInfoOkta: (accessToken: string | TokenSet) => Promise<import("openid-client").UserinfoResponse<import("openid-client").UnknownObject, import("openid-client").UnknownObject>>;