Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.39 KB

File metadata and controls

42 lines (33 loc) · 2.39 KB

UserLoginStage

UserLoginStage Serializer

Properties

Name Type Description Notes
pk UUID [readonly]
name str
component str Get object type so that we know how to edit the object [readonly]
verbose_name str Return object's verbose_name [readonly]
verbose_name_plural str Return object's plural verbose_name [readonly]
meta_model_name str Return internal model name [readonly]
flow_set List[FlowSet] [readonly]
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 import UserLoginStage

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

# convert the object into a dict
user_login_stage_dict = user_login_stage_instance.to_dict()
# create an instance of UserLoginStage from a dict
user_login_stage_from_dict = UserLoginStage.from_dict(user_login_stage_dict)

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