gnap-caep-risc-nodejs
    Preparing search index...

    Type Alias GnapErrorCode

    GnapErrorCode:
        | "config"
        | "discovery"
        | "protocol"
        | "validation"
        | "signature"
        | "ssf"

    What kind of failure a GnapError is. An application usually answers every one of them the same way (the sign-in failed, start again), and logs the code and message for the operator.

    • config: the configuration is incomplete or contradictory.
    • discovery: the grant server, the OpenID issuer, or the transmitter could not be read.
    • protocol: the authorization server answered a GNAP error, or not with the document this client asked for.
    • validation: a check on a callback, a token, or a subject failed (hash, audience, time, origin).
    • signature: a key proof or a token's signature does not verify, or uses an algorithm this client refuses.
    • ssf: the Shared Signals transmitter could not be found, or its stream created or polled.