ory_keto_client 0.0.0 copy "ory_keto_client: ^0.0.0" to clipboard
ory_keto_client: ^0.0.0 copied to clipboard

OpenAPI API client

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

Class Method HTTP request Description
EnginesApi addOryAccessControlPolicyRoleMembers PUT /engines/acp/ory/{flavor}/roles/{id}/members Add a member to an ORY Access Control Policy Role
EnginesApi deleteOryAccessControlPolicy DELETE /engines/acp/ory/{flavor}/policies/{id}
EnginesApi deleteOryAccessControlPolicyRole DELETE /engines/acp/ory/{flavor}/roles/{id} Delete an ORY Access Control Policy Role
EnginesApi doOryAccessControlPoliciesAllow POST /engines/acp/ory/{flavor}/allowed Check if a request is allowed
EnginesApi getOryAccessControlPolicy GET /engines/acp/ory/{flavor}/policies/{id}
EnginesApi getOryAccessControlPolicyRole GET /engines/acp/ory/{flavor}/roles/{id} Get an ORY Access Control Policy Role
EnginesApi listOryAccessControlPolicies GET /engines/acp/ory/{flavor}/policies
EnginesApi listOryAccessControlPolicyRoles GET /engines/acp/ory/{flavor}/roles List ORY Access Control Policy Roles
EnginesApi removeOryAccessControlPolicyRoleMembers DELETE /engines/acp/ory/{flavor}/roles/{id}/members/{member} Remove a member from an ORY Access Control Policy Role
EnginesApi upsertOryAccessControlPolicy PUT /engines/acp/ory/{flavor}/policies
EnginesApi upsertOryAccessControlPolicyRole PUT /engines/acp/ory/{flavor}/roles Upsert an ORY Access Control Policy Role
HealthApi isInstanceAlive GET /health/alive Check alive status
HealthApi isInstanceReady GET /health/ready Check readiness status
VersionApi getVersion GET /version Get service version

Documentation For Models #

Documentation For Authorization #

All endpoints do not require authorization.

Author #

hi@ory.sh

2
likes
15
points
59
downloads

Publisher

verified publisherory.sh

Weekly Downloads

OpenAPI API client

Homepage

License

Apache-2.0 (license)

Dependencies

http, intl, meta

More

Packages that depend on ory_keto_client