FUNCTION

add_login_config

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

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.
© 2024 Chromia