The user to request the role switch for.
The new role to switch to.
The URL to redirect the user to after the request is processed.
Optional
reason: stringAn optional (but highly recommended) reason for the role switch request. Shows to the user when they authenticate the request.
The session change request with an authentication URL for the user to visit.
Used to request a role switch to a privileged role. Requires a user to authenticate the request.