java.lang.Object | |
↳ | com.amazon.identity.auth.device.api.authorization.ProfileScope |
A Scope
factory for the scopes provided by Login With Amazon.
If a desired scope is not available here or through other SDKs compatible with the Login With Amazon SDK,
ScopeFactory
can be used to create programmatic scopes from their raw string names.{@since 3.0
}
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The
"postal_code" Scope provides authorization to the user's zip/postal code via
getUserPostalCode() . | |||||||||||
The
"profile" Scope provides authorization to the following user profile data:
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The "postal_code"
Scope
provides authorization to the user's zip/postal code via
getUserPostalCode()
.
The "profile"
Scope
provides authorization to the following user profile data:
getUserId()
getUserName()
getUserEmail()
The "profile:user_id"
Scope
provides authorization to the user's Amazon account ID via
getUserId()
.