OTPLoginSingleResponse

class OTPLoginSingleResponse[source]

Response when OTP verification succeeds with a single user.

type: Literal['login']

Discriminator for the response type.

user: ExtendedUser

The user that was logged in.

access_token: str

A session token that can be used to do authenticated requests.

restrictions: SessionRestrictionData

The restrictions of this access token.

expires_at: datetime

When this token expires.