type Err

bend-kit-oauth2@0.11.0.1 · oauth2.bend:23

import bend-kit-oauth2@0.11.0.1/oauth2.bend as Oauth2
import Base
import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpin

23# ErrNet: the request did not complete. ErrOAuth: an RFC 6749 §5.2 error with its status, or a §4.1.2.1
24# error in a callback, status 0. ErrReply: not a Bearer token response, with its status and text. ErrState: the
25# callback's state is not ours (§10.12). ErrCrypto: the random source or SHA-256 failed. ErrExpired: the
26# token lapsed and has no refresh token.
27type Err is Data:
28  ErrNet{e: Hairpin.Err}
29  ErrOAuth{status: U32, code: String, why: String}
30  ErrReply{status: U32, body: String}
31  ErrState{}
32  ErrCrypto{code: U32, why: String}
33  ErrExpired{}

Uses (3)

Used by (26)