MCPcopy Create free account
hub / github.com/apache/trafficserver / authorized

Function authorized

example/plugins/c-api/basic_auth/basic_auth.cc:72–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static int
73authorized(char *user, char *password)
74{
75 /*
76 * This routine checks the validity of the user name and
77 * password. UNIX systems, enter your own authorization code
78 * here. ToDO: This doesn't do anything useful now.
79 */
80 if (user && password) {
81 return 1;
82 } else {
83 return 0;
84 }
85}
86
87static void
88handle_dns(TSHttpTxn txnp, TSCont contp)

Callers 1

handle_dnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected