Renders child components if user is authenticated
Attempts to authenticate user if not already authenticated, then renders child components
MSAL context provider component. This must be rendered above any other components that use MSAL.
Renders child components if user is unauthenticated
Returns whether or not a user is currently signed-in. Optionally provide 1 or more accountIdentifiers to determine if a specific user is signed-in
Returns Msal Context values
If a user is not currently signed in this hook invokes a login. Failed logins can be retried using the login callback returned. If a user is currently signed in this hook attempts to acquire a token. Subsequent token requests can use the acquireToken callback returned. Optionally provide a request object to be used in the login/acquireToken call. Optionally provide a specific user that should be logged in.
Higher order component wraps provided component with msal by injecting msal context values into the component's props
Generated using TypeDoc