iya-sts
    Preparing search index...

    Variable handleCallback

    handleCallback: (
        req: any,
        res: any,
        surfaceId: string,
        options?: SignInOptions,
    ) => Promise<any> = ...

    Type Declaration

      • (req: any, res: any, surfaceId: string, options?: SignInOptions): Promise<any>
      • Handles the browser's return with a code: checks the state, redeems the code over the back channel, verifies the ID Token and starts the surface's session.

        Every refusal is reported rather than redirected; the caller draws it.

        Parameters

        • req: any

          the callback request

        • res: any

          its response

        • surfaceId: string

          the surface

        • Optionaloptions: SignInOptions

          as for beginSignIn()

        Returns Promise<any>

        { ok, session, returnTo, why }