render method Null safety
Returns an HTML representation of a login form.
Invoked when AuthRedirectController.getAuthorizationPage is called in response to a GET request.
Must provide HTML that will be returned to the browser for rendering. This form submission of this page
should be a POST to
The form submission should include the values of
as well as user-entered username and password in
x-www-form-urlencoded data, e.g.
POST https://example.com/auth/code Content-Type: application/x-www-form-urlencoded response_type=code&client_id=com.conduit.app&state=o9u3jla&username=bob&password=password
If not null,
scope should also be included as an additional form parameter.
Future<String?> render(AuthRedirectController forController, Uri requestUri, String? responseType, String? clientID, String? state, String? scope);