HttpAuthDenied class final

Refused: 401 (no or invalid token) or 403 (insufficient_scope), with the WWW-Authenticate parameters to send.

Inheritance

Constructors

HttpAuthDenied({required int status, String? error, String? description, List<String> scope = const []})
const

Properties

description → String?
final
error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → List<String>
The scopes the operation needs (all of them, in one challenge).
final
status → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited