public final class

ProfileScope

extends Object
java.lang.Object
   ↳ com.amazon.identity.auth.device.api.authorization.ProfileScope

Class Overview

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 }

Summary

Public Methods
static Scope postalCode()
The "postal_code" Scope provides authorization to the user's zip/postal code via getUserPostalCode().
static Scope profile()
The "profile" Scope provides authorization to the following user profile data:
static Scope userId()
The "profile:user_id" Scope provides authorization to the user's Amazon account ID via getUserId().
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Scope postalCode ()

The "postal_code" Scope provides authorization to the user's zip/postal code via getUserPostalCode().

public static Scope profile ()

The "profile" Scope provides authorization to the following user profile data:

public static Scope userId ()

The "profile:user_id" Scope provides authorization to the user's Amazon account ID via getUserId().