iya-sts
    Preparing search index...

    Variable mailAdministratorLink

    mailAdministratorLink: (
        kind: string,
        username: string,
        token: string,
        actor: string,
        via: string,
    ) => any = ...

    Type Declaration

      • (kind: string, username: string, token: string, actor: string, via: string): any
      • Mails a reset or activation link an administrator just issued to the person, instead of showing it to the administrator.

        Parameters

        • kind: string

          reset or activation

        • username: string

          the person

        • token: string

          the link's token

        • actor: string

          the administrator

        • via: string

          the surface it came through

        Returns any

        { ok, mailedTo, message }, or a coded refusal after which the caller shows the link