com.atproto.server.get_service_auth¶
- 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
- field exp: int | None = None¶
- field lxm: str | None = None¶
Lexicon (XRPC) method to bind the requested token to.
- 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: typing_extensions.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: typing_extensions.NotRequired[str | 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.