Constructs a new instance of the IdentityClient class.
The signer to use for authentication.
Optional
authToken: stringThe authentication token to use for offchain drivers.
Protected
_honeycombProtected
_signerGets the public key of the current identity.
Gets the authentication token.
Checks if the identity is a guest identity.
Access to all create methods i.e. user, profiles.
A new IdentityCreate instance.
Gets the delegate authority with address information.
The delegate authority with address information.
Access to all fetch methods i.e. user, profiles.
A new IdentityFetch instance.
Loads the delegate authority of this identity for a specific project.
Optional
projectKey: string | PublicKeyThe project key or address for which to load the delegate authority.
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigThe commitment level or account info config.
The delegate authority with address information.
Loads the profile for a given user identity and project.
Optional
projectKey: PublicKeyThe project key or address.
Optional
identity: string | PublicKeyThe user's identity key or address.
Optional
reFetch: booleanIf true, the profile will be re-fetched.
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigThe commitment level or account info config.
A promise that resolves with the loaded profile.
Registers a new user or profile to this instannnce.
The user or profile to register.
The registered user or profile.
Error if the provided item is of an invalid type.
Signs all the provided transactions using the identity's signer.
An array of transactions to sign.
A Promise that resolves to an array of signed transactions.
Error if the identity is a guest identity.
Signs the provided transaction using the identity's signer.
The transaction to sign.
A Promise that resolves to the signed transaction.
Error if the identity is a guest identity.
Loads the current user.
Optional
reFetch: booleanIf true, the user will be re-fetched and the cache will reset.
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigThe commitment level or account info config.
A promise that resolves with the loaded user.
Loads the wallet resolver for the current identity.
Optional
reFetch: booleanIf true, the wallet resolver will be re-fetched and the cache will reset.
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigThe commitment level or account info config.
A promise that resolves with the wallet resolver.
Generated using TypeDoc
Represents the IdentityClient class providing identity-related functionality.