Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID.
Output
Encoding
application/jsonexpiresAt
stringdatetime
Required
An RFC 3339 formatted timestamp.
token
string
Required
Bearer token for direct calls to allowed methods.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"output": {
"schema": {
"type": "object",
"required": [
"token",
"expiresAt"
],
"properties": {
"token": {
"type": "string",
"description": "Bearer token for direct calls to allowed methods."
},
"expiresAt": {
"type": "string",
"format": "datetime"
}
}
},
"encoding": "application/json"
},
"description": "Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID."
}