AuthCodeController constructor
AuthCodeController(
- AuthServer? authServer, {
- 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
AuthCodeController(this.authServer, {this.delegate}) {
acceptedContentTypes = [
ContentType("application", "x-www-form-urlencoded")
];
}