Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.5 KB

File metadata and controls

39 lines (30 loc) · 1.5 KB

AuthenticatedSession

AuthenticatedSession Serializer

Properties

Name Type Description Notes
uuid UUID [optional]
current bool Check if session is currently active session [readonly]
user_agent AuthenticatedSessionUserAgent
geo_ip AuthenticatedSessionGeoIp
asn AuthenticatedSessionAsn
user int
last_ip str [readonly]
last_user_agent str [readonly]
last_used datetime [readonly]
expires datetime [readonly]

Example

from authentik_client.models.authenticated_session import AuthenticatedSession

# TODO update the JSON string below
json = "{}"
# create an instance of AuthenticatedSession from a JSON string
authenticated_session_instance = AuthenticatedSession.from_json(json)
# print the JSON string representation of the object
print(AuthenticatedSession.to_json())

# convert the object into a dict
authenticated_session_dict = authenticated_session_instance.to_dict()
# create an instance of AuthenticatedSession from a dict
authenticated_session_from_dict = AuthenticatedSession.from_dict(authenticated_session_dict)

[Back to Model list] [Back to API list] [Back to README]