UNPKG

@ioloco/oauth

Version:

OAuth 2.0 utility library that provides helper functions for integrating third-party login providers. Designed to simplify the token exchange and user-fetch flows, while leaving API route implementation to the developer.

1 lines 381 B
class r extends Error{constructor(r){super("Invalid Token"),this.cause=r}}class s extends Error{constructor(r){super("Invalid User"),this.cause=r}}class e extends Error{constructor(){super("Invalid State")}}class t extends Error{constructor(){super("Invalid Code Verifier")}}export{t as InvalidCodeVerifierError,e as InvalidStateError,r as InvalidTokenError,s as InvalidUserError};