ory_keto_client

A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.

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

  • API version: v0.0.0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://www.ory.sh

Requirements

Dart 2.0 or later

Installation & Usage

Github

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  ory_keto_client:
    git: https://github.com/ory/sdk.git

Local

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  ory_keto_client:
    path: /path/to/ory_keto_client

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:ory_keto_client/api.dart';


final api_instance = EnginesApi();
final flavor = flavor_example; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".
final id = id_example; // String | The ID of the ORY Access Control Policy Role.
final body = AddOryAccessControlPolicyRoleMembersBody(); // AddOryAccessControlPolicyRoleMembersBody | 

try {
    final result = api_instance.addOryAccessControlPolicyRoleMembers(flavor, id, body);
    print(result);
} catch (e) {
    print('Exception when calling EnginesApi->addOryAccessControlPolicyRoleMembers: $e\n');
}

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
EnginesApiaddOryAccessControlPolicyRoleMembersPUT /engines/acp/ory/{flavor}/roles/{id}/membersAdd a member to an ORY Access Control Policy Role
EnginesApideleteOryAccessControlPolicyDELETE /engines/acp/ory/{flavor}/policies/{id}
EnginesApideleteOryAccessControlPolicyRoleDELETE /engines/acp/ory/{flavor}/roles/{id}Delete an ORY Access Control Policy Role
EnginesApidoOryAccessControlPoliciesAllowPOST /engines/acp/ory/{flavor}/allowedCheck if a request is allowed
EnginesApigetOryAccessControlPolicyGET /engines/acp/ory/{flavor}/policies/{id}
EnginesApigetOryAccessControlPolicyRoleGET /engines/acp/ory/{flavor}/roles/{id}Get an ORY Access Control Policy Role
EnginesApilistOryAccessControlPoliciesGET /engines/acp/ory/{flavor}/policies
EnginesApilistOryAccessControlPolicyRolesGET /engines/acp/ory/{flavor}/rolesList ORY Access Control Policy Roles
EnginesApiremoveOryAccessControlPolicyRoleMembersDELETE /engines/acp/ory/{flavor}/roles/{id}/members/{member}Remove a member from an ORY Access Control Policy Role
EnginesApiupsertOryAccessControlPolicyPUT /engines/acp/ory/{flavor}/policies
EnginesApiupsertOryAccessControlPolicyRolePUT /engines/acp/ory/{flavor}/rolesUpsert an ORY Access Control Policy Role
HealthApiisInstanceAliveGET /health/aliveCheck alive status
HealthApiisInstanceReadyGET /health/readyCheck readiness status
VersionApigetVersionGET /versionGet service version

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

hi@ory.sh

Libraries

openapi.api