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

    Type Declaration

      • (
            username: string,
            id: string,
            base: string,
            sessionId?: string,
            binding?: 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

        • OptionalsessionId: string

          the sign-on session the person started it from: the callback is honoured only while that session is live (#568)

        • Optionalbinding: string

          the SHA-256 of the secret the starting browser was handed in a cookie: the callback is honoured only in that browser

        Returns any

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