{
"id": "dev.cocore.devicePair.confirm",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"userCode",
"decision"
],
"properties": {
"session": {
"type": "unknown",
"description": "Provider session to grant to the device; required when `decision` is `approve`."
},
"decision": {
"enum": [
"approve",
"deny"
],
"type": "string"
},
"userCode": {
"type": "string",
"description": "The code the device displayed (case-insensitive)."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest",
"description": "Missing `userCode`, an invalid `decision`, or `approve` without a `session`."
},
{
"name": "NotFound",
"description": "No pairing attempt matches the `userCode`."
},
{
"name": "Conflict",
"description": "The pairing attempt could not be approved in its current state."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"ok",
"status"
],
"properties": {
"ok": {
"type": "boolean"
},
"status": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"description": "Approve or deny a pending device-pairing attempt, identified by the `userCode` the device displayed. Called from the verification UI by a signed-in user. Approving requires the provider `session` to grant to the device."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:5quuhkmwe2q4k3azfsgg7kdz
- CID
-
bafyreicmkzd6mjahy3ewmc37lotqrnmzule7jlas3x3ivjy57l3xkptl24
- Indexed At
- 2026-06-21 00:58 UTC
- AT-URI
-
at://did:plc:5quuhkmwe2q4k3azfsgg7kdz/com.atproto.lexicon.schema/dev.cocore.devicePair.confirm