Interface IdentityFactory


  • public interface IdentityFactory
    Factory that helps with the creation of Identity instances.
    • Method Detail

      • create

        Identity create​(SSOToken token,
                        UniversalId universalId)
        Retrieves an instance of Identity 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 identity
        universalId - the universal id to create an identity instance for
        Returns:
        a non-null instance of the service