public interface AuthorizationScope
AuthorizationData
, useful for Authorization Resources to determine what scope an access
token represents and then decide whether to allow the request to be served or not. Each scope has two properties: A feature name and
optionally, its associated values. A feature can be associated with zero or more values. For example, a "read" feature can have
"standard" and "privileged" as its associated values. A feature can also represent no value. The same "read" feature may be associated
with no value, in which case, presence of the feature would mean "read allowed" and an absence of it would mean "read not allowed". Note
that only those features and values which have been authorized to an entity by an administrator shall be provided by this object.
Check SampleAuthorizationResource
.getLatestMail() for an example usage.Modifier and Type | Method and Description |
---|---|
String |
getFeatureName() |
List |
getFeatureValues() |
Copyright © 2016 Avaya. All Rights Reserved.