AuthPluginConformanceSuite<TContext> class final

Framework-neutral contract suite for a composed auth plugin topology.

The suite depends only on public server_auth contracts and does not depend on a test framework. It snapshots a frozen AuthRuntime, so cases may be registered with any runner and executed independently.

Constructors

AuthPluginConformanceSuite.fromRuntime(AuthRuntime<TContext> runtime, {Map<String, String> publicEndpointClientExceptions = const <String, String>{}, Iterable<AuthInstalledClientOperationContract> installedClientOperations = const <AuthInstalledClientOperationContract>[]})
Creates a suite for the plugins composed into runtime.

Properties

cases List<AuthPluginConformanceCase>
Independently runnable cases in stable registration order.
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

filtered({Iterable<String>? include, Iterable<String> exclude = const <String>[]}) List<AuthPluginConformanceCase>
Selects cases by stable ID while preserving registration order.
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