add_login_config

function add_login_config(name: text, flags: list<text>, rules: gtv?): map<text, _login_config>(source)

Utility function to help extend the login_config function.

Example usage:

@extend(auth.login_config)
function () = add_login_config(name, flags, rules);

Parameters

name

the name of the login configuration

flags

the flags to add to the login auth descriptor

rules

the expiration rules the login auth descriptor will have

See also

_login_config

for more information about login configurations.