AuthInstalledClientOperationContract class final

Executable conformance contract for one installed client operation.

Unlike AuthClientOperationDescriptor, this contract does not trust a server plugin's declaration as evidence that a client exists. The suite installs plugin through AuthClientPluginContext, calls invoke on the resulting typed API, validates the real transport request with the server request codec, checks response JSON against the server schema, and feeds the client both valid and malformed responses.

Constructors

AuthInstalledClientOperationContract({required String endpointId, required AuthClientPlugin<Object> plugin, required AuthInstalledClientOperationInvoker invoke, required AuthClientConformanceResponse response, AuthInstalledClientResponseVerifier? verifyResponse, List<AuthClientConformanceResponse> malformedResponses = const <AuthClientConformanceResponse>[], List<String> sensitiveValues = const <String>[]})
const

Properties

endpointId String
Server endpoint operation ID expected to own the client operation.
final
hashCode int
The hash code for this object.
no setterinherited
invoke AuthInstalledClientOperationInvoker
Representative call made against the installed typed API.
final
malformedResponses List<AuthClientConformanceResponse>
Responses that the installed client codec must reject.
final
plugin AuthClientPlugin<Object>
Independently selected client plugin that exposes the typed API.
final
response AuthClientConformanceResponse
Successful response accepted by both server and client codecs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitiveValues List<String>
Secrets that must not appear in public result serialization or failures.
final
verifyResponse AuthInstalledClientResponseVerifier?
Optional semantic check for the decoded public result.
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