better-auth
Version:
The most comprehensive authentication framework for TypeScript.
30 lines (29 loc) • 979 B
text/typescript
import * as _$better_call0 from "better-call";
import * as z from "zod";
//#region src/api/routes/callback.d.ts
declare const callbackOAuth: _$better_call0.StrictEndpoint<"/callback/:id", {
method: ("GET" | "POST")[];
operationId: string;
body: z.ZodOptional<z.ZodObject<{
code: z.ZodOptional<z.ZodString>;
error: z.ZodOptional<z.ZodString>;
device_id: z.ZodOptional<z.ZodString>;
error_description: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
user: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
query: z.ZodOptional<z.ZodObject<{
code: z.ZodOptional<z.ZodString>;
error: z.ZodOptional<z.ZodString>;
device_id: z.ZodOptional<z.ZodString>;
error_description: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
user: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
metadata: {
allowedMediaTypes: string[];
scope: "server";
};
}, never>;
//#endregion
export { callbackOAuth };