Skip to content

Latest commit

 

History

History
87 lines (70 loc) · 4.87 KB

README.md

File metadata and controls

87 lines (70 loc) · 4.87 KB

Go API client for swagger

Package main ORY Keto

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: Latest
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen For more information, please visit https://www.ory.sh

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
PolicyApi CreatePolicy Post /policies
PolicyApi DeletePolicy Delete /policies/{id}
PolicyApi GetPolicy Get /policies/{id}
PolicyApi ListPolicies Get /policies
PolicyApi UpdatePolicy Put /policies/{id}
RoleApi AddMembersToRole Post /roles/{id}/members Add members to a role
RoleApi CreateRole Post /roles Create a role
RoleApi DeleteRole Delete /roles/{id} Get a role by its ID
RoleApi GetRole Get /roles/{id} Get a role by its ID
RoleApi ListRoles Get /roles List all roles
RoleApi RemoveMembersFromRole Delete /roles/{id}/members Remove members from a role
WardenApi IsOAuth2AccessTokenAuthorized Post /warden/oauth2/access-tokens/authorize Check if an OAuth 2.0 access token is authorized to access a resource
WardenApi IsOAuth2ClientAuthorized Post /warden/oauth2/clients/authorize Check if an OAuth 2.0 Client is authorized to access a resource
WardenApi IsSubjectAuthorized Post /warden/subjects/authorize Check if a subject is authorized to access a resource

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

hi@ory.am