ory_oathkeeper_client 0.40.6

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

OpenAPI API client for Ory Oathkeeper, a cloud native Identity & Access Proxy and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests.

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.40.6
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://www.ory.am

Requirements

Installation & Usage

pub.dev

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

dependencies:
  ory_oathkeeper_client: 0.40.6

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

ClassMethodHTTP requestDescription
ApiApidecisionsGET /decisionsAccess Control Decision API
ApiApigetRuleGET /rules/{id}Retrieve a Rule
ApiApigetWellKnownJSONWebKeysGET /.well-known/jwks.jsonLists Cryptographic Keys
ApiApilistRulesGET /rulesList All Rules
HealthApiisInstanceAliveGET /health/aliveCheck alive status
HealthApiisInstanceReadyGET /health/readyCheck readiness status
VersionApigetVersionGET /versionGet service version

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

hi@ory.am