Skip to content

Commit 16ec9b9

Browse files
authored
Merge pull request #1038 from bitamar/extendable-restful-authentication-token
Making RestfulAuthenticationToken::extractTokenFromRequest() reuesable
2 parents e1f00c3 + afc5ed0 commit 16ec9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/restful_token_auth/plugins/authentication/RestfulAuthenticationToken.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class RestfulAuthenticationToken extends \RestfulAuthenticationBase {
1717
* @return string
1818
* The token from the request or FALSE if token isn't exists.
1919
*/
20-
private function extractTokenFromRequest(array $request = array(), $param_name) {
20+
protected function extractTokenFromRequest(array $request = array(), $param_name) {
2121
$key_name = !empty($param_name) ? $param_name : 'access_token';
2222
$dashed_key_name = str_replace('_', '-', $key_name);
2323

0 commit comments

Comments
 (0)