-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathResponseDict.py
More file actions
37 lines (33 loc) · 1.03 KB
/
ResponseDict.py
File metadata and controls
37 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ----------------------------------------------------------------------------------
# --------------------------------- AUTHENTICATION ---------------------------------
# ----------------------------------------------------------------------------------
"""
Invalid Authentication
"""
Auth_Login_Invalid = {
"type": "Authentication",
"response": {
"access": "Denied",
"message": 'Invalid user email or password.'
}
}
"""
Authentication token expired
"""
Auth_Token_Expired = {
"type": "Authentication",
"response": {
"access": "Denied",
"message": 'Token expired.'
}
}
# ----------------------------------------------------------------------------------
# ------------------------------------ PREDIX ---------------------------------------
# ----------------------------------------------------------------------------------
Predix_service_down = {
"type": "Predix request",
"response": {
"access": "Failed",
"message": "Predix service returned with error."
}
}