signify-ts
    Preparing search index...

    Class Identifier

    Identifier

    Index

    Constructors

    Properties

    Methods

    • Authorize an endpoint provider in a given role for a managed identifier

      Parameters

      • name: string

        Name or alias of the identifier

      • role: string

        Authorized role for eid

      • Optionaleid: string

        Optional qb64 of endpoint provider to be authorized

      • Optionalstamp: string

        Optional date-time-stamp RFC-3339 profile of iso8601 datetime. Now is the default if not provided

      Returns Promise<EventResult>

      A promise to the result of the authorization

      Typically used to authorize the agent to be the endpoint provider for the identifier in the role of agent

    • Parameters

      • name: string
      • Optionaldata: any

      Returns Promise<{ jsondata: any; serder: any; sigs: any }>

    • Get information for a managed identifier

      Parameters

      • name: string

        Prefix or alias of the identifier

      Returns Promise<HabState>

      A promise to the identifier information

    • Generate an interaction event in a managed identifier

      Parameters

      • name: string

        Prefix or alias of the identifier

      • Optionaldata: any

        Option data to be anchored in the interaction event

      Returns Promise<EventResult>

      A promise to the interaction event result

    • List managed identifiers

      Parameters

      • Optionalstart: number = 0

        Start index of list of notifications, defaults to 0

      • Optionalend: number = 24

        End index of list of notifications, defaults to 24

      Returns Promise<any>

      A promise to the list of managed identifiers

    • Get the members of a group identifier

      Parameters

      • name: string

        Name or alias of the identifier

      Returns Promise<any>

      • A promise to the list of members