progress on jwt
This commit is contained in:
@@ -77,6 +77,14 @@
|
|||||||
"description": "Find out more",
|
"description": "Find out more",
|
||||||
"url": "https://www.simbrellang.net"
|
"url": "https://www.simbrellang.net"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Authorize",
|
||||||
|
"description": "This new feature will be used for authorizing customers.",
|
||||||
|
"externalDocs": {
|
||||||
|
"description": "Find out more",
|
||||||
|
"url": "https://www.simbrellang.net"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
@@ -100,6 +108,9 @@
|
|||||||
},
|
},
|
||||||
"/NotificationCallback": {
|
"/NotificationCallback": {
|
||||||
"$ref": "swagger/paths/NotificationCallback.json"
|
"$ref": "swagger/paths/NotificationCallback.json"
|
||||||
|
},
|
||||||
|
"/Authorize": {
|
||||||
|
"$ref": "swagger/paths/Authorize.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
@@ -142,12 +153,15 @@
|
|||||||
},
|
},
|
||||||
"ApiResponse": {
|
"ApiResponse": {
|
||||||
"$ref": "swagger/schemas/ApiResponse.json"
|
"$ref": "swagger/schemas/ApiResponse.json"
|
||||||
|
},
|
||||||
|
"AuthorizeResponse": {
|
||||||
|
"$ref": "swagger/schemas/AuthorizeResponse.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"securitySchemes": {
|
"securitySchemes": {
|
||||||
"basicAuth": {
|
"basicAuth": {
|
||||||
"type": "http",
|
"type": "http",
|
||||||
"scheme": "basic"
|
"scheme": "basic"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"username": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "username"
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "password"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xml": {
|
||||||
|
"name": "AuthorizeRequest"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"resultCode": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "00"
|
||||||
|
},
|
||||||
|
"resultDescription": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "Successful"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xml": {
|
||||||
|
"name": "AuthorizeResponse"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user