OSID Logo
OSID Specifications
authentication package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authentication.Agency
Implementsosid.OsidCatalog
Description

An agency defines a collection of agents.

MethodgetAgencyRecord
Description

Gets the agency record corresponding to the given Agency record Type. This method is used to retrieve an object implementing the requested record. The agencyRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(agencyRecordType) is true .

Parametersosid.type.TypeagencyRecordTypean agency record type
Returnosid.authentication.records.AgencyRecordthe agency record
ErrorsNULL_ARGUMENT agencyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(agencyRecordType) is false
CompliancemandatoryThis method must be implemented.