Android API

com.theidentityhub.model.Account

Represents an account belonging to an identity.

Name Value Description
getAccountId() String Gets the account identifier
getDisplayName() String Gets the display name.
getEmailAddress() String Gets the email address.
getPictureUrl() String Gets the picture URL.

com.theidentityhub.model.AccountProvider

Represents an account provider.

Name Value Description
getAccountProviderId() String Gets the account provider identifier
getAccounts() com.theidentityhub.model.Account[] Gets the accounts.
getDisplayName() String Gets the display name.
getProviderImageUrl() String Gets the provider image URL.

com.theidentityhub.model.Friend

Represents a friend.

Name Value Description
getDisplayName() String Gets the display name of the friend.
getIdentityId() String Gets the identifier of the friend.
getLargePictures() String[] Gets the large pictures of the friend.
getMediumPictures() String[] Gets the medium pictures of the friend.
getSmallPicture() String Gets the first small picture of the friend.
getSmallPictures() String[] Gets the small pictures of the friend.

com.theidentityhub.model.Profile

Represents an identity.

Name Value Description
getDisplayName() String Gets the display name of the identity.
getEmailAddress() String Gets the email address of the identity.
isEmailAddressVerified() Boolean Gets a value indicating whether the email address of the identity has been verified.
getGivenName() String Gets the name of the given of the identity.
getIdentityId() String Gets the identifier of the identity.
getLargePictures() String[] Gets the large pictures of the identity.
getMediumPictures() String[] Gets the medium pictures of the identity.
getPicture() String Gets the primary picture of the identity.
getSmallPictures() String[] Gets the small pictures of the identity.
getSurname() String Gets the surname of the identity.

com.theidentityhub.model.Role

Represents a role.

Name Value Description
getName() String Gets the name of the role.

Android.com.theidentityhub.service.IdentityService

Provides methods to query an identity's profile.

Name Description
IdentityService(String clientId, String baseUrl) Initializes a new instance of the com.theidentityhub.model.IdentityService class
Name Description
getAccounts() Gets the account providers.
getFriends() Gets the friends.
getProfile() Gets the profile.
getRoles() Gets the roles.
signOut() Revokes a token and signs the current user out.