Dela via


IAccount Interface

Implements

java.io.Serializable

public interface IAccount
extends java.io.Serializable

Interface representing a single user account. An IAccount is returned in the IAuthenticationResult property, and is used as parameter in builder(Set<String> scopes, IAccount account) )}

Method Summary

Modifier and Type Method and Description
abstract java.lang.String environment()
abstract java.util.Map<java.lang.String,ITenantProfile> getTenantProfiles()

Map of ITenantProfile objects related to this account, the keys of the map are the tenant ID values and match the 'realm' key of an ID token

abstract java.lang.String homeAccountId()
abstract java.lang.String username()

Method Details

environment

public abstract String environment()

Returns:

account environment

getTenantProfiles

public abstract Map getTenantProfiles()

Map of ITenantProfile objects related to this account, the keys of the map are the tenant ID values and match the 'realm' key of an ID token

Returns:

tenant profiles

homeAccountId

public abstract String homeAccountId()

Returns:

account id

username

public abstract String username()

Returns:

account username

Applies to