AuthCodeController constructor Null safety

  1. @Deprecated('Use AuthRedirectController instead.')
AuthCodeController(
  1. AuthServer authServer,
  2. {AuthCodeControllerDelegate? delegate}
)

Creates a new instance of an AuthCodeController.

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

Implementation

@Deprecated('Use AuthRedirectController instead.')
AuthCodeController(this.authServer, {this.delegate}) {
  acceptedContentTypes = [
    ContentType("application", "x-www-form-urlencoded")
  ];
}