canonicalAuthMethod function

String canonicalAuthMethod(
  1. String method
)

Normalizes the legacy SCRAM configuration name, not the negotiated wire name.

Implementation

String canonicalAuthMethod(String method) =>
    method == 'scram' ? 'wamp-scram' : method;