| Interface | osid.authentication.AgencyQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among   Agencies may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | canSearchAgencies | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if search methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgencyQuery | ||
| Description | 
                     Gets an agency query.  | ||
| Return | osid.authentication.AgencyQuery | an agency query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgenciesByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.authentication.AgencyQuery | agencyQuery | the agency query | 
| Return | osid.authentication.AgencyList | the returned  AgencyList   | |
| Errors | NULL_ARGUMENT |  agencyQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  agencyQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |