Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 25 of 58) sorted by relevance

123

/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Factory/
H A DDigestMD5MessageFactory.php80 $challenge = new Message();
81 $challenge->set('algorithm', 'md5-sess');
86 $challenge->set('charset', 'utf-8');
87 if (in_array('auth-conf', $challenge->get('qop'))) {
91 return $challenge;
113 $response->set('nonce', $challenge->get('nonce'));
162 $available = (array) ($challenge->get('qop') ?? []);
213 if (!$challenge->has('cipher')) {
216 $ciphers = $challenge->get('cipher');
253 if (!$challenge->has('realm')) {
[all …]
/plugin/authradius/
H A Dmschap.php61 function ChallengeResponse($challenge, $nthash) argument
66 $resp1 = des_encrypt_ecb(substr($nthash, 0, 7), $challenge);
67 $resp2 = des_encrypt_ecb(substr($nthash, 7, 7), $challenge);
68 $resp3 = des_encrypt_ecb(substr($nthash, 14, 7), $challenge);
85 function ChallengeHash($challenge, $peerChallenge, $username) argument
87 return substr(pack('H*', hash('sha1', $peerChallenge . $challenge . $username)), 0, 8);
90 function GenerateNTResponse($challenge, $peerChallenge, $username, $password) argument
92 $challengeHash = ChallengeHash($challenge, $peerChallenge, $username);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Firebaseappcheck/
H A DGoogleFirebaseAppcheckV1betaAppAttestChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.php29 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
52 public function setChallenge($challenge) argument
54 $this->challenge = $challenge;
61 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.php33 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
66 public function setChallenge($challenge) argument
68 $this->challenge = $challenge;
75 return $this->challenge;
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Mechanism/
H A DDigestMD5Mechanism.php46 public function challenge(): ChallengeInterface function in FreeDSx\\Sasl\\Mechanism\\DigestMD5Mechanism
48 $challenge = new DigestMD5Challenge();
50 return $challenge;
100 …public static function computeResponse(string $password, Message $challenge, Message $response, bo… argument
102 $a1 = self::computeA1($password, $challenge, $response);
120 $challenge->get('nonce'),
140 … public static function computeA1(string $password, Message $challenge, Message $response): string argument
151 $challenge->get('nonce'),
H A DMechanismInterface.php38 public function challenge(): ChallengeInterface; function
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Verifiedaccess/
H A DChallenge.php44 public function setChallenge(SignedData $challenge) argument
46 $this->challenge = $challenge;
53 return $this->challenge;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/
H A DVerifiedaccess.php42 public $challenge; variable in Google\\Service\\Verifiedaccess
63 'challenge',
67 'path' => 'v1/challenge',
71 'path' => 'v1/challenge:verify',
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Challenge/
H A DDigestMD5Challenge.php56 protected $challenge; variable in FreeDSx\\Sasl\\Challenge\\DigestMD5Challenge
69 public function challenge(?string $received = null, array $options = []): SaslContext function in FreeDSx\\Sasl\\Challenge\\DigestMD5Challenge
197 if ($this->challenge === null) {
210 if (!in_array($qop, $this->challenge->get('qop'), true)) {
214 if (!in_array($cipher, $this->challenge->get('cipher'), true)) {
222 if ($received->get('nonce') !== $this->challenge->get('nonce')) {
228 $expected = DigestMD5Mechanism::computeResponse($password, $this->challenge, $received);
233 … $response = DigestMD5Mechanism::computeResponse($password, $this->challenge, $received, true);
237 …context->set('a1', hex2bin(DigestMD5Mechanism::computeA1($password, $this->challenge, $received)));
258 $this->challenge = $this->factory->create(
[all …]
H A DCramMD5Challenge.php50 public function challenge(?string $received = null, array $options = []): SaslContext function in FreeDSx\\Sasl\\Challenge\\CramMD5Challenge
72 $challenge = new Message(['challenge' => $nonce]);
73 $this->context->setResponse($this->encoder->encode($challenge, $this->context));
74 $this->context->set('challenge', $challenge->get('challenge'));
119 protected function generateDigest(string $challenge, string $key): string argument
123 $challenge,
H A DChallengeInterface.php34 public function challenge(?string $received = null, array $options = []): SaslContext; function
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Encoder/
H A DCramMD5Encoder.php58 $challenge = $message->get('challenge');
60 return '<' . $challenge . '>';
87 protected function decodeServerChallenge(string $challenge): Message argument
89 if (!preg_match('/^<.*>$/', $challenge)) {
93 return new Message(['challenge' => $challenge]);
/plugin/swiftmail/Swift/Authenticator/
H A DCRAMMD5.php34 $challenge = base64_decode($encoded_challenge);
35 $response = base64_encode($user . " " . self::generateCRAMMD5Hash($pass, $challenge));
57 public static function generateCRAMMD5Hash($password, $challenge) argument
68 $inner = pack('H32', md5($k_ipad.$challenge));
/plugin/authgooglesheets/vendor/google/apiclient-services/src/IdentityToolkit/
H A DRelyingparty.php45 public $challenge; variable in Google\\Service\\IdentityToolkit\\Relyingparty
156 public function setChallenge($challenge) argument
158 $this->challenge = $challenge;
165 return $this->challenge;
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ClientProtocolHandler/
H A DClientSaslBindHandler.php115 $challenge = $mech->challenge();
119 … $context = $challenge->challenge($saslResponse->getSaslCredentials(), $request->getOptions());
132 … $context = $challenge->challenge($saslResponse->getSaslCredentials(), $request->getOptions());
/plugin/groupmail/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/recaptcha/lib/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/contactmodern/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/
H A DPlugin.php167 $this->challenge($request, $response);
232 function challenge(RequestInterface $request, ResponseInterface $response) { function in Sabre\\DAV\\Auth\\Plugin
235 $backend->challenge($request, $response);
/plugin/letsencrypt/
H A DLescript.php91 $directory = $this->webRootDir . '/.well-known/acme-challenge';
95 … throw new \RuntimeException("Couldn't create directory to expose challenge: ${tokenPath}");
105 …$payload = $challenge['token'] . '.' . Base64UrlSafeEncoder::encode(hash('sha256', json_encode($he…
126 $challenge['uri'],
129 "type" => $this->challenge,
131 "token" => $challenge['token']
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/Backend/
H A DBackendInterface.php68 function challenge(RequestInterface $request, ResponseInterface $response); function
/plugin/davcal/vendor/sabre/dav/lib/DAV/Auth/Backend/
H A DBackendInterface.php68 function challenge(RequestInterface $request, ResponseInterface $response); function

123