UNPKG

@sneko/ionic-appauth

Version:

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5

10 lines (9 loc) 495 B
import { AuthorizationServiceConfiguration, TokenResponse, Requestor } from '@openid/appauth'; export interface UserInfoHandler { performUserInfoRequest(configuration: AuthorizationServiceConfiguration, token: TokenResponse): Promise<any>; } export declare class IonicUserInfoHandler implements UserInfoHandler { private requestor; constructor(requestor: Requestor); performUserInfoRequest(configuration: AuthorizationServiceConfiguration, token: TokenResponse): Promise<any>; }