public static function findByToken($token, $model) { return AuthorizationToken::where('token', '=', $token)->where("model", "=", $model)->first(); }