render method Null safety

Future<String?> render(
  1. AuthRedirectController forController,
  2. Uri requestUri,
  3. String? responseType,
  4. String? clientID,
  5. String? state,
  6. String? scope

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 requestUri.

The form submission should include the values of responseType, clientID, state, scope as well as user-entered username and password in x-www-form-urlencoded data, e.g.

    Content-Type: application/x-www-form-urlencoded


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);