DVApiAuthentication class

What the authentication stage made of a request.

Constructors

DVApiAuthentication.authenticated(DVApiPrincipal principal)
const
DVApiAuthentication.refused(int status, String message, {String? challenge})
const

Properties

challenge → String?
The WWW-Authenticate value, for a 401.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
The fixed text of the refusal. Nothing from the request is in it.
final
principal → DVApiPrincipal?
final
refused → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int?
The status to answer with, when the request is refused.
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

Constants

none → const DVApiAuthentication
The request carried no platform credential: it is the application's.