• Create a profile from an identity file.

    This profile will have a single OneInstanceEndpoint if it didn't exist before. If it existed, the OneInstanceEndpoint will be added to the existing profile.

    Parameters

    • identity: Identity

      The identity that is added to the profile

    • profileId: string = 'default'

      The profile identity string. Defaults to 'default'.

    • Optionalowner: SHA256IdHash<Person>

      The owner of the profile. If undefined use the owner personId of the Identity.

    • communicationEndpoints: CommunicationEndpointTypes[] = []
    • personDescriptions: PersonDescriptionTypes[] = []

    Returns Promise<default>