Creates a new instance of an AuthController.
An AuthController requires an AuthServer to carry out tasks. By default, an AuthController has only one acceptedContentTypes - 'application/x-www-form-urlencoded'.
Source
AuthController(this.authServer) { acceptedContentTypes = [ new ContentType("application", "x-www-form-urlencoded") ]; }