Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 3.31 KB

File metadata and controls

29 lines (18 loc) · 3.31 KB

Public APIs for MSAL Angular

Before you start here, make sure you understand how to initialize the application object.

The login APIs in MSAL retrieve an authorization code which can be exchanged for an ID token for a signed in user, while consenting scopes for an additional resource, and an access token containing the user consented scopes to allow your app to securely call the API.

You can read more about ID tokens on our Azure Docs pages.

Public APIs

@azure/msal-angular exposes the following, along with their configurations. See the library references for properties and methods.

  1. MsalService
  2. MsalGuard
  3. MsalInterceptor
  4. MsalBroadcastService
  5. MsalModule

The login and acquire token functions using Angular observables are found on the IMsalService.

@azure/msal-angular also exposes the following:

  1. MsalRedirectComponent: Used for handling redirects. See the redirect doc for more details.
  2. MsalCustomNavigationClient: Used for client-side navigation. See the performance doc for more details.

Additional functions from @azure/msal-browser are found on IPublicClientApplication, with corresponding documentation here.