AuthPluginEndpointFixture<TContext> constructor

AuthPluginEndpointFixture<TContext>({
  1. required Iterable<AuthEndpointDescriptor<TContext>> endpoints,
  2. required AuthTestInvocationFactory<TContext> invocation,
  3. String basePath = '/auth',
  4. 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,
     );