DVOAuthError class

An OAuth error, with RFC 6749's error code.

Implemented types

Constructors

DVOAuthError(String error, String description, {bool redirectable = true})
const

Properties

description → String
final
error → String
invalid_request, invalid_client, invalid_grant, invalid_scope, unsupported_grant_type or unsupported_response_type.
final
hashCode → int
The hash code for this object.
no setterinherited
redirectable → bool
Whether the error may be sent to the redirect URI. False when the client or the redirect URI itself is the problem: redirecting there would hand an attacker's URI the error, and with it an open redirector.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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