setAuthorizer method
void
setAuthorizer()
Register the server's decision for each HTTP request's credentials: every POST (with its messages), GET and DELETE asks it first.
Implementation
void setAuthorizer(
Future<HttpAuthDecision> Function(
String? bearer,
List<Map<String, dynamic>> messages,
)
authorizer,
) {
_authorizer = authorizer;
}