ClientAuthorizer typedef
ClientAuthorizer =
FutureOr<bool> Function(SigningPublicKey key, String clientId)
Decides whether an authenticated client may use the channel. key has
already proven possession of its private key in this handshake;
clientId is the name the client presented. Returning false (or
throwing) rejects the client.
Implementation
typedef ClientAuthorizer =
FutureOr<bool> Function(SigningPublicKey key, String clientId);