MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / readAuthToken

Function readAuthToken

Libraries/HttpClient/HttpClientSession.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 for (size_t idx = 0; idx < bytes.sizeInBytes(); ++idx)
59 {
60 if (not isHttpTokenCharacter(bytes[idx]))
61 {
62 return false;
63 }
64 }
65 return true;
66}
67
68static bool isCookieValueByte(char value)
69{
70 const unsigned char byte = static_cast<unsigned char>(value);

Callers 3

findAuthChallengeEndFunction · 0.85
parseAuthRealmFunction · 0.85

Calls 1

isHttpTokenCharacterFunction · 0.85

Tested by

no test coverage detected