mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
10 lines
247 B
TypeScript
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
|
|
}
|