title: How can I pull various claims out of the access token?
body: <p>I'm using the <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js" rel="nofollow noreferrer">msal.js library</a> to connect to Azure AD B2C for a reactjs client application.  </p>
  
  <p>I can login and get the access token. I can dump that token into <a href="https://jwt.io/" rel="nofollow noreferrer">jwt.io</a> and see the claims that I've specified in my sign in policy. But I'm missing how I can pull the claim data out within the application.</p>
  
  <p>Does the msal library have a method to extend the user to include those claims?
   Looking at the examples to get the user's name I'm thinking something like...
  <code>clientApplication.getUser().myCustomClaim</code></p>
  
  <p>Alternatively does anyone have any suggestions on the best way to pull that claim data out of the token?</p>