UNPKG

react-native-azure-ad-auth

Version:

A react native azure active directory authentication component

20 lines (19 loc) 503 B
export interface Credentials { authority: string; client_id: string; client_secret: string; redirect_uri: string; scope: string; authorize_endpoint?: string; token_endpoint?: string; token?: any; } export default class AzureAdInstance { credentials: Credentials; constructor(credentials: Credentials); getConfig(): Credentials; setToken(token: any): void; getToken(): any; clearToken(): void; getUserInfo(): Promise<any>; }