ory_oathkeeper_client 0.39.0 copy "ory_oathkeeper_client: ^0.39.0" to clipboard
ory_oathkeeper_client: ^0.39.0 copied to clipboard

OpenAPI API client

ory_oathkeeper_client (EXPERIMENTAL) #

ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: v0.39.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://www.ory.am

Requirements #

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage #

pub.dev #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  ory_oathkeeper_client: 0.39.0

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  ory_oathkeeper_client:
    git:
      url: https://github.com/ory/sdk.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  ory_oathkeeper_client:
    path: /path/to/ory_oathkeeper_client

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:ory_oathkeeper_client/ory_oathkeeper_client.dart';


final api = OryOathkeeperClient().getApiApi();

try {
    api.decisions();
} catch on DioError (e) {
    print("Exception when calling ApiApi->decisions: $e\n");
}

Documentation for API Endpoints #

All URIs are relative to http://localhost

Class Method HTTP request Description
ApiApi decisions GET /decisions Access Control Decision API
ApiApi getRule GET /rules/{id} Retrieve a rule
ApiApi getVersion GET /version Get service version
ApiApi getWellKnownJSONWebKeys GET /.well-known/jwks.json Lists cryptographic keys
ApiApi isInstanceAlive GET /health/alive Check alive status
ApiApi isInstanceReady GET /health/ready Check readiness status
ApiApi listRules GET /rules List all rules

Documentation For Models #

Documentation For Authorization #

All endpoints do not require authorization.

Author #

hi@ory.am