View Source Appwrite.Types.Session (appwrite v0.1.9)
Represents a user session in the Appwrite system.
Fields
id
(String.t
): Session ID.created_at
(String.t
): Session creation date in ISO 8601 format.updated_at
(String.t
): Session update date in ISO 8601 format.user_id
(String.t
): User ID.expire
(String.t
): Session expiration date in ISO 8601 format.provider
(String.t
): Session provider.provider_uid
(String.t
): Session provider user ID.provider_access_token
(String.t
): Provider access token.provider_access_token_expiry
(String.t
): Access token expiry date.provider_refresh_token
(String.t
): Refresh token.ip
(String.t
): IP address of session creation.- Additional fields describe the operating system, client, device, and geographic location details.
Summary
Types
@type t() :: %Appwrite.Types.Session{ client_code: String.t(), client_engine: String.t(), client_engine_version: String.t(), client_name: String.t(), client_type: String.t(), client_version: String.t(), country_code: String.t(), country_name: String.t(), created_at: String.t(), current: boolean(), device_brand: String.t(), device_model: String.t(), device_name: String.t(), expire: String.t(), factors: [String.t()], id: String.t(), ip: String.t(), mfa_updated_at: String.t(), os_code: String.t(), os_name: String.t(), os_version: String.t(), provider: String.t(), provider_access_token: String.t(), provider_access_token_expiry: String.t(), provider_refresh_token: String.t(), provider_uid: String.t(), secret: String.t(), updated_at: String.t(), user_id: String.t() }