IClaimable Interface
public interface IClaimable
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String, ?> |
getClaims()
Gets the claims associated with this IClaimable's IdToken. |
String |
getIdToken()
Gets the JWT format id_token corresponding to this IClaimable. This value conforms to RFC-7519 and is further specified according to OpenID Connect Core. Note: MSAL does not validate the JWT token. |
String |
getTenantId()
Gets the tid claim associated with this IClaimable. |
String |
getUsername()
Gets the preferred_username claim associated with this IClaimable. Note: On the Microsoft B2C Identity Platform, this claim may be unavailable when external identity providers are used. |
Method Details
getClaims
public Map
Gets the claims associated with this IClaimable's IdToken.
Returns:
getIdToken
public String getIdToken()
Gets the JWT format id_token corresponding to this IClaimable. This value conforms to RFC-7519 and is further specified according to OpenID Connect Core.
Note: MSAL does not validate the JWT token.
Returns:
getTenantId
public String getTenantId()
Gets the tid claim associated with this IClaimable.
Returns:
getUsername
public String getUsername()
Gets the preferred_username claim associated with this IClaimable.
Note: On the Microsoft B2C Identity Platform, this claim may be unavailable when external identity providers are used.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for