Skip to content

Commit

Permalink
sdk: Add new methods to SDK interface (#994)
Browse files Browse the repository at this point in the history
Closes #991

Signed-off-by: arekkas <aeneas@ory.am>
  • Loading branch information
arekkas authored Aug 21, 2018
1 parent 3040c0f commit fed7823
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/go/hydra/sdk_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ type OAuth2API interface {
IntrospectOAuth2Token(token string, scope string) (*swagger.OAuth2TokenIntrospection, *swagger.APIResponse, error)
ListOAuth2Clients(limit int64, offset int64) ([]swagger.OAuth2Client, *swagger.APIResponse, error)
RevokeOAuth2Token(token string) (*swagger.APIResponse, error)
RevokeAllUserConsentSessions(user string) (*swagger.APIResponse, error)
UpdateOAuth2Client(id string, body swagger.OAuth2Client) (*swagger.OAuth2Client, *swagger.APIResponse, error)
RevokeAuthenticationSession(user string) (*swagger.APIResponse, error)
RevokeUserClientConsentSessions(user string, client string) (*swagger.APIResponse, error)

ListUserConsentSessions(user string) ([]swagger.PreviousConsentSession, *swagger.APIResponse, error)
FlushInactiveOAuth2Tokens(body swagger.FlushInactiveOAuth2TokensRequest) (*swagger.APIResponse, error)
Expand Down

0 comments on commit fed7823

Please sign in to comment.