AuthController constructor Null safety

AuthController(
  1. AuthServer? authServer
)

Creates a new instance of an AuthController.

authServer is the isRequired authorization server that grants tokens.

Implementation

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