### 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:
The claims for this Account's IdToken or null, if no IdToken exists.
type: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 MapThe id.
type: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: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: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: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: