@wharfkit/session - v4.0.1
    Preparing search index...

    Class IdentityProof

    Interface that should be implemented by ABI serializable objects.

    Hierarchy (View Summary)

    Index
    chainId: ChainId
    expiration: TimePointSec
    scope: Name
    signature: Signature
    abiFields: ABIField[]
    abiName: string
    • get structFields(): ABIField[]

      Returns ABIField[]

    • 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 the public key that signed this proof.

      Returns PublicKey

    • Encode the proof to an EOSIO auth header string.

      Returns string

    • Verify that given authority signed this proof.

      Parameters

      • auth: AuthorityType

        The accounts signing authority.

      • OptionalcurrentTime: TimePointType

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

      Returns boolean

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

      Parameters

      • string: string

      Returns IdentityProof