iya-sts
    Preparing search index...
    checkGrantType: (
        grant: any,
    ) =>
        | {
            description?: undefined;
            error?: undefined;
            errorCode?: undefined;
            ok: boolean;
            requirement?: undefined;
        }
        | {
            description: string;
            error: string;
            errorCode: string;
            ok: boolean;
            requirement: string;
        } = checkGrantType

    Type Declaration

      • (
            grant: any,
        ):
            | {
                description?: undefined;
                error?: undefined;
                errorCode?: undefined;
                ok: boolean;
                requirement?: undefined;
            }
            | {
                description: string;
                error: string;
                errorCode: string;
                ok: boolean;
                requirement: string;
            }
      • Refuses the password grant, which RFC 9700 rules out, as unsupported_grant_type.

        Parameters

        • grant: any

          the grant type

        Returns
            | {
                description?: undefined;
                error?: undefined;
                errorCode?: undefined;
                ok: boolean;
                requirement?: undefined;
            }
            | {
                description: string;
                error: string;
                errorCode: string;
                ok: boolean;
                requirement: string;
            }

        { ok: true }, or { ok: false, errorCode, error, requirement, description }