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 of the service that the token will be used to authenticate with.
- Constraints:
func = Validated by:
string_formats.validate_did()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- 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 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.