added bearer token authentication
This commit was merged in pull request #17.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"format": "eyjhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwic3ViIjoiYWRtaW4ifQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
|
||||
},
|
||||
"token_type": {
|
||||
"type": "string",
|
||||
"format": "bearer"
|
||||
},
|
||||
"expires_in": {
|
||||
"type": "integer",
|
||||
"format": "1800"
|
||||
},
|
||||
"userName": {
|
||||
"type": "string",
|
||||
"format": "sinbrella"
|
||||
},
|
||||
"ipaddress": {
|
||||
"type": "string",
|
||||
"format": "127.0.0.1"
|
||||
},
|
||||
"errorMessage":{
|
||||
"type":"string"
|
||||
|
||||
},
|
||||
"issued": {
|
||||
"type": "string",
|
||||
"format":"date-time"
|
||||
|
||||
},
|
||||
"expires": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "##default"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user