Files
front/src/app/auth/auth.models.ts
T
2026-10-07 12:10:12 +03:00

21 lines
428 B
TypeScript

export type AuthIntent = 'claim' | 'collection';
export type AuthPromptResult = 'authenticated' | 'dismissed';
export type AuthStep = 'email' | 'code';
export interface AuthSession {
email: string;
accessToken: string;
tokenType: string;
refreshToken?: string;
expiresAt?: number;
}
export interface TokenResponse {
access_token: string;
token_type?: string;
expires_in?: number;
refresh_token?: string;
}