com.atproto.server.getServiceAuth
Get a signed token on behalf of the requesting DID for the requested service.
- class atproto_client.models.com.atproto.server.get_service_auth.Params
Bases:
ParamsModelBaseParameters model for
com.atproto.server.getServiceAuth.- field aud: str [Required]
The DID or did#serviceId reference of the service that the token will be used to authenticate with.
- Constraints:
max_length = 2048
- class atproto_client.models.com.atproto.server.get_service_auth.ParamsDict
Bases:
TypedDict- aud: str
The DID or did#serviceId reference of the service that the token will be used to authenticate with.
- exp: NotRequired[int | None]
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.
- lxm: NotRequired[Nsid | None]
Lexicon (XRPC) method to bind the requested token to.
- class atproto_client.models.com.atproto.server.get_service_auth.Response
Bases:
ResponseModelBaseOutput data model for
com.atproto.server.getServiceAuth.- field token: str [Required]
Token.