Files
standardnotes-server/packages/auth/src/Domain/UseCase/AuthenticateUserResponse.ts
T

10 lines
247 B
TypeScript

import { Session } from '../Session/Session'
import { User } from '../User/User'
export type AuthenticateUserResponse = {
success: boolean
failureType?: 'INVALID_AUTH' | 'EXPIRED_TOKEN' | 'REVOKED_SESSION'
user?: User
session?: Session
}