app.ocho.server.getToken

ocho-lexicons.ocho.app

Documentation

Get a token for a user to authenticate with a service.

main query

Get a token for a user to authenticate with a service.

Parameters

aud string did Required

The DID of the service that the user will authenticate with

Output

Encodingapplication/json
token string Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The DID of the service that the user will authenticate with
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "token"
      ],
      "properties": {
        "token": {
          "type": "string"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "aud"
    ],
    "properties": {
      "aud": {
        "type": "string",
        "format": "did",
        "description": "The DID of the service that the user will authenticate with"
      }
    }
  },
  "description": "Get a token for a user to authenticate with a service."
}

Lexicon Garden

@