AuthRedirectController constructor Null safety

AuthRedirectController(
  1. AuthServer? authServer,
  2. {AuthRedirectControllerDelegate? delegate,
  3. bool allowsImplicit = true}
)

Creates a new instance of an AuthRedirectController.

authServer is the required authorization server. If delegate is provided, this controller will return a login page for all GET requests.

Implementation

AuthRedirectController(this.authServer,
    {this.delegate, this.allowsImplicit = true}) {
  acceptedContentTypes = [
    ContentType("application", "x-www-form-urlencoded")
  ];
}