@shane32/msoauth
Version:
A React library for Azure AD authentication with PKCE (Proof Key for Code Exchange) flow support. This library provides a secure and easy-to-use solution for implementing Azure AD authentication in React applications, with support for both API and Microso
13 lines (12 loc) • 531 B
TypeScript
import React, { ReactNode } from "react";
import AuthManager from "./AuthManager";
interface IProps<TPolicyNames extends string = string> {
authManagers: AuthManager<TPolicyNames>[];
children: ReactNode;
}
/**
* Provider component for multiple auth managers
* Uses a ProxyAuthManager to handle provider selection when no provider is active
*/
declare function MultiAuthProvider<TPolicyNames extends string = string>({ authManagers, children }: IProps<TPolicyNames>): React.JSX.Element;
export default MultiAuthProvider;