iya-sts
    Preparing search index...
    beginLink: (username: string, id: string, base: string) => any = ...

    Type Declaration

      • (username: string, id: string, base: string): any
      • Starts linking a person to a provider: an authorization code flow with PKCE.

        Parameters

        • username: string

          the person

        • id: string

          the provider id

        • base: string

          the request's base URL

        Returns any

        { ok: true, location } to send the browser to, or { ok: false, code, why }