fix: harden login for MLPS requirements
This commit is contained in:
@@ -22,10 +22,18 @@ export interface AuthTokens {
|
||||
|
||||
export interface LoginRequest {
|
||||
identifier: string
|
||||
password: string
|
||||
password?: string
|
||||
encrypted_password?: string
|
||||
password_key_id?: string
|
||||
email?: string
|
||||
}
|
||||
|
||||
export interface PasswordPublicKeyResponse {
|
||||
key_id: string
|
||||
algorithm: 'RSA-OAEP-256'
|
||||
public_key: string
|
||||
}
|
||||
|
||||
export interface UserInfo {
|
||||
id: number
|
||||
email: string | null
|
||||
|
||||
Reference in New Issue
Block a user