ai.newnal.illi.account.requestPDNCreationGrant
Issue a 60-second creation grant (a service-auth JWT for the PDN's ai.newnal.pdn.server.createAttestedAccount) to an attested ILLI client. In the PoC a device needs no attestation; in production the manufacturing-key or platform attestation is mandatory.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.attestationNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.clientNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.grantNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Issue a 60-second creation grant (a service-auth JWT for the PDN's ai.newnal.pdn.server.createAttestedAccount) to an attested ILLI client. In the PoC a device needs no attestation; in production the manufacturing-key or platform attestation is mandatory.",
"errors": [
{
"name": "InvalidAttestation"
},
{
"name": "DeviceRevoked"
},
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"attestation": {
"description": "Client attestation bound to a nonce from account.getAttestationNonce: device = Android key attestation rooted at Newnal's RKP CA; familyApp = Play Integrity / App Attest; PoC = mock:<client>:<secret>.",
"type": "string"
},
"client": {
"knownValues": [
"device",
"familyApp"
],
"type": "string"
},
"deviceId": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"client"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"expiresAt": {
"format": "datetime",
"type": "string"
},
"grant": {
"type": "string"
},
"pdnDid": {
"format": "did",
"type": "string"
},
"pdnUrl": {
"format": "uri",
"type": "string"
}
},
"required": [
"grant",
"pdnUrl",
"pdnDid",
"expiresAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.account.requestPDNCreationGrant",
"lexicon": 1
}