Get an authentication session
GET/:handle/:session_id
The session can be related to a signature or a mutual authentication
Request
Path Parameters
Org handle
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
fields
object[]
Fields the receiver has to fill in
Salt used for hashing the plaintext
Optional subject
Milliseconds left until it expires
Type of session, can be a signature (sig) OR a mutual authentication (auth)
{
"data": {
"fields": [
{
"description": "string",
"format": "string",
"name": "string",
"type": "string"
}
],
"nacl": "string",
"subject": "string",
"ttl_ms": 0,
"type": "string"
},
"success": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}