@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.
14 lines (13 loc) • 375 B
TypeScript
import { z } from 'zod';
export declare class InvalidTokenError extends Error {
constructor(zodError: z.ZodError);
}
export declare class InvalidUserError extends Error {
constructor(zodError: z.ZodError);
}
export declare class InvalidStateError extends Error {
constructor();
}
export declare class InvalidCodeVerifierError extends Error {
constructor();
}