Interface IdentityFactory
public interface IdentityFactory
Factory that helps with the creation of
Identity
instances.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SSOToken token, UniversalId universalId) Retrieves an instance ofIdentity
bound to the passed token and universal id.
-
Method Details
-
create
Retrieves an instance ofIdentity
bound to the passed token and universal id. Note that this does not interact with the identity store, and makes no guarantees that the associated identity exists.- Parameters:
token
- the SSO token to use to interact with the created identityuniversalId
- the universal id to create an identity instance for- Returns:
- a non-null instance of the service
-