| @@ 41-49 (lines=9) @@ | ||
| 38 | * @param \SS_HTTPRequest $request |
|
| 39 | * @return \Member |
|
| 40 | */ |
|
| 41 | public static function current($request) { |
|
| 42 | try { |
|
| 43 | $token = AuthFactory::get_token($request); |
|
| 44 | return self::get_member_from_token($token); |
|
| 45 | } catch(\Exception $e) { |
|
| 46 | \SS_Log::log($e->getMessage(), \SS_Log::INFO); |
|
| 47 | } |
|
| 48 | return false; |
|
| 49 | } |
|
| 50 | ||
| 51 | /** |
|
| 52 | * |
|
| @@ 45-53 (lines=9) @@ | ||
| 42 | } |
|
| 43 | } |
|
| 44 | ||
| 45 | public static function current($request) { |
|
| 46 | try { |
|
| 47 | $token = AuthFactory::get_token($request); |
|
| 48 | return self::get_member_from_token($token); |
|
| 49 | } catch(\Exception $e) { |
|
| 50 | \SS_Log::log($e->getMessage(), \SS_Log::INFO); |
|
| 51 | } |
|
| 52 | return false; |
|
| 53 | } |
|
| 54 | ||
| 55 | /** |
|
| 56 | * |
|