AuthRedirectController constructor
AuthRedirectController(
- AuthServer authServer, {
- AuthRedirectControllerDelegate? delegate,
- bool allowsImplicit = true,
Creates a new instance of an AuthRedirectController.
authServer
is the required authorization server. If delegate
is provided, this controller will return a login page for all GET requests.
Implementation
AuthRedirectController(
this.authServer, {
this.delegate,
this.allowsImplicit = true,
}) {
acceptedContentTypes = [
ContentType("application", "x-www-form-urlencoded")
];
}