package
0.11.14
Repository: https://github.com/ory-am/go-iam.git
Documentation: pkg.go.dev

# README

Go API client for swagger

Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. Keep in mind that this document reflects the latest branch, always. Support for versioned documentation is coming in the future.

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

ClassMethodHTTP requestDescription
HealthApiGetInstanceStatusGet /health/statusCheck the Health Status
JsonWebKeyApiCreateJsonWebKeySetPost /keys/{set}Generate a new JSON Web Key
JsonWebKeyApiDeleteJsonWebKeyDelete /keys/{set}/{kid}Delete a JSON Web Key
JsonWebKeyApiDeleteJsonWebKeySetDelete /keys/{set}Delete a JSON Web Key Set
JsonWebKeyApiGetJsonWebKeyGet /keys/{set}/{kid}Retrieve a JSON Web Key
JsonWebKeyApiGetJsonWebKeySetGet /keys/{set}Retrieve a JSON Web Key Set
JsonWebKeyApiUpdateJsonWebKeyPut /keys/{set}/{kid}Update a JSON Web Key
JsonWebKeyApiUpdateJsonWebKeySetPut /keys/{set}Update a JSON Web Key Set
OAuth2ApiAcceptOAuth2ConsentRequestPatch /oauth2/consent/requests/{id}/acceptAccept a consent request
OAuth2ApiCreateOAuth2ClientPost /clientsCreate an OAuth 2.0 client
OAuth2ApiDeleteOAuth2ClientDelete /clients/{id}Deletes an OAuth 2.0 Client
OAuth2ApiFlushInactiveOAuth2TokensPost /oauth2/flushFlush Expired OAuth2 Access Tokens
OAuth2ApiGetOAuth2ClientGet /clients/{id}Get an OAuth 2.0 Client.
OAuth2ApiGetOAuth2ConsentRequestGet /oauth2/consent/requests/{id}Receive consent request information
OAuth2ApiGetWellKnownGet /.well-known/openid-configurationServer well known configuration
OAuth2ApiIntrospectOAuth2TokenPost /oauth2/introspectIntrospect OAuth2 tokens
OAuth2ApiListOAuth2ClientsGet /clientsList OAuth 2.0 Clients
OAuth2ApiOauthAuthGet /oauth2/authThe OAuth 2.0 authorize endpoint
OAuth2ApiOauthTokenPost /oauth2/tokenThe OAuth 2.0 token endpoint
OAuth2ApiRejectOAuth2ConsentRequestPatch /oauth2/consent/requests/{id}/rejectReject a consent request
OAuth2ApiRevokeOAuth2TokenPost /oauth2/revokeRevoke OAuth2 tokens
OAuth2ApiUpdateOAuth2ClientPut /clients/{id}Update an OAuth 2.0 Client
OAuth2ApiUserinfoPost /userinfoOpenID Connect Userinfo
OAuth2ApiWellKnownGet /.well-known/jwks.jsonGet Well-Known JSON Web Keys
PolicyApiCreatePolicyPost /policiesCreate an Access Control Policy
PolicyApiDeletePolicyDelete /policies/{id}Delete an Access Control Policy
PolicyApiGetPolicyGet /policies/{id}Get an Access Control Policy
PolicyApiListPoliciesGet /policiesList Access Control Policies
PolicyApiUpdatePolicyPut /policies/{id}Update an Access Control Polic
WardenApiAddMembersToGroupPost /warden/groups/{id}/membersAdd members to a group
WardenApiCreateGroupPost /warden/groupsCreate a group
WardenApiDeleteGroupDelete /warden/groups/{id}Delete a group by id
WardenApiDoesWardenAllowAccessRequestPost /warden/allowedCheck if an access request is valid (without providing an access token)
WardenApiDoesWardenAllowTokenAccessRequestPost /warden/token/allowedCheck if an access request is valid (providing an access token)
WardenApiGetGroupGet /warden/groups/{id}Get a group by id
WardenApiListGroupsGet /warden/groupsList groups
WardenApiRemoveMembersFromGroupDelete /warden/groups/{id}/membersRemove members from a group

Documentation For Models

Documentation For Authorization

basic

  • Type: HTTP basic authentication

oauth2

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://your-hydra-instance.com/oauth2/auth
  • Scopes:
  • hydra.clients: A scope required to manage OAuth 2.0 Clients
  • hydra.consent: A scope required to fetch and modify consent requests
  • hydra.keys.create: A scope required to create JSON Web Keys
  • hydra.keys.delete: A scope required to delete JSON Web Keys
  • hydra.keys.get: A scope required to fetch JSON Web Keys
  • hydra.keys.update: A scope required to get JSON Web Keys
  • hydra.policies: A scope required to manage access control policies
  • hydra.warden: A scope required to make access control inquiries
  • hydra.warden.groups: A scope required to manage warden groups
  • offline: A scope required when requesting refresh tokens
  • openid: Request an OpenID Connect ID Token

Author

[email protected]