### YamlMime:JavaType constructors: - fullName: com.microsoft.identity.client.Account.Account( @Nullable final String clientInfo, @Nullable final IDToken homeTenantIdToken) name: Account( @Nullable final String clientInfo, @Nullable final IDToken homeTenantIdToken) nameWithType: Account.Account( @Nullable final String clientInfo, @Nullable final IDToken homeTenantIdToken) parameters: - name: clientInfo type: - name: homeTenantIdToken type: syntax: public Account( @Nullable final String clientInfo, @Nullable final IDToken homeTenantIdToken) uid: com.microsoft.identity.client.Account.Account(@Nullable final String,@Nullable final IDToken) inheritances: - - - methods: - fullName: com.microsoft.identity.client.Account.getAuthority() name: getAuthority() nameWithType: Account.getAuthority() overridden: com.microsoft.identity.client.IAccount.getAuthority() returns: type: syntax: public String getAuthority() uid: com.microsoft.identity.client.Account.getAuthority() - fullName: com.microsoft.identity.client.Account.getClaims() name: getClaims() nameWithType: Account.getClaims() overridden: com.microsoft.identity.client.IClaimable.getClaims() returns: description:

The claims for this Account's IdToken or null, if no IdToken exists.

type: summary: >-

Gets the claims associated to this Account's IdToken. In the case of the Microsoft Identity Platform, this value can be null if the home tenant has not been authorized.

syntax: public Map getClaims() uid: com.microsoft.identity.client.Account.getClaims() - fullName: com.microsoft.identity.client.Account.getId() name: getId() nameWithType: Account.getId() overridden: com.microsoft.identity.client.IAccount.getId() returns: description:

The id.

type: summary: >-

Gets the id of the account.

For the Microsoft Identity Platform: the OID of the account in its home tenant.

syntax: public String getId() uid: com.microsoft.identity.client.Account.getId() - fullName: com.microsoft.identity.client.Account.getIdToken() name: getIdToken() nameWithType: Account.getIdToken() overridden: com.microsoft.identity.client.IClaimable.getIdToken() returns: description:

The raw id_token.

type: summary: >-

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.

syntax: public String getIdToken() uid: com.microsoft.identity.client.Account.getIdToken() - fullName: com.microsoft.identity.client.Account.getTenantId() name: getTenantId() nameWithType: Account.getTenantId() overridden: com.microsoft.identity.client.IClaimable.getTenantId() returns: description:

The tid claim or "" (empty string) if not available.

type: summary: >-

Gets the tid claim associated with this IClaimable.

syntax: public String getTenantId() uid: com.microsoft.identity.client.Account.getTenantId() - fullName: com.microsoft.identity.client.Account.getUsername() name: getUsername() nameWithType: Account.getUsername() overridden: com.microsoft.identity.client.IClaimable.getUsername() returns: description:

The preferred_username claim or "" (empty string) if not available.

type: summary: >-

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.

syntax: public String getUsername() uid: com.microsoft.identity.client.Account.getUsername() - fullName: com.microsoft.identity.client.Account.setHomeAccountId(@NonNull final String homeAccountId) name: setHomeAccountId(@NonNull final String homeAccountId) nameWithType: Account.setHomeAccountId(@NonNull final String homeAccountId) parameters: - name: homeAccountId type: syntax: public void setHomeAccountId(@NonNull final String homeAccountId) uid: com.microsoft.identity.client.Account.setHomeAccountId(@NonNull final String) nameWithType: Account syntax: public class Account implements IAccount type: class uid: com.microsoft.identity.client.Account fullName: com.microsoft.identity.client.Account name: Account package: com.microsoft.identity.client metadata: {}