Accepts an auth object and logs in the user with the given token. The auth object can be generated by using the User Management blocks "Sign in" or "Sign as User"
Will reload the frontend after login if set to true
By default the current token will be saved in the frontend so the user can log back into the original account again if he was already logged in. By setting this to true the original token will be overwritten.
Validate form is used when there is a frontend involved. If a user sees a form in the frontend all the inputs and their validation will be saved in the backend with a given form id. These saved inputs can be used to automatically validate the form for that user.
Form id (optional)
The form id used in the inputs
Selector to be used when this outlet is used multiple times within the current page.
Validate object is used when there is no frontend involved. If an object from an api request needs to be validated we do not have a form to work. If a frontend is involved and the receives inputs with validation the validate form can be used.