Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.17 KB

File metadata and controls

36 lines (27 loc) · 2.17 KB

PatchedUserLoginStageRequest

UserLoginStage Serializer

Properties

Name Type Description Notes
name str [optional]
session_duration str Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3) [optional]
terminate_other_sessions bool Terminate all other sessions of the user logging in. [optional]
remember_me_offset str Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3) [optional]
network_binding NetworkBindingEnum Bind sessions created by this stage to the configured network [optional]
geoip_binding GeoipBindingEnum Bind sessions created by this stage to the configured GeoIP location [optional]
remember_device str When set to a non-zero value, authentik will save a cookie with a longer expiry,to remember the device the user is logging in from. (Format: hours=-1;minutes=-2;seconds=-3) [optional]

Example

from authentik_client.models.patched_user_login_stage_request import PatchedUserLoginStageRequest

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

# convert the object into a dict
patched_user_login_stage_request_dict = patched_user_login_stage_request_instance.to_dict()
# create an instance of PatchedUserLoginStageRequest from a dict
patched_user_login_stage_request_from_dict = PatchedUserLoginStageRequest.from_dict(patched_user_login_stage_request_dict)

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