options method

Future<void> options(
  1. String match,
  2. HttpHandler handler, {
  3. List<OidcOptions>? security,
})

A OPTIONS request handler that matches a specific route.

Implementation

Future<void> options(String match, HttpHandler handler,
    {List<OidcOptions>? security}) async {
  await Route(this, opts.basePath + match,
          security: security ?? opts.security, apiClient: _apiClient)
      .options(handler);
}