Remove unused StandardMethods and improve session logic
This commit is contained in:
parent
86435a3d0b
commit
701acfde35
30 changed files with 1032 additions and 704 deletions
|
@ -17,15 +17,19 @@ enum StandardError : int
|
|||
|
||||
// Authentication/Cryptography Errors
|
||||
case INVALID_PUBLIC_KEY = -3000;
|
||||
case UNSUPPORTED_AUTHENTICATION_TYPE = -3001;
|
||||
case ALREADY_AUTHENTICATED = -3002;
|
||||
case AUTHENTICATION_REQUIRED = -3003;
|
||||
case SESSION_NOT_FOUND = -3004;
|
||||
case SESSION_REQUIRED = -3005;
|
||||
case REGISTRATION_DISABLED = -3006;
|
||||
case CAPTCHA_NOT_AVAILABLE = -3007;
|
||||
case INCORRECT_CAPTCHA_ANSWER = -3008;
|
||||
case CAPTCHA_EXPIRED = -3009;
|
||||
|
||||
case SESSION_REQUIRED = -3001;
|
||||
case SESSION_NOT_FOUND = -3002;
|
||||
case SESSION_EXPIRED = -3003;
|
||||
case SESSION_DHE_REQUIRED = -3004;
|
||||
|
||||
case ALREADY_AUTHENTICATED = -3005;
|
||||
case UNSUPPORTED_AUTHENTICATION_TYPE = -3006;
|
||||
case AUTHENTICATION_REQUIRED = -3007;
|
||||
case REGISTRATION_DISABLED = -3008;
|
||||
case CAPTCHA_NOT_AVAILABLE = -3009;
|
||||
case INCORRECT_CAPTCHA_ANSWER = -3010;
|
||||
case CAPTCHA_EXPIRED = -3011;
|
||||
|
||||
// General Error Messages
|
||||
case PEER_NOT_FOUND = -4000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue