Package main ORY Keto
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
Put the package under your project folder and add the following in import:
"./swagger"
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 |
- AuthenticationDefaultSession
- AuthenticationOAuth2ClientCredentialsRequest
- AuthenticationOAuth2ClientCredentialsSession
- AuthenticationOAuth2IntrospectionRequest
- AuthenticationOAuth2Session
- Authenticator
- Firewall
- Handler
- InlineResponse401
- IntrospectionResponse
- Manager
- OAuth2ClientCredentialsAuthentication
- OAuth2IntrospectionAuthentication
- Policy
- PolicyConditions
- Role
- RoleMembers
- Session
- SwaggerCreatePolicyParameters
- SwaggerDoesWardenAllowAccessRequestParameters
- SwaggerDoesWardenAllowClientRequestParameters
- SwaggerDoesWardenAllowTokenAccessRequestParameters
- SwaggerGetPolicyParameters
- SwaggerListPolicyParameters
- SwaggerListPolicyResponse
- SwaggerUpdatePolicyParameters
- SwaggerWardenBaseRequest
- WardenOAuth2AccessTokenAuthorizationRequest
- WardenOAuth2AccessTokenAuthorizationResponse
- WardenOAuth2ClientAuthorizationRequest
- WardenOAuth2ClientAuthorizationResponse
- WardenSubjectAuthorizationRequest
- WardenSubjectAuthorizationResponse
- Writer
All endpoints do not require authorization.