java.lang.Object
com.amazon.A3L.authentication.common.api.Scope

public class Scope extends Object
Describes an OAuth 2.0 scope to request. This has security implications for the user, and requesting additional scopes will result in authorization dialogs.
  • Field Details

    • CREATOR

      public static final <any> CREATOR
  • Constructor Details

    • Scope

      public Scope(@NonNull String scopeUri)
      Creates a new scope with the given URI.
  • Method Details

    • describeContents

      public int describeContents()
    • writeToParcel

      public void writeToParcel(@NonNull Parcel parcel, int i)
    • equals

      public boolean equals(@Nullable Object scope)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @NonNull public String toString()
      Returns scope uri for the Scope
      Overrides:
      toString in class Object
      Returns:
      String: Scope Uri