mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
* chore: release latest changes * update yarn lockfile * remove stale files * fix ci env * remove mysql command overwrite * remove mysql overwrite from example * fix cookie cooldown in memory
16 lines
439 B
TypeScript
16 lines
439 B
TypeScript
import { ApiVersion } from '../Api/ApiVersion'
|
|
import { User } from '../User/User'
|
|
import { AuthResponseCreationResult } from './AuthResponseCreationResult'
|
|
|
|
export interface AuthResponseFactoryInterface {
|
|
createResponse(dto: {
|
|
user: User
|
|
apiVersion: ApiVersion
|
|
userAgent: string
|
|
ephemeralSession: boolean
|
|
readonlyAccess: boolean
|
|
snjs?: string
|
|
application?: string
|
|
}): Promise<AuthResponseCreationResult>
|
|
}
|