Home Reference Source Test
public class | source

IdentityManager

Core IdentityManager interface Class to allow applications to search for Identities registered in runtime-core

Constructor Summary

Public Constructor
public

constructor(hypertyURL: String, runtimeURL: String, msgbus: MessageBus)

To initialise the IdentityManager, which will provide the support for hyperties to query about identities registered

Method Summary

Public Methods
public

Function to query the runtime registry about the identity to which the hyperty was associated

Public Constructors

public constructor(hypertyURL: String, runtimeURL: String, msgbus: MessageBus) source

To initialise the IdentityManager, which will provide the support for hyperties to query about identities registered

Params:

NameTypeAttributeDescription
hypertyURL String

hypertyURL

runtimeURL String

runtimeURL

msgbus MessageBus

msgbus

Public Methods

public discoverUserRegistered(type: String, hypertyURL: String): Promise source

Function to query the runtime registry about the identity to which the hyperty was associated

Params:

NameTypeAttributeDescription
type String

(Optional) type of user info required

hypertyURL String

(Optional) hypertyURL to search for

Return:

Promise

userURL userURL associated to the hyperty