com.atproto.server.get_service_auth¶
- class atproto_client.models.com.atproto.server.get_service_auth.Params¶
Bases:
ParamsModelBase
Parameters model for
com.atproto.server.getServiceAuth
.- field aud: str [Required]¶
The DID of the service that the token will be used to authenticate with.
- field exp: int | None = 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.
- 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(*args, **kwargs)¶
Bases:
dict
- 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:
ResponseModelBase
Output data model for
com.atproto.server.getServiceAuth
.- field token: str [Required]¶
Token.