public function getAuthCodeScopes($oauthSessionAuthCodeId)
    {
        $scopesResults = DB::table('oauth_session_authcode_scopes')
                ->where('oauth_session_authcode_id', '=', $oauthSessionAuthCodeId)
                ->get();

        $scopes = array();

        foreach($scopesResults as $key=>$scope)
        {
			$scopes[$key] = get_object_vars($scope);

		}
        
        return $scopes;
        
    }