AuthPluginEndpointFixture<TContext> constructor
AuthPluginEndpointFixture<TContext> ({
- required Iterable<
AuthEndpointDescriptor< endpoints,TContext> > - required AuthTestInvocationFactory<
TContext> invocation, - String basePath = '/auth',
- String csrfToken = 'fixture-csrf-token',
Creates a bridge for endpoints.
Implementation
AuthPluginEndpointFixture({
required Iterable<AuthEndpointDescriptor<TContext>> endpoints,
required this.invocation,
this.basePath = '/auth',
this.csrfToken = 'fixture-csrf-token',
}) : _endpoints = List<AuthEndpointDescriptor<TContext>>.unmodifiable(
endpoints,
);