AuthenticationRequiredException class

Thrown when authentication is needed from the end user before viewing the content.

This exception is only appropriate where there is a concrete action the user can take to authorize and make forward progress, such as confirming or entering authentication credentials, or granting access via other means.

See: https://developer.android.com/reference/android/app/AuthenticationRequiredException See: https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/app/AuthenticationRequiredException.java

Inheritance
Mixed in types

Constructors

AuthenticationRequiredException()

Properties

code String
An error code.
final, inherited
details → dynamic
Error details, possibly null. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A human-readable error message, possibly null.
final, inherited
parcelableCreator String
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stacktrace String
Native stacktrace for the error, possibly null. [...]
final, inherited

Methods

describeContents() int
Describe any special objects contained in this instance's marshaled representation. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
writeToParcel(Parcel parcel, [int flags = 0]) → void
Flatten this object in to a Parcel. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited