Skip to main content

com.atproto.server.getServiceAuth

#main

Get a signed token on behalf of the requesting DID for the requested service.

Parameters

PropertyTypeKnown ValuesRequiredDescription
audstring (did)-The DID of the service that the token will be used to authenticate with
expinteger-The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.
lxmstring (nsid)-Lexicon (XRPC) method to bind the requested token to

Output

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
tokenstring--