react-native-msal-plugin
Version:
React Native Plugin that wraps Microsoft MSAL library allowing you to authenticate with azure B2C
25 lines (24 loc) • 517 B
TypeScript
export interface IPolicies {
signUpSignInPolicy: string;
passwordResetPolicy?: string;
}
export interface IError {
code: number;
message: string;
}
export interface IAuthenticationResult {
accessToken: string;
idToken: string;
uniqueId: string;
authority: string;
expiresOn: number;
userInfo: IUserInfo;
}
export interface IUserInfo {
userID: string;
userName: string;
userIdentifier: string;
name: string;
identityProvider: string;
tenantId: string;
}