add auth
This commit is contained in:
@@ -6,4 +6,15 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user