Skip to content

Commit

Permalink
sdk: Make clear that refresh tokens are introspectable
Browse files Browse the repository at this point in the history
Closes #1250

Signed-off-by: aeneasr <aeneas@ory.sh>
  • Loading branch information
aeneasr committed Apr 26, 2019
1 parent bbeee65 commit 5ecaca4
Show file tree
Hide file tree
Showing 253 changed files with 5,375 additions and 16,172 deletions.
277 changes: 42 additions & 235 deletions docs/api.swagger.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions oauth2/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ type swaggerOAuthTokenResponse struct {
type swaggerOAuthIntrospectionRequest struct {
// The string value of the token. For access tokens, this
// is the "access_token" value returned from the token endpoint
// defined in OAuth 2.0 [RFC6749], Section 5.1.
// This endpoint DOES NOT accept refresh tokens for validation.
// defined in OAuth 2.0. For refresh tokens, this is the "refresh_token"
// value returned.
//
// required: true
// in: formData
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/authentication_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion sdk/go/hydra/models/authentication_session.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sdk/go/hydra/models/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/consent_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/consent_request_session_data.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/hydra/models/empty_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/hydra/models/generic_error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/handled_authentication_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/handled_consent_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/handled_login_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/introspection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/login_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/logout_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/open_id_connect_context.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/previous_consent_session.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/request_handler_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/hydra/models/swagger_flush_inactive_access_tokens.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions sdk/go/hydra/models/swagger_json_web_key_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/swagger_jwk_create_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/swagger_jwk_set_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/swagger_jwk_update_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/swagger_jwk_update_set_key.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/hydra/models/swagger_o_auth_introspection_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/hydra/models/swaggeroauth2_token_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/go/hydra/models/well_known.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.5
2.2.3
37 changes: 11 additions & 26 deletions sdk/java/hydra-client-resttemplate/README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,35 @@
# hydra-client-resttemplate

ORY Hydra
- API version: latest
- Build date: 2019-04-25T13:51:05.405+02:00

Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.


*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*


## Requirements

Building the API client library requires:
1. Java 1.7+
2. Maven/Gradle
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.

## Installation

To install the API client library to your local Maven repository, simply execute:

```shell
mvn clean install
mvn install
```

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

```shell
mvn clean deploy
mvn deploy
```

Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.

### Maven users

Add this dependency to your project's POM:

```xml
<dependency>
<groupId>com.github.ory</groupId>
<artifactId>hydra-client-resttemplate</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
<groupId>com.github.ory</groupId>
<artifactId>hydra-client-resttemplate</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
```

Expand All @@ -57,14 +45,12 @@ compile "com.github.ory:hydra-client-resttemplate:1.0.0"

At first generate the JAR by executing:

```shell
mvn clean package
```
mvn package

Then manually install the following JARs:

* `target/hydra-client-resttemplate-1.0.0.jar`
* `target/lib/*.jar`
* target/hydra-client-resttemplate-1.0.0.jar
* target/lib/*.jar

## Getting Started

Expand Down Expand Up @@ -181,7 +167,6 @@ Class | Method | HTTP request | Description
- [SwaggerFlushInactiveAccessTokens](docs/SwaggerFlushInactiveAccessTokens.md)
- [SwaggerHealthStatus](docs/SwaggerHealthStatus.md)
- [SwaggerJSONWebKey](docs/SwaggerJSONWebKey.md)
- [SwaggerJSONWebKeyQuery](docs/SwaggerJSONWebKeyQuery.md)
- [SwaggerJSONWebKeySet](docs/SwaggerJSONWebKeySet.md)
- [SwaggerJsonWebKeyQuery](docs/SwaggerJsonWebKeyQuery.md)
- [SwaggerJwkCreateSet](docs/SwaggerJwkCreateSet.md)
Expand Down
Loading

0 comments on commit 5ecaca4

Please sign in to comment.