Options
All
  • Public
  • Public/Protected
  • All
Menu

Module DIDSessionManagerPlugin

This plugin allows privileged built-in dApps to manage DID sessions, sign users in using their DIDs, sign out, register new identities, etc.

Usage:
declare let didSessionManager: DIDSessionManagerPlugin.DIDSessionManager;

Index

Type aliases

IdentityAvatar

IdentityAvatar: object

Type declaration

  • base64ImageData: string

    Raw picture bytes encoded to a base64 string

  • contentType: string

    Picture content type: "image/jpeg" or "image/png"

IdentityEntry

IdentityEntry: object

Type declaration

  • Optional avatar?: IdentityAvatar

    Optional profile picture for this identity

  • didStoreId: string

    ID of the DID store that containes this DID entry

  • didString: string

    DID string (ex: did:elastos:abcdef)

  • name: string

    Identity entry display name, set by the user

SignInOptions

SignInOptions: object

Option parameters that can be passed during the sign in operation.

Type declaration

  • Optional sessionLanguage?: string

    Suggested session langauge code to use?