com.atproto.server.create_session¶
- class atproto_client.models.com.atproto.server.create_session.Data¶
Bases:
DataModelBase
Input data model for
com.atproto.server.createSession
.- field allow_takendown: bool | None = None¶
- field auth_factor_token: str | None = None¶
Auth factor token.
- 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(*args, **kwargs)¶
Bases:
dict
- allow_takendown: typing_extensions.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: typing_extensions.NotRequired[str | None]¶
Auth factor token.
- identifier: str¶
Handle or other identifier supported by the server for the authenticating user.
- password: str¶
Password.
- class atproto_client.models.com.atproto.server.create_session.Response¶
Bases:
ResponseModelBase
Output data model for
com.atproto.server.createSession
.- field access_jwt: str [Required]¶
Access jwt.
- field active: bool | None = None¶
Active.
- field did: str [Required]¶
Did.
- Constraints:
func = Validated by:
string_formats.validate_did()
(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field did_doc: UnknownType | None = None¶
Did doc.
- field email: str | None = None¶
Email.
- field email_auth_factor: bool | None = None¶
Email auth factor.
- field email_confirmed: bool | None = None¶
Email confirmed.
- field handle: str [Required]¶
Handle.
- Constraints:
func = Validated by:
string_formats.validate_handle()
(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field refresh_jwt: str [Required]¶
Refresh jwt.
- field status: Literal['takendown'] | Literal['suspended'] | Literal['deactivated'] | str | None = None¶