private bool BackButtonDetected(string code) { var codeHash = _hmacCrypto.ToBase64EncodedSha256(code); return(_connectionRepository.IsSameAuthCode(codeHash)); }