Scope

public final class Scope implements Parcelable


Describes an OAuth 2.0 scope to request. This has security implications for the user, and requesting additional scopes will result in authorization dialogs.

Summary

Constants

static final Parcelable.Creator<Scope>

Public constructors

Scope(String scopeUri)

Creates a new scope with the given URI.

Public methods

boolean
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<ScopeCREATOR

Public constructors

Scope

public Scope(String scopeUri)

Creates a new scope with the given URI.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)