Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
The MSAL Browser library has a set of configuration options that can be used to customize the behavior of your authentication flows. Some of these options can be set in the constructor of the PublicClientApplication object, and most of them can be set on a per-request basis. The table below details the configuration objects that can be passed to the login and acquireToken APIs, and the objects returned representing the response.
| API | Request Object | Response Object |
|---|---|---|
acquireTokenPopup |
PopupRequest | AuthenticationResult |
acquireTokenRedirect |
RedirectRequest | AuthenticationResult (via handleRedirectPromise) |
acquireTokenSilent |
SilentRequest | AuthenticationResult |
loginPopup |
PopupRequest | AuthenticationResult |
loginRedirect |
RedirectRequest | AuthenticationResult (via handleRedirectPromise) |
logoutRedirect |
EndSessionRequest | void |
logoutPopup |
EndSessionPopupRequest | void |
ssoSilent |
SsoSilentRequest | AuthenticationResult |