Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DelegationIdentity

An Identity that adds delegation to a request. Everywhere in this class, the name innerKey refers to the SignIdentity that is being used to sign the requests, while originalKey is the identity that is being borrowed. More identities can be used in the middle to delegate.

Hierarchy

  • SignIdentity
    • DelegationIdentity

Index

Constructors

Properties

_principal: undefined | Principal

Methods

  • getPrincipal(): Principal
  • Get the principal represented by this identity. Normally should be a Principal.selfAuthenticating().

    Returns Principal

  • getPublicKey(): PublicKey
  • sign(blob: ArrayBuffer): Promise<Signature>
  • transformRequest(request: HttpAgentRequest): Promise<unknown>

Generated using TypeDoc