public function checkScope($scope)
	{
		if (isset($this->scopes[$scope])) {
			return $this->scopes[$scope];
		}
		
		if (!empty($this->scopes['*'])) {
			return true;
		}
		
		if (!$this->check()) {
			return false;
		}
		
		if ('user' == $this->type) {
			$this->scopes[$scope] = Authorizer::hasScope($scope);
		}
		else {
			$client = $this->client();
			$this->scopes[$scope] = in_array($scope, $client->scopes());
		}
		
		if (!$this->scopes[$scope] && '*' != $scope) {
			$this->scopes[$scope] = $this->checkScope('*');
		}
		
		return $this->scopes[$scope];
	}