Commit Graph

12 Commits

Author SHA1 Message Date
Patrik bbac4a4be5 chore: remove redundant internal state
GitOrigin-RevId: ffdacf60d0eea3adeeb1fb78db114e3ca12f23e1
2025-09-30 12:23:20 +00:00
Patrik 477abaeb7d
chore: bump dependencies and generate internal SDK aligned with the published SDK (#3807) 2024-07-31 13:26:57 +02:00
Arne Luenser f56e5fad74 fix: append /v2 to module path 2023-01-28 08:40:41 +01:00
Tom Papiernik 4ee4456d88
fix: introspect command CLI example (#3353) 2022-11-21 10:25:50 +01:00
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
aeneasr 142b55f295 refactor(sdk): OAuth2 SDK API
BREAKING CHANGE: SDK naming has changed for the following operations:

```patch
ory.
-   V0alpha2Api.AdminDeleteOAuth2Token(context.Background()).
+   OAuth2Api.DeleteOAuth2Token(context.Background()).
    ClientId("foobar").Execute()

ory.
-   V0alpha2Api.RevokeOAuth2Token(
+   OAuth2Api.RevokeOAuth2Token(
        context.WithValue(context.Background(), sdk.ContextBasicAuth, sdk.BasicAuth{
            UserName: clientID,
            Password: clientSecret,
        })).Token(token).Execute()

ory.
-   V0alpha2Api.AdminIntrospectOAuth2Token(context.Background()).
+   OAuth2Api.IntrospectOAuth2Token(context.Background()).
    Token(token).
    Scope("foo bar")).Execute()
```
2022-10-11 17:01:24 +02:00
zepatrik cc9d9e5b5d
refactor: make commands easier to consume 2022-10-06 10:54:04 +02:00
aeneasr 93a626d18a feat: improve cloud cli compatibility 2022-09-15 16:01:24 +02:00
aeneasr a364db4ff2 fix: move to v0alpha2 api spec 2022-09-07 08:10:31 +02:00
aeneasr 937e6baabf fix: resolve internal SDK regressions 2022-09-07 08:10:31 +02:00
aeneasr 3632a6cf6a chore: fix lint issues 2022-09-07 08:10:31 +02:00
aeneasr da3e2b4438 refactor: `hydra token introspect` command
BREAKING CHANGE: The `hydra token introspect` command has been renamed to `hydra introspect token` and now supports structured output (JSON, tables, ...).
2022-09-07 08:10:31 +02:00