Renders child components if user is authenticated
Attempts to authenticate user if not already authenticated, then renders child components
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
Invokes a login call if a user is not currently signed-in. Failed logins can be retried using the login callback returned. Optionally provide a request object to be used in the login 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