API Core - v2.4.1
    Preparing search index...

    Interface AuthFailureVocabulary

    What a policy owns as an auth failure: the statuses, optionally narrowed by the response itself.

    interface AuthFailureVocabulary {
        refine?: (error: HttpError) => boolean;
        statuses?: readonly number[];
    }
    Index
    refine?: (error: HttpError) => boolean

    Narrows a listed status by the response, for a wire that answers several failures with one status — Gizwits answers an invalid token and a server error alike with 400.

    statuses?: readonly number[]

    Auth-failure statuses; defaults to [401].