public static function RestfulTokenAuthenticationBase::getTokenFromEntity in RESTful 7
Get the token string from the token entity.
Parameters
\RestfulTokenAuth $token: The restful_token_auth entity.
Return value
string The token string.
File
- modules/
restful_token_auth/ includes/ RestfulTokenAuthenticationBase.php, line 61 - Contains \RestfulTokenAuthenticationBase
Class
- RestfulTokenAuthenticationBase
- @file Contains \RestfulTokenAuthenticationBase
Code
public static function getTokenFromEntity(\RestfulTokenAuth $token) {
return $token->token;
}