HOST: http://soa-auth.herokuapp.com/
For authentication, you need to pass an API token in the format "Bearer {token}"
This API uses Custom Header for its authentication.
The parameters that are needed to be sent for this type of authentication are as follows:
Authorization
login
-
Request (application/json)
- Attributes (LoginRequest)
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
registration
-
Request (application/json)
- Attributes (LoginRequest)
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
test
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
id
(number, optional)isLocked
(boolean, optional)name
(string, optional)roles
(array, optional)- (enum[string])
- Members
ADMIN
STUDENT
TEACHER
- Members
- (enum[string])
username
(string, optional)
login
(string, optional)password
(string, optional)