@imolinelli/ionic-appauth
Version:
Intergration for OpenId/AppAuth-JS into Ionic V3/4/5
17 lines (16 loc) • 415 B
TypeScript
import { Requestor } from "@openid/appauth";
export interface XhrSettings {
url: string;
dataType?: string;
method?: "GET" | "POST" | "PUT" | "DELETE";
data?: any;
headers?: any;
}
export declare class CordovaRequestor extends Requestor {
constructor();
xhr<T>(settings: XhrSettings): Promise<T>;
private get;
private post;
private put;
private delete;
}