login() function
Login functionality for Taipy GUI.
If you want to give users with a way to specify their username and password in the GUI,
you may want to use the login
control and call this function in its on_action
callback.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state |
State
|
The current user state as received in any callback. |
required |
username |
string
|
the user name for the user to be authenticated. |
None
|
password |
string
|
the password used for authentication. |
None
|
authenticator |
Authenticator
|
the authenticator object. |
None
|
redirected_page |
string
|
the page to redirect to after successful sso login. |
None
|