public function LingotekOAuthRequestVerifier::setAcceptedSignatureMethods in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/LingotekOAuthRequestVerifier.php \LingotekOAuthRequestVerifier::setAcceptedSignatureMethods()
- 7.4 lib/oauth-php/library/LingotekOAuthRequestVerifier.php \LingotekOAuthRequestVerifier::setAcceptedSignatureMethods()
- 7.6 lib/oauth-php/library/LingotekOAuthRequestVerifier.php \LingotekOAuthRequestVerifier::setAcceptedSignatureMethods()
* *
Parameters
array $accepted The array of accepted signature methods, or if null is passed : * all supported methods are accepted and there is no filtering. *
File
- lib/
oauth-php/ library/ LingotekOAuthRequestVerifier.php, line 295
Class
Code
public function setAcceptedSignatureMethods($accepted = null) {
if (is_array($accepted)) {
$this->accepted_signatures = $accepted;
}
else {
if ($accepted == null) {
$this->accepted_signatures = null;
}
}
}