AuthController constructor

AuthController(
  1. AuthServer? authServer
)

Creates a new instance of an AuthController.

authServer is the required authorization server that grants tokens.

Implementation

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