_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.

Properties

Link copied to clipboard

What auth flags the login auth descriptor will have.

Link copied to clipboard
val rules: gtv? = null

What expiration rules the auth descriptor will have