-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.env.auth
155 lines (123 loc) · 5.35 KB
/
example.env.auth
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
### - - - - - - - - - - - - - - ###
### AUTH URL ROOTS
### - - - - - - - - - - - - - - ###
AUTH_URL_ROOT_LOCAL=http://localhost:4100/api/
AUTH_URL_ROOT_DISTANT_PROD=https://toktok-auth.com/api/
AUTH_URL_ROOT_DISTANT_PREPOD=https://preprod.toktok-auth.com/api/
AUTH_URL_HEADERS_PAYLOAD=accept:application/json,Content-Type:application/json
AUTH_URL_HEADERS=accept:application/json
AUTH_URL_TOKEN_LOCATION=headers,query_string
AUTH_URL_TOKEN_HEADER_NAME=Authorization
AUTH_URL_TOKEN_HEADER_TYPE=None
AUTH_URL_TOKEN_QUERY_STRING_NAME=token
### - - - - - - - - - - - - - - ###
### USERS LIST RELATED
### - - - - - - - - - - - - - - ###
AUTH_DISTANT_USER_GET_ONE=usr/infos/get_one/
AUTH_DISTANT_USER_GET_ONE_METHOD=GET
AUTH_DISTANT_USER_GET_ONE_URL_ARGS=none
AUTH_DISTANT_USER_GET_ONE_POST_ARGS=none
AUTH_DISTANT_USER_GET_ONE_URL_APPEND=doc_id
AUTH_DISTANT_USER_GET_ONE_RESP=none
AUTH_DISTANT_USER_GET_LIST=usr/infos/list
AUTH_DISTANT_USER_GET_LIST_METHOD=GET
AUTH_DISTANT_USER_GET_LIST_URL_ARGS=none
AUTH_DISTANT_USER_GET_LIST_POST_ARGS=none
AUTH_DISTANT_USER_GET_LIST_URL_APPEND=none
AUTH_DISTANT_USER_GET_LIST_RESP=none
### - - - - - - - - - - - - - - ###
### ONE USER RELATED
### - - - - - - - - - - - - - - ###
AUTH_DISTANT_USER_REGISTER=usr/register
AUTH_DISTANT_USER_REGISTER_METHOD=POST
AUTH_DISTANT_USER_REGISTER_URL_ARGS=none
AUTH_DISTANT_USER_REGISTER_POST_ARGS=name:name,surname:surname,email:email,pwd:pwd,email_encrypt:email_encrypt,pwd_encrypt:pwd_encrypt,lang:lang,agreement:agreement
AUTH_DISTANT_USER_REGISTER_URL_APPEND=none
AUTH_DISTANT_USER_REGISTER_RESP=none
AUTH_DISTANT_USER_CONF_EMAIL=usr/register/confirm_email
AUTH_DISTANT_USER_CONF_EMAIL_METHOD=GET
AUTH_DISTANT_USER_CONF_EMAIL_URL_ARGS=none
AUTH_DISTANT_USER_CONF_EMAIL_POST_ARGS=none
AUTH_DISTANT_USER_CONF_EMAIL_URL_APPEND=none
AUTH_DISTANT_USER_CONF_EMAIL_RESP=none
AUTH_DISTANT_USER_EDIT=usr/edit/
AUTH_DISTANT_USER_EDIT_METHOD=PUT
AUTH_DISTANT_USER_EDIT_URL_ARGS=none
AUTH_DISTANT_USER_EDIT_POST_ARGS=edit_auth:edit_auth,doc_type:doc_type,add_to_list:add_to_list,field_to_update:field_to_update,field_value:field_value
AUTH_DISTANT_USER_EDIT_URL_APPEND=usr_id
AUTH_DISTANT_USER_EDIT_RESP=none
AUTH_DISTANT_USER_DELETE=usr/edit/
AUTH_DISTANT_USER_DELETE_METHOD=DELETE
AUTH_DISTANT_USER_DELETE_URL_ARGS=none
AUTH_DISTANT_USER_DELETE_POST_ARGS=none
AUTH_DISTANT_USER_DELETE_URL_APPEND=usr_id
AUTH_DISTANT_USER_DELETE_RESP=none
### - - - - - - - - - - - - - - ###
### LOGIN RELATED
### - - - - - - - - - - - - - - ###
AUTH_DISTANT_USER_LOGIN=auth/login
AUTH_DISTANT_USER_LOGIN_METHOD=POST
AUTH_DISTANT_USER_LOGIN_URL_ARGS=none
AUTH_DISTANT_USER_LOGIN_POST_ARGS=email:email,pwd:pwd,email_encrypt:email_encrypt,pwd_encrypt:pwd_encrypt
AUTH_DISTANT_USER_LOGIN_URL_APPEND=none
AUTH_DISTANT_USER_LOGIN_RESP=none
AUTH_DISTANT_USER_LOGIN_ANO=auth/login/anonymous/
AUTH_DISTANT_USER_LOGIN_ANO_METHOD=GET
AUTH_DISTANT_USER_LOGIN_ANO_URL_ARGS=none
AUTH_DISTANT_USER_LOGIN_ANO_POST_ARGS=none
AUTH_DISTANT_USER_LOGIN_ANO_URL_APPEND=none
AUTH_DISTANT_USER_LOGIN_ANO_RESP=none
### - - - - - - - - - - - - - - ###
### TOKENS RELATED
### - - - - - - - - - - - - - - ###
AUTH_DISTANT_USER_TOK_CONFIRM=auth/tokens/confirm_access
AUTH_DISTANT_USER_TOK_CONFIRM_METHOD=GET
AUTH_DISTANT_USER_TOK_CONFIRM_URL_ARGS=none
AUTH_DISTANT_USER_TOK_CONFIRM_POST_ARGS=none
AUTH_DISTANT_USER_TOK_CONFIRM_URL_APPEND=none
AUTH_DISTANT_USER_TOK_CONFIRM_RESP=none
AUTH_DISTANT_USER_TOK_FRESH=auth/tokens/fresh_access_token
AUTH_DISTANT_USER_TOK_FRESH_METHOD=GET
AUTH_DISTANT_USER_TOK_FRESH_URL_ARGS=none
AUTH_DISTANT_USER_TOK_FRESH_POST_ARGS=none
AUTH_DISTANT_USER_TOK_FRESH_URL_APPEND=none
AUTH_DISTANT_USER_TOK_FRESH_RESP=none
AUTH_DISTANT_USER_TOK_NEW=auth/tokens/new_access_token
AUTH_DISTANT_USER_TOK_NEW_METHOD=GET
AUTH_DISTANT_USER_TOK_NEW_URL_ARGS=none
AUTH_DISTANT_USER_TOK_NEW_POST_ARGS=none
AUTH_DISTANT_USER_TOK_NEW_URL_APPEND=none
AUTH_DISTANT_USER_TOK_NEW_RESP=none
AUTH_DISTANT_USER_TOK_NEW_REFRESH=auth/tokens/new_refresh_token/
AUTH_DISTANT_USER_TOK_NEW_REFRESH_METHOD=POST
AUTH_DISTANT_USER_TOK_NEW_REFRESH_URL_ARGS=none
AUTH_DISTANT_USER_TOK_NEW_REFRESH_POST_ARGS=none
AUTH_DISTANT_USER_TOK_NEW_REFRESH_URL_APPEND=token
AUTH_DISTANT_USER_TOK_NEW_REFRESH_RESP=none
AUTH_DISTANT_USER_TOK_CLAIMS=auth/tokens/token_claims
AUTH_DISTANT_USER_TOK_CLAIMS_METHOD=GET
AUTH_DISTANT_USER_TOK_CLAIMS_URL_ARGS=none
AUTH_DISTANT_USER_TOK_CLAIMS_POST_ARGS=none
AUTH_DISTANT_USER_TOK_CLAIMS_URL_APPEND=none
AUTH_DISTANT_USER_TOK_CLAIMS_RESP=claims:data,msg:msg
### - - - - - - - - - - - - - - ###
### PASSWORD RELATED
### - - - - - - - - - - - - - - ###
AUTH_DISTANT_PWD_FORGOT=auth/password/password_forgotten
AUTH_DISTANT_PWD_FORGOT_METHOD=POST
AUTH_DISTANT_PWD_FORGOT_URL_ARGS=token:token
AUTH_DISTANT_PWD_FORGOT_POST_ARGS=email:email
AUTH_DISTANT_PWD_FORGOT_URL_APPEND=none
AUTH_DISTANT_PWD_FORGOT_RESP=none
AUTH_DISTANT_PWD_RESET=auth/password/reset_password
AUTH_DISTANT_PWD_RESET_METHOD=POST
AUTH_DISTANT_PWD_RESET_URL_ARGS=token:access_token
AUTH_DISTANT_PWD_RESET_POST_ARGS=old_pwd:old_pwd,new_pwd:new_pwd
AUTH_DISTANT_PWD_RESET_URL_APPEND=none
AUTH_DISTANT_PWD_RESET_RESP=none
AUTH_DISTANT_PWD_RESET_LINK=auth/password/reset_password
AUTH_DISTANT_PWD_RESET_LINK_METHOD=GET
AUTH_DISTANT_PWD_RESET_LINK_URL_ARGS=renew_pwd_access_token:renew_pwd_access_token
AUTH_DISTANT_PWD_RESET_LINK_POST_ARGS=none
AUTH_DISTANT_PWD_RESET_LINK_URL_APPEND=none
AUTH_DISTANT_PWD_RESET_LINK_RESP=none