| Interface | osid.authentication.keys.KeySearchSession | ||
|---|---|---|---|
| Implements | osid.authentication.keys.KeyQuerySession | ||
| Description | 
                 This session provides methods for searching    This session defines views that offer differing behaviors for searching. 
 Keys may have a query record indicated by their respective record types. The query record is accessed via the KeyQuery.  | ||
| Method | getKeySearch | ||
| Description | 
                     Gets a key query.  | ||
| Return | osid.authentication.keys.KeySearch | the key search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getKeySearchOrder | ||
| Description | 
                     Gets a key search order. The   | ||
| Return | osid.authentication.keys.KeySearchOrder | the key search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getKeysBySearch | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.authentication.keys.KeyQuery | keyQuery | the key query | 
osid.authentication.keys.KeySearch | keySearch | the key search | |
| Return | osid.authentication.keys.KeySearchResults | the returned search results | |
| Errors | NULL_ARGUMENT |  keyQuery  or  keySearch  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  keySearch  or a  keyQuery  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getKeyQueryFromInspector | ||
| Description | 
                     Gets a key query from an inspector. The inspector is 
                    available from an   | ||
| Parameters | osid.authentication.keys.KeyQueryInspector | keyQueryInspector | a query inspector | 
| Return | osid.authentication.keys.KeyQuery | the key query | |
| Errors | NULL_ARGUMENT |  keyQueryInspector  is  null   |                 |
| UNSUPPORTED |  keyQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |