Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Struct
    • IdentityProof

Index

Properties

chainId: ChainId
expiration: TimePointSec
scope: Name
signature: Signature
signer: PermissionLevel
abiBase: ABISerializableConstructor
abiFields: ABIField[]
abiName: string

Accessors

  • get structFields(): ABIField[]
  • Returns ABIField[]

Methods

  • equals(other: any): boolean
  • Return true if this struct equals the other.

    Note: This compares the ABI encoded bytes of both structs, subclasses should implement their own fast equality check when possible.

    Parameters

    • other: any

    Returns boolean

  • recover(): PublicKey
  • Recover the public key that signed this proof.

    Returns PublicKey

  • toString(): string
  • Encode the proof to an EOSIO auth header string.

    Returns string

  • verify(auth: AuthorityType, currentTime?: TimePointType): boolean
  • Verify that given authority signed this proof.

    Parameters

    • auth: AuthorityType

      The accounts signing authority.

    • Optional currentTime: TimePointType

      Time to verify expiry against, if unset will use system time.

    Returns boolean

  • Create a new instance from a callback payload.

    Parameters

    Returns IdentityProof

  • Create a new instance from an EOSIO authorization header string. "EOSIO "

    Parameters

    • string: string

    Returns IdentityProof

Generated using TypeDoc