DVApiKeyCheck class

The outcome of checking a presented key.

Constructors

DVApiKeyCheck.failed(DVApiKeyFailure failure, {DVApiKey? key, String? code})
const
DVApiKeyCheck.valid(DVApiKey key, DVApiPrincipal principal)
const

Properties

code → String?
DV-APIKEY-003 when the key stopped at the end of a rotation overlap.
final
failure → DVApiKeyFailure?
final
hashCode → int
The hash code for this object.
no setterinherited
key → DVApiKey?
The key the presented secret named, when it named a real one.
final
principal → DVApiPrincipal?
final
reveal → String
What a caller is told. The same words for every failure, so a caller cannot probe which ids exist or which keys were revoked.
no setter
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
toString() → String
A string representation of this object.
inherited

Operators

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