IFClite TypeScript API
    Preparing search index...

    Interface AuthorizationRequestConfig

    Everything needed to build one authorization request.

    interface AuthorizationRequestConfig {
        authorizationEndpoint: string;
        clientId: string;
        extraParams?: Readonly<Record<string, string>>;
        redirectUri: string;
        scope?: string;
    }
    Index
    authorizationEndpoint: string
    clientId: string
    extraParams?: Readonly<Record<string, string>>

    Provider-specific extras (e.g. prompt, access_type). Written into the authorization URL first, then each protocol parameter is set over the top — so the protocol wins every collision, and an entry here named response_type, client_id, redirect_uri, code_challenge, code_challenge_method or state is silently replaced rather than honoured. Those are set from the fields above and from freshly generated PKCE/CSRF material, never from caller-supplied strings.

    A scope entry here is dropped rather than overwritten, because the overwrite it would otherwise rely on is conditional: the request only carries a scope parameter when scope above is a non-empty string. Use scope above to set the scope; putting it here has no effect either way. Entries that don't collide are passed through unchanged.

    redirectUri: string

    Must exactly match a redirect URI registered with the provider.

    scope?: string