Foxnouns.NET/Foxnouns.Frontend/app/lib/api/auth.ts

23 lines
364 B
TypeScript
Raw Normal View History

2024-09-10 21:24:40 +02:00
import { User } from "~/lib/api/user";
export type AuthResponse = {
user: User;
token: string;
expires_at: string;
};
2024-09-11 19:13:54 +02:00
export type CallbackResponse = {
has_account: boolean;
ticket?: string;
remote_username?: string;
user?: User;
token?: string;
expires_at?: string;
};
2024-09-11 19:13:54 +02:00
export type AuthUrls = {
discord?: string;
google?: string;
tumblr?: string;
};