Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.07 KB

File metadata and controls

36 lines (27 loc) · 2.07 KB

UserLoginStageRequest

UserLoginStage Serializer

Properties

Name Type Description Notes
name str
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.user_login_stage_request import UserLoginStageRequest

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

# convert the object into a dict
user_login_stage_request_dict = user_login_stage_request_instance.to_dict()
# create an instance of UserLoginStageRequest from a dict
user_login_stage_request_from_dict = UserLoginStageRequest.from_dict(user_login_stage_request_dict)

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