_login_config
This struct represents default auth descriptor configurations that can be used by the client
to create credentials that can access the account. These configurations can be defined by
the dapp developer by extending the login_config function.
When a user tries to log into a dapp, a login auth descriptor will be created using one of these configurations, and the signer will be stored in such a way that allows the client to sign all transactions it's allowed to without asking for user confirmation.
Using this feature allows the client to provide a better user experience, since the client will be allowed to call what the dapp considers non-sensitive operations.
Proper configuration is required to avoid allowing sensitive operations to be called by the login keypairs that are accessible to the client.
struct _login_config {What auth flags the login auth descriptor will have.
See Also
- _auth_handler — for a description of auth flags.
flags: list<text>;What expiration rules the auth descriptor will have
See Also
- [core.accounts.rule_expression] — for a description of expiration rules.
rules: gtv? = null;}