com.amazon.identity.auth.device.api.authorization.Scope |
Defines the programmatic concept of an OAuth 2.0 scope. The AuthorizationManager
and related APIs take in
scopes that conform to this interface. There are multiple ways to get a Scope
object:
ProfileScope
factory.Scope
is not provided by an SDK, use the ScopeFactory
factory methods to create one.Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The literal scope name of an OAuth 2.0 request scope.
| |||||||||||
A
Scope can have additional data passed in as part of authorization. |
The literal scope name of an OAuth 2.0 request scope.
An example of this would be "profile" for the Scope returned by the
profile()
factory method.
A Scope
can have additional data passed in as part of authorization. This additional data is
returned by the Scope
implementation as a JSON representation.