ory_keto_client 0.0.0 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 #
- AddOryAccessControlPolicyRoleMembers
- AddOryAccessControlPolicyRoleMembersBody
- AddOryAccessControlPolicyRoleMembersInternalServerError
- AddOryAccessControlPolicyRoleMembersInternalServerErrorBody
- AddOryAccessControlPolicyRoleMembersOK
- AuthorizationResult
- DeleteOryAccessControlPolicy
- DeleteOryAccessControlPolicyInternalServerError
- DeleteOryAccessControlPolicyInternalServerErrorBody
- DeleteOryAccessControlPolicyRole
- DeleteOryAccessControlPolicyRoleInternalServerError
- DeleteOryAccessControlPolicyRoleInternalServerErrorBody
- DoOryAccessControlPoliciesAllow
- DoOryAccessControlPoliciesAllowForbidden
- DoOryAccessControlPoliciesAllowInternalServerError
- DoOryAccessControlPoliciesAllowInternalServerErrorBody
- DoOryAccessControlPoliciesAllowOK
- GetOryAccessControlPolicy
- GetOryAccessControlPolicyInternalServerError
- GetOryAccessControlPolicyInternalServerErrorBody
- GetOryAccessControlPolicyNotFound
- GetOryAccessControlPolicyNotFoundBody
- GetOryAccessControlPolicyOK
- GetOryAccessControlPolicyRole
- GetOryAccessControlPolicyRoleInternalServerError
- GetOryAccessControlPolicyRoleInternalServerErrorBody
- GetOryAccessControlPolicyRoleNotFound
- GetOryAccessControlPolicyRoleNotFoundBody
- GetOryAccessControlPolicyRoleOK
- HealthNotReadyStatus
- HealthStatus
- InlineResponse500
- Input
- IsInstanceAliveInternalServerError
- IsInstanceAliveInternalServerErrorBody
- IsInstanceAliveOK
- ListOryAccessControlPolicies
- ListOryAccessControlPoliciesInternalServerError
- ListOryAccessControlPoliciesInternalServerErrorBody
- ListOryAccessControlPoliciesOK
- ListOryAccessControlPolicyRoles
- ListOryAccessControlPolicyRolesInternalServerError
- ListOryAccessControlPolicyRolesInternalServerErrorBody
- ListOryAccessControlPolicyRolesOK
- OryAccessControlPolicies
- OryAccessControlPolicy
- OryAccessControlPolicyAllowedInput
- OryAccessControlPolicyRole
- OryAccessControlPolicyRoles
- Policy
- RemoveOryAccessControlPolicyRoleMembers
- RemoveOryAccessControlPolicyRoleMembersInternalServerError
- RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody
- Role
- SwaggerHealthStatus
- SwaggerNotReadyStatus
- SwaggerVersion
- UpsertOryAccessControlPolicy
- UpsertOryAccessControlPolicyInternalServerError
- UpsertOryAccessControlPolicyInternalServerErrorBody
- UpsertOryAccessControlPolicyOK
- UpsertOryAccessControlPolicyRole
- UpsertOryAccessControlPolicyRoleInternalServerError
- UpsertOryAccessControlPolicyRoleInternalServerErrorBody
- UpsertOryAccessControlPolicyRoleOK
- Version
Documentation For Authorization #
All endpoints do not require authorization.