DPoPSigner class abstract interface

Generates DPoP key pairs and signs DPoP proof JWTs (RFC 9449). Inject a custom implementation to sign with a platform keystore / non-extractable key. The DPoPKeyPair strings are opaque to everyone but the signer.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createProof({required String htm, required String htu, required DPoPKeyPair keyPair, String? nonce, String? accessToken}) Future<String>
Builds a signed dpop+jwt proof. htu MUST already exclude query and fragment (RFC 9449 §4.2). When accessToken is non-null an ath claim is included; when nonce is non-null a nonce claim is included.
generateKeyPair() Future<DPoPKeyPair>
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