| Interface | osid.authentication.process.CircleOfTrustSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session examines the relationship between
| ||
| Method | getAgencyId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Agency Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgency | ||
| Description |
Gets the | ||
| Return | osid.authentication.Agency | the Agency associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupTrustCircles | ||
| Description |
Tests if this user can look up trusts for agents. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known these methods will result in a | ||
| Return | boolean | false if trust methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedAgencyView | ||
| Description |
Federates the view for methods in this session. A federated view will include trusts in agencies which are children of this agency in the agency hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedAgencyView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this agency only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getTrust | ||
| Description |
Gets a trust level for the given agent. An | ||
| Parameters | osid.id.Id | agentId | an agent Id |
| Return | osid.authentication.process.Trust | the trust | |
| Errors | NOT_FOUND | agentId is not found | |
| NULL_ARGUMENT | agentId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | isInCircle | ||
| Description |
Tests if the given agent is inside the given circle of trust. | ||
| Parameters | osid.id.Id | agentId | an agent Id |
| Return | boolean | true if the agent is in the given trust, false
if agent not found or is outside the circle | |
| Errors | NULL_ARGUMENT | agentId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |