authenticateCram method

Future<bool> authenticateCram(
  1. dynamic secret
)

Generates digest using from verb response and secret and performs a CRAM authentication to secondary server

Implementation

Future<bool> authenticateCram(var secret) async {
  if (secret == null) {
    throw UnAuthenticatedException('Cram secret cannot be null');
  }
  var authResult = await atLookUp.cramAuthenticate(secret);
  return authResult;
}