repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove client-side isLoggedIn value
[ProtonMail-WebClient.git]
/
packages
/
srp
/
lib
/
interface.ts
blob
3fbe5c064de455fa3e7b81779c96f3b7266cea48
1
export type AuthVersion = 0 | 1 | 2 | 3 | 4;
2
3
export interface AuthInfo {
4
Version: number;
5
Modulus: string;
6
ServerEphemeral: string;
7
Username?: string; // Only present if auth version < 3
8
Salt: string;
9
}
10
11
export interface AuthCredentials {
12
username?: string;
13
password: string;
14
}