com.atproto.server.createSession
Create an authentication session.
- class atproto_client.models.com.atproto.server.create_session.Data
Bases:
DataModelBaseInput data model for
com.atproto.server.createSession.- field identifier: str [Required]
Handle or other identifier supported by the server for the authenticating user.
- field password: str [Required]
Password.
- class atproto_client.models.com.atproto.server.create_session.DataDict
Bases:
TypedDict- identifier: str
Handle or other identifier supported by the server for the authenticating user.
- password: str
Password.
- allow_takendown: NotRequired[bool | None]
When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned.
- auth_factor_token: NotRequired[str | None]
Auth factor token.
- class atproto_client.models.com.atproto.server.create_session.Response
Bases:
ResponseModelBaseOutput data model for
com.atproto.server.createSession.- field access_jwt: str [Required]
Access jwt.
- field did: Did [Required]
Did.
- field did_doc: UnknownType | None = None
Did doc.
- field handle: Handle [Required]
Handle.
- field refresh_jwt: str [Required]
Refresh jwt.