Base interface that may be implemented by API bindings.
Provides a simple boolean tester that can be used to determine if the API binding has been authorized for a specific user.
Returns true if this API binding has been authorized on behalf of a specific user.
Method Detail
isAuthorized
boolean isAuthorized()
Returns true if this API binding has been authorized on behalf of a specific user.
If so, calls to the API are signed with the user's authorization credentials, indicating an application is invoking the API on a user's behalf.
If not, API calls do not contain any user authorization information.
Callers can use this status flag to determine if API operations requiring authorization can be invoked.
Returns:
true if this API binding has been authorized on behalf of a specific user.