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 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

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.

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.

field refresh_jwt: str [Required]

Refresh jwt.

field status: str | None = None

If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.