iya-sts
    Preparing search index...

    Variable checkVerification

    checkVerification: (username: string, token: string) => any = ...

    Type Declaration

      • (username: string, token: string): any
      • Checks a verification link: the token, bound to the address it was sent for, still unspent.

        Parameters

        • username: string

          the person

        • token: string

          the link's token

        Returns any

        { ok, address }, or a coded refusal whose sentence is the same for every reason