From 18e1bd1765fcd25dfda9f385b3219ccc737a8c7f Mon Sep 17 00:00:00 2001 From: aeneasr Date: Tue, 28 Nov 2017 17:55:19 +0100 Subject: [PATCH 1/3] cmd: Updates CLI outputs and adds newlines --- cmd/cli/handler_helper.go | 4 ++-- cmd/token_self.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/cli/handler_helper.go b/cmd/cli/handler_helper.go index 58c560ff4f6..b94cdebe748 100644 --- a/cmd/cli/handler_helper.go +++ b/cmd/cli/handler_helper.go @@ -24,10 +24,10 @@ import ( ) func checkResponse(response *hydra.APIResponse, err error, expectedStatusCode int) { - pkg.Must(err, "Could not validate token: %s", err) + pkg.Must(err, "Command failed because error \"%s\" occurred.\n", err) if response.StatusCode != expectedStatusCode { - fmt.Printf("Command failed because status code %d was expeceted but code %d was received.", expectedStatusCode, response.StatusCode) + fmt.Fprintf(os.Stderr, "Command failed because status code %d was expeceted but code %d was received.\n", expectedStatusCode, response.StatusCode) os.Exit(1) return } diff --git a/cmd/token_self.go b/cmd/token_self.go index 4a62c7704be..397247ec539 100644 --- a/cmd/token_self.go +++ b/cmd/token_self.go @@ -75,7 +75,7 @@ var tokenSelfCmd = &cobra.Command{ } t, err := oauthConfig.Token(ctx) - pkg.Must(err, "Could not authenticate, because: %s\n", err) + pkg.Must(err, "Could not retrieve access token because: %s", err) fmt.Printf("%s\n", t.AccessToken) }, } From 5798bb43e40bbf7e7178a96d582719b3c04e257c Mon Sep 17 00:00:00 2001 From: aeneasr Date: Tue, 28 Nov 2017 17:59:57 +0100 Subject: [PATCH 2/3] jwk: Renames ES521 key generation algorithm to ES512 Closes #651 --- HISTORY.md | 5 ++++ cmd/keys_create.go | 2 +- docs/api.swagger.json | 10 ++------ jwk/generator_ecdsa521.go | 4 ++-- jwk/generator_test.go | 2 +- jwk/handler.go | 4 ++-- sdk/go/hydra/swagger/api_response.go | 14 ----------- sdk/go/hydra/swagger/consent_request.go | 21 ++++++---------- .../swagger/consent_request_acceptance.go | 14 ----------- .../hydra/swagger/consent_request_manager.go | 14 ----------- .../swagger/consent_request_rejection.go | 14 ----------- sdk/go/hydra/swagger/context.go | 24 ++++++++----------- sdk/go/hydra/swagger/docs/ConsentRequest.md | 1 + sdk/go/hydra/swagger/docs/Context.md | 2 ++ .../docs/JsonWebKeySetGeneratorRequest.md | 2 +- sdk/go/hydra/swagger/firewall.go | 14 ----------- sdk/go/hydra/swagger/group.go | 14 ----------- sdk/go/hydra/swagger/group_members.go | 14 ----------- sdk/go/hydra/swagger/handler.go | 14 ----------- sdk/go/hydra/swagger/health_api.go | 14 ----------- sdk/go/hydra/swagger/inline_response_200.go | 14 ----------- sdk/go/hydra/swagger/inline_response_200_1.go | 14 ----------- sdk/go/hydra/swagger/inline_response_401.go | 14 ----------- .../hydra/swagger/jose_web_key_set_request.go | 14 ----------- sdk/go/hydra/swagger/json_web_key.go | 14 ----------- sdk/go/hydra/swagger/json_web_key_api.go | 14 ----------- sdk/go/hydra/swagger/json_web_key_set.go | 14 ----------- .../json_web_key_set_generator_request.go | 16 +------------ sdk/go/hydra/swagger/key_generator.go | 14 ----------- sdk/go/hydra/swagger/manager.go | 14 ----------- sdk/go/hydra/swagger/o_auth2_api.go | 14 ----------- sdk/go/hydra/swagger/o_auth2_client.go | 14 ----------- .../hydra/swagger/o_auth2_consent_request.go | 14 ----------- .../swagger/o_auth2_token_introspection.go | 14 ----------- sdk/go/hydra/swagger/policy.go | 14 ----------- sdk/go/hydra/swagger/policy_api.go | 14 ----------- sdk/go/hydra/swagger/policy_conditions.go | 14 ----------- sdk/go/hydra/swagger/raw_message.go | 14 ----------- .../swagger/swagger_accept_consent_request.go | 14 ----------- .../swagger_create_policy_parameters.go | 14 ----------- ..._warden_allow_access_request_parameters.go | 14 ----------- ...n_allow_token_access_request_parameters.go | 14 ----------- .../swagger/swagger_get_policy_parameters.go | 14 ----------- .../swagger/swagger_json_web_key_query.go | 14 ----------- .../hydra/swagger/swagger_jwk_create_set.go | 14 ----------- sdk/go/hydra/swagger/swagger_jwk_set_query.go | 14 ----------- .../hydra/swagger/swagger_jwk_update_set.go | 14 ----------- .../swagger/swagger_jwk_update_set_key.go | 14 ----------- .../swagger/swagger_list_policy_parameters.go | 14 ----------- .../swagger/swagger_list_policy_response.go | 14 ----------- .../swagger/swagger_o_auth_consent_request.go | 14 ----------- .../swagger_o_auth_consent_request_payload.go | 14 ----------- .../swagger_o_auth_introspection_request.go | 14 ----------- .../swagger_o_auth_introspection_response.go | 14 ----------- .../swagger/swagger_o_auth_token_response.go | 14 ----------- .../swagger_o_auth_token_response_body.go | 14 ----------- .../swagger/swagger_reject_consent_request.go | 14 ----------- ...swagger_revoke_o_auth2_token_parameters.go | 14 ----------- .../swagger_update_policy_parameters.go | 14 ----------- ...rden_access_request_response_parameters.go | 14 ----------- ...er_warden_token_access_request_response.go | 14 ----------- sdk/go/hydra/swagger/token_allowed_request.go | 14 ----------- sdk/go/hydra/swagger/warden_access_request.go | 14 ----------- .../swagger/warden_access_request_response.go | 14 ----------- sdk/go/hydra/swagger/warden_api.go | 14 ----------- .../swagger/warden_token_access_request.go | 14 ----------- .../warden_token_access_request_response.go | 14 ----------- sdk/go/hydra/swagger/well_known.go | 14 ----------- sdk/go/hydra/swagger/writer.go | 14 ----------- sdk/js/swagger/docs/ConsentRequest.md | 1 + sdk/js/swagger/docs/Context.md | 2 ++ .../docs/JsonWebKeySetGeneratorRequest.md | 2 +- sdk/js/swagger/src/model/ConsentRequest.js | 8 +++++++ sdk/js/swagger/src/model/Context.js | 16 +++++++++++++ .../model/JsonWebKeySetGeneratorRequest.js | 4 ++-- 75 files changed, 65 insertions(+), 859 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index c331895eb91..92c8a527403 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -46,6 +46,11 @@ This list makes you aware of any breaking and substantial non-breaking changes. +## 0.10.0-alpha.22 + +The JWK algorithm `ES521` was renamed to `ES512`. If you want to generate a key using this algorithm, you have to use +the update name in the future. + ## 0.10.0-alpha.16 Versions `0.10.0-alpha.13`, `0.10.0-alpha.14`, and `0.10.0-alpha.15` had issues with the static binary of ORY Hydra which has been resolved. diff --git a/cmd/keys_create.go b/cmd/keys_create.go index bf37fb018c3..9f00cdae77c 100644 --- a/cmd/keys_create.go +++ b/cmd/keys_create.go @@ -41,6 +41,6 @@ var keysCreateCmd = &cobra.Command{ func init() { keysCmd.AddCommand(keysCreateCmd) - keysCreateCmd.Flags().StringP("alg", "a", "", "REQUIRED name that identifies the algorithm intended for use with the key. Supports: RS256, ES521, HS256") + keysCreateCmd.Flags().StringP("alg", "a", "", "REQUIRED name that identifies the algorithm intended for use with the key. Supports: RS256, ES512, HS256") } diff --git a/docs/api.swagger.json b/docs/api.swagger.json index dbae081f896..8f05131f191 100644 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -1934,12 +1934,6 @@ "Handler": { "type": "object", "properties": { - "Generators": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/KeyGenerator" - } - }, "H": { "$ref": "#/definitions/Writer" }, @@ -1950,7 +1944,7 @@ "$ref": "#/definitions/Firewall" } }, - "x-go-package": "github.com/ory/hydra/jwk" + "x-go-package": "github.com/ory/hydra/warden/group" }, "KeyGenerator": { "type": "object", @@ -2179,7 +2173,7 @@ ], "properties": { "alg": { - "description": "The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\"", + "description": "The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\"", "type": "string", "x-go-name": "Algorithm" }, diff --git a/jwk/generator_ecdsa521.go b/jwk/generator_ecdsa521.go index 1c313304509..b808356c828 100644 --- a/jwk/generator_ecdsa521.go +++ b/jwk/generator_ecdsa521.go @@ -24,9 +24,9 @@ import ( "github.com/square/go-jose" ) -type ECDSA521Generator struct{} +type ECDSA512Generator struct{} -func (g *ECDSA521Generator) Generate(id string) (*jose.JSONWebKeySet, error) { +func (g *ECDSA512Generator) Generate(id string) (*jose.JSONWebKeySet, error) { key, err := ecdsa.GenerateKey(elliptic.P521(), rand.Reader) if err != nil { return nil, errors.Errorf("Could not generate key because %s", err) diff --git a/jwk/generator_test.go b/jwk/generator_test.go index caf9b59b58b..f5356342d65 100644 --- a/jwk/generator_test.go +++ b/jwk/generator_test.go @@ -42,7 +42,7 @@ func TestGenerator(t *testing.T) { }, }, { - g: &ECDSA521Generator{}, + g: &ECDSA512Generator{}, check: func(ks *jose.JSONWebKeySet) { assert.Len(t, ks, 2) assert.NotEmpty(t, ks.Keys[0].Key) diff --git a/jwk/handler.go b/jwk/handler.go index 07682863387..a8edbc779df 100644 --- a/jwk/handler.go +++ b/jwk/handler.go @@ -42,7 +42,7 @@ func (h *Handler) GetGenerators() map[string]KeyGenerator { if h.Generators == nil || len(h.Generators) == 0 { h.Generators = map[string]KeyGenerator{ "RS256": &RS256Generator{}, - "ES521": &ECDSA521Generator{}, + "ES512": &ECDSA512Generator{}, "HS256": &HS256Generator{}, "HS512": &HS512Generator{}, } @@ -66,7 +66,7 @@ func (h *Handler) SetRoutes(r *httprouter.Router) { // swagger:model jsonWebKeySetGeneratorRequest type createRequest struct { - // The algorithm to be used for creating the key. Supports "RS256", "ES521", "HS512", and "HS256" + // The algorithm to be used for creating the key. Supports "RS256", "ES512", "HS512", and "HS256" // required: true // in: body Algorithm string `json:"alg"` diff --git a/sdk/go/hydra/swagger/api_response.go b/sdk/go/hydra/swagger/api_response.go index 25e71e3725d..447c36395c5 100644 --- a/sdk/go/hydra/swagger/api_response.go +++ b/sdk/go/hydra/swagger/api_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/consent_request.go b/sdk/go/hydra/swagger/consent_request.go index a27230d42a5..333a9db8167 100644 --- a/sdk/go/hydra/swagger/consent_request.go +++ b/sdk/go/hydra/swagger/consent_request.go @@ -8,27 +8,20 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger +import ( + "time" +) + type ConsentRequest struct { // ClientID is the client id that initiated the OAuth2 request. ClientId string `json:"clientId,omitempty"` + // ExpiresAt is the time where the access request will expire. + ExpiresAt time.Time `json:"expiresAt,omitempty"` + // ID is the id of this consent request. Id string `json:"id,omitempty"` diff --git a/sdk/go/hydra/swagger/consent_request_acceptance.go b/sdk/go/hydra/swagger/consent_request_acceptance.go index 08d07397253..0fab37e6688 100644 --- a/sdk/go/hydra/swagger/consent_request_acceptance.go +++ b/sdk/go/hydra/swagger/consent_request_acceptance.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type ConsentRequestAcceptance struct { diff --git a/sdk/go/hydra/swagger/consent_request_manager.go b/sdk/go/hydra/swagger/consent_request_manager.go index 53cebfff058..a731ed58d00 100644 --- a/sdk/go/hydra/swagger/consent_request_manager.go +++ b/sdk/go/hydra/swagger/consent_request_manager.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type ConsentRequestManager struct { diff --git a/sdk/go/hydra/swagger/consent_request_rejection.go b/sdk/go/hydra/swagger/consent_request_rejection.go index 14dbcbe6add..bb464f66b9d 100644 --- a/sdk/go/hydra/swagger/consent_request_rejection.go +++ b/sdk/go/hydra/swagger/consent_request_rejection.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type ConsentRequestRejection struct { diff --git a/sdk/go/hydra/swagger/context.go b/sdk/go/hydra/swagger/context.go index 652cc3a6d3d..2cb6654df3e 100644 --- a/sdk/go/hydra/swagger/context.go +++ b/sdk/go/hydra/swagger/context.go @@ -8,22 +8,12 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger +import ( + "time" +) + // Context contains an access token's session data type Context struct { @@ -33,9 +23,15 @@ type Context struct { // ClientID is id of the client the token was issued for.. ClientId string `json:"clientId,omitempty"` + // ExpiresAt is the expiry timestamp. + ExpiresAt time.Time `json:"expiresAt,omitempty"` + // GrantedScopes is a list of scopes that the subject authorized when asked for consent. GrantedScopes []string `json:"grantedScopes,omitempty"` + // IssuedAt is the token creation time stamp. + IssuedAt time.Time `json:"issuedAt,omitempty"` + // Issuer is the id of the issuer, typically an hydra instance. Issuer string `json:"issuer,omitempty"` diff --git a/sdk/go/hydra/swagger/docs/ConsentRequest.md b/sdk/go/hydra/swagger/docs/ConsentRequest.md index 45659940e8a..6db855d26e3 100644 --- a/sdk/go/hydra/swagger/docs/ConsentRequest.md +++ b/sdk/go/hydra/swagger/docs/ConsentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ClientId** | **string** | ClientID is the client id that initiated the OAuth2 request. | [optional] [default to null] +**ExpiresAt** | [**time.Time**](time.Time.md) | ExpiresAt is the time where the access request will expire. | [optional] [default to null] **Id** | **string** | ID is the id of this consent request. | [optional] [default to null] **RedirectUrl** | **string** | Redirect URL is the URL where the user agent should be redirected to after the consent has been accepted or rejected. | [optional] [default to null] **RequestedScopes** | **[]string** | RequestedScopes represents a list of scopes that have been requested by the OAuth2 request initiator. | [optional] [default to null] diff --git a/sdk/go/hydra/swagger/docs/Context.md b/sdk/go/hydra/swagger/docs/Context.md index 57ca6622a2b..c86ecf381d4 100644 --- a/sdk/go/hydra/swagger/docs/Context.md +++ b/sdk/go/hydra/swagger/docs/Context.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccessTokenExtra** | [**map[string]interface{}**](interface{}.md) | Extra represents arbitrary session data. | [optional] [default to null] **ClientId** | **string** | ClientID is id of the client the token was issued for.. | [optional] [default to null] +**ExpiresAt** | [**time.Time**](time.Time.md) | ExpiresAt is the expiry timestamp. | [optional] [default to null] **GrantedScopes** | **[]string** | GrantedScopes is a list of scopes that the subject authorized when asked for consent. | [optional] [default to null] +**IssuedAt** | [**time.Time**](time.Time.md) | IssuedAt is the token creation time stamp. | [optional] [default to null] **Issuer** | **string** | Issuer is the id of the issuer, typically an hydra instance. | [optional] [default to null] **Subject** | **string** | Subject is the identity that authorized issuing the token, for example a user or an OAuth2 app. This is usually a uuid but you can choose a urn or some other id too. | [optional] [default to null] diff --git a/sdk/go/hydra/swagger/docs/JsonWebKeySetGeneratorRequest.md b/sdk/go/hydra/swagger/docs/JsonWebKeySetGeneratorRequest.md index 642a4e4d557..c308e72d9de 100644 --- a/sdk/go/hydra/swagger/docs/JsonWebKeySetGeneratorRequest.md +++ b/sdk/go/hydra/swagger/docs/JsonWebKeySetGeneratorRequest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Alg** | **string** | The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\" | [default to null] +**Alg** | **string** | The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\" | [default to null] **Kid** | **string** | The kid of the key to be created | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdk/go/hydra/swagger/firewall.go b/sdk/go/hydra/swagger/firewall.go index 295250bc98e..d99211e6860 100644 --- a/sdk/go/hydra/swagger/firewall.go +++ b/sdk/go/hydra/swagger/firewall.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type Firewall struct { diff --git a/sdk/go/hydra/swagger/group.go b/sdk/go/hydra/swagger/group.go index e42ef7dceca..4bacc07deb4 100644 --- a/sdk/go/hydra/swagger/group.go +++ b/sdk/go/hydra/swagger/group.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // Group represents a warden group diff --git a/sdk/go/hydra/swagger/group_members.go b/sdk/go/hydra/swagger/group_members.go index a53a83ff23d..4bec5181c0b 100644 --- a/sdk/go/hydra/swagger/group_members.go +++ b/sdk/go/hydra/swagger/group_members.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type GroupMembers struct { diff --git a/sdk/go/hydra/swagger/handler.go b/sdk/go/hydra/swagger/handler.go index e8c89d0431a..83f0c0d7842 100644 --- a/sdk/go/hydra/swagger/handler.go +++ b/sdk/go/hydra/swagger/handler.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type Handler struct { diff --git a/sdk/go/hydra/swagger/health_api.go b/sdk/go/hydra/swagger/health_api.go index f0c8fc3be88..c4347eca5a7 100644 --- a/sdk/go/hydra/swagger/health_api.go +++ b/sdk/go/hydra/swagger/health_api.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/inline_response_200.go b/sdk/go/hydra/swagger/inline_response_200.go index 7d07489f4ea..b80037bf5ca 100644 --- a/sdk/go/hydra/swagger/inline_response_200.go +++ b/sdk/go/hydra/swagger/inline_response_200.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type InlineResponse200 struct { diff --git a/sdk/go/hydra/swagger/inline_response_200_1.go b/sdk/go/hydra/swagger/inline_response_200_1.go index 983c181869a..362ec27e10b 100644 --- a/sdk/go/hydra/swagger/inline_response_200_1.go +++ b/sdk/go/hydra/swagger/inline_response_200_1.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type InlineResponse2001 struct { diff --git a/sdk/go/hydra/swagger/inline_response_401.go b/sdk/go/hydra/swagger/inline_response_401.go index 41d3a4fcc01..2833c3e2e47 100644 --- a/sdk/go/hydra/swagger/inline_response_401.go +++ b/sdk/go/hydra/swagger/inline_response_401.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type InlineResponse401 struct { diff --git a/sdk/go/hydra/swagger/jose_web_key_set_request.go b/sdk/go/hydra/swagger/jose_web_key_set_request.go index f377e423cbc..e8c10758d06 100644 --- a/sdk/go/hydra/swagger/jose_web_key_set_request.go +++ b/sdk/go/hydra/swagger/jose_web_key_set_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type JoseWebKeySetRequest struct { diff --git a/sdk/go/hydra/swagger/json_web_key.go b/sdk/go/hydra/swagger/json_web_key.go index 6e5823a5efe..a29ca2bd00e 100644 --- a/sdk/go/hydra/swagger/json_web_key.go +++ b/sdk/go/hydra/swagger/json_web_key.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type JsonWebKey struct { diff --git a/sdk/go/hydra/swagger/json_web_key_api.go b/sdk/go/hydra/swagger/json_web_key_api.go index 68d765db06e..e9320135d4e 100644 --- a/sdk/go/hydra/swagger/json_web_key_api.go +++ b/sdk/go/hydra/swagger/json_web_key_api.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/json_web_key_set.go b/sdk/go/hydra/swagger/json_web_key_set.go index 8e585977d0f..2ac53ed8be6 100644 --- a/sdk/go/hydra/swagger/json_web_key_set.go +++ b/sdk/go/hydra/swagger/json_web_key_set.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type JsonWebKeySet struct { diff --git a/sdk/go/hydra/swagger/json_web_key_set_generator_request.go b/sdk/go/hydra/swagger/json_web_key_set_generator_request.go index f0ad13ab9e9..28b8fb49f0d 100644 --- a/sdk/go/hydra/swagger/json_web_key_set_generator_request.go +++ b/sdk/go/hydra/swagger/json_web_key_set_generator_request.go @@ -8,25 +8,11 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type JsonWebKeySetGeneratorRequest struct { - // The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\" + // The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\" Alg string `json:"alg"` // The kid of the key to be created diff --git a/sdk/go/hydra/swagger/key_generator.go b/sdk/go/hydra/swagger/key_generator.go index e7b69b3670c..03c11fd5e7f 100644 --- a/sdk/go/hydra/swagger/key_generator.go +++ b/sdk/go/hydra/swagger/key_generator.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type KeyGenerator struct { diff --git a/sdk/go/hydra/swagger/manager.go b/sdk/go/hydra/swagger/manager.go index ffb456db400..efb849112ef 100644 --- a/sdk/go/hydra/swagger/manager.go +++ b/sdk/go/hydra/swagger/manager.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type Manager struct { diff --git a/sdk/go/hydra/swagger/o_auth2_api.go b/sdk/go/hydra/swagger/o_auth2_api.go index 3764b8d4bf9..225d955b669 100644 --- a/sdk/go/hydra/swagger/o_auth2_api.go +++ b/sdk/go/hydra/swagger/o_auth2_api.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/o_auth2_client.go b/sdk/go/hydra/swagger/o_auth2_client.go index 39b2f50d82e..b98591ad3dc 100644 --- a/sdk/go/hydra/swagger/o_auth2_client.go +++ b/sdk/go/hydra/swagger/o_auth2_client.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type OAuth2Client struct { diff --git a/sdk/go/hydra/swagger/o_auth2_consent_request.go b/sdk/go/hydra/swagger/o_auth2_consent_request.go index b0d99b06706..d078b0c4d40 100644 --- a/sdk/go/hydra/swagger/o_auth2_consent_request.go +++ b/sdk/go/hydra/swagger/o_auth2_consent_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type OAuth2ConsentRequest struct { diff --git a/sdk/go/hydra/swagger/o_auth2_token_introspection.go b/sdk/go/hydra/swagger/o_auth2_token_introspection.go index 1dfa4474d68..a89cadebfb9 100644 --- a/sdk/go/hydra/swagger/o_auth2_token_introspection.go +++ b/sdk/go/hydra/swagger/o_auth2_token_introspection.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type OAuth2TokenIntrospection struct { diff --git a/sdk/go/hydra/swagger/policy.go b/sdk/go/hydra/swagger/policy.go index 7c27aeb9c3a..531ae721f15 100644 --- a/sdk/go/hydra/swagger/policy.go +++ b/sdk/go/hydra/swagger/policy.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type Policy struct { diff --git a/sdk/go/hydra/swagger/policy_api.go b/sdk/go/hydra/swagger/policy_api.go index 21ccf87cda0..3f607298ee1 100644 --- a/sdk/go/hydra/swagger/policy_api.go +++ b/sdk/go/hydra/swagger/policy_api.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/policy_conditions.go b/sdk/go/hydra/swagger/policy_conditions.go index 994e7c0a71b..21fc8f4b638 100644 --- a/sdk/go/hydra/swagger/policy_conditions.go +++ b/sdk/go/hydra/swagger/policy_conditions.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type PolicyConditions struct { diff --git a/sdk/go/hydra/swagger/raw_message.go b/sdk/go/hydra/swagger/raw_message.go index 6fd3a38bbfb..eada781c39e 100644 --- a/sdk/go/hydra/swagger/raw_message.go +++ b/sdk/go/hydra/swagger/raw_message.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. diff --git a/sdk/go/hydra/swagger/swagger_accept_consent_request.go b/sdk/go/hydra/swagger/swagger_accept_consent_request.go index d31e06fe181..ab69c5440f5 100644 --- a/sdk/go/hydra/swagger/swagger_accept_consent_request.go +++ b/sdk/go/hydra/swagger/swagger_accept_consent_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerAcceptConsentRequest struct { diff --git a/sdk/go/hydra/swagger/swagger_create_policy_parameters.go b/sdk/go/hydra/swagger/swagger_create_policy_parameters.go index 974dada9c10..0cec8bc44b9 100644 --- a/sdk/go/hydra/swagger/swagger_create_policy_parameters.go +++ b/sdk/go/hydra/swagger/swagger_create_policy_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerCreatePolicyParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_does_warden_allow_access_request_parameters.go b/sdk/go/hydra/swagger/swagger_does_warden_allow_access_request_parameters.go index b9ad82b6fa6..a73ff1fcb09 100644 --- a/sdk/go/hydra/swagger/swagger_does_warden_allow_access_request_parameters.go +++ b/sdk/go/hydra/swagger/swagger_does_warden_allow_access_request_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerDoesWardenAllowAccessRequestParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_does_warden_allow_token_access_request_parameters.go b/sdk/go/hydra/swagger/swagger_does_warden_allow_token_access_request_parameters.go index 17ba8cfe1f0..22acce8a1bf 100644 --- a/sdk/go/hydra/swagger/swagger_does_warden_allow_token_access_request_parameters.go +++ b/sdk/go/hydra/swagger/swagger_does_warden_allow_token_access_request_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerDoesWardenAllowTokenAccessRequestParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_get_policy_parameters.go b/sdk/go/hydra/swagger/swagger_get_policy_parameters.go index 962de8d0256..f6a10c24031 100644 --- a/sdk/go/hydra/swagger/swagger_get_policy_parameters.go +++ b/sdk/go/hydra/swagger/swagger_get_policy_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerGetPolicyParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_json_web_key_query.go b/sdk/go/hydra/swagger/swagger_json_web_key_query.go index 56aa4ad2329..a557deb990d 100644 --- a/sdk/go/hydra/swagger/swagger_json_web_key_query.go +++ b/sdk/go/hydra/swagger/swagger_json_web_key_query.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerJsonWebKeyQuery struct { diff --git a/sdk/go/hydra/swagger/swagger_jwk_create_set.go b/sdk/go/hydra/swagger/swagger_jwk_create_set.go index 41868f15967..70890436532 100644 --- a/sdk/go/hydra/swagger/swagger_jwk_create_set.go +++ b/sdk/go/hydra/swagger/swagger_jwk_create_set.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerJwkCreateSet struct { diff --git a/sdk/go/hydra/swagger/swagger_jwk_set_query.go b/sdk/go/hydra/swagger/swagger_jwk_set_query.go index df3b0a123d5..b9cfa5ccf64 100644 --- a/sdk/go/hydra/swagger/swagger_jwk_set_query.go +++ b/sdk/go/hydra/swagger/swagger_jwk_set_query.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerJwkSetQuery struct { diff --git a/sdk/go/hydra/swagger/swagger_jwk_update_set.go b/sdk/go/hydra/swagger/swagger_jwk_update_set.go index f6a1295414d..753e5c917be 100644 --- a/sdk/go/hydra/swagger/swagger_jwk_update_set.go +++ b/sdk/go/hydra/swagger/swagger_jwk_update_set.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerJwkUpdateSet struct { diff --git a/sdk/go/hydra/swagger/swagger_jwk_update_set_key.go b/sdk/go/hydra/swagger/swagger_jwk_update_set_key.go index fb33ca5ab02..8189aa09d6b 100644 --- a/sdk/go/hydra/swagger/swagger_jwk_update_set_key.go +++ b/sdk/go/hydra/swagger/swagger_jwk_update_set_key.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerJwkUpdateSetKey struct { diff --git a/sdk/go/hydra/swagger/swagger_list_policy_parameters.go b/sdk/go/hydra/swagger/swagger_list_policy_parameters.go index c3a579fa008..ef4b81de561 100644 --- a/sdk/go/hydra/swagger/swagger_list_policy_parameters.go +++ b/sdk/go/hydra/swagger/swagger_list_policy_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerListPolicyParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_list_policy_response.go b/sdk/go/hydra/swagger/swagger_list_policy_response.go index 4c70ac7480f..177df45ffdb 100644 --- a/sdk/go/hydra/swagger/swagger_list_policy_response.go +++ b/sdk/go/hydra/swagger/swagger_list_policy_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // A policy diff --git a/sdk/go/hydra/swagger/swagger_o_auth_consent_request.go b/sdk/go/hydra/swagger/swagger_o_auth_consent_request.go index ee4ebee1446..440b3ef4896 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_consent_request.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_consent_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The consent request response diff --git a/sdk/go/hydra/swagger/swagger_o_auth_consent_request_payload.go b/sdk/go/hydra/swagger/swagger_o_auth_consent_request_payload.go index 4f1c59cd8ed..571e90891ee 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_consent_request_payload.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_consent_request_payload.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerOAuthConsentRequestPayload struct { diff --git a/sdk/go/hydra/swagger/swagger_o_auth_introspection_request.go b/sdk/go/hydra/swagger/swagger_o_auth_introspection_request.go index dc346adecbe..66b97b070ea 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_introspection_request.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_introspection_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerOAuthIntrospectionRequest struct { diff --git a/sdk/go/hydra/swagger/swagger_o_auth_introspection_response.go b/sdk/go/hydra/swagger/swagger_o_auth_introspection_response.go index 00ce9ef97f4..74060bf6544 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_introspection_response.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_introspection_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The token introspection response diff --git a/sdk/go/hydra/swagger/swagger_o_auth_token_response.go b/sdk/go/hydra/swagger/swagger_o_auth_token_response.go index fbd536e2806..87bb0bdf9a0 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_token_response.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_token_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The token response diff --git a/sdk/go/hydra/swagger/swagger_o_auth_token_response_body.go b/sdk/go/hydra/swagger/swagger_o_auth_token_response_body.go index 97b4b6bdfd0..d63923cbfee 100644 --- a/sdk/go/hydra/swagger/swagger_o_auth_token_response_body.go +++ b/sdk/go/hydra/swagger/swagger_o_auth_token_response_body.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // in: body diff --git a/sdk/go/hydra/swagger/swagger_reject_consent_request.go b/sdk/go/hydra/swagger/swagger_reject_consent_request.go index 7b97852bf74..5cd2a209198 100644 --- a/sdk/go/hydra/swagger/swagger_reject_consent_request.go +++ b/sdk/go/hydra/swagger/swagger_reject_consent_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerRejectConsentRequest struct { diff --git a/sdk/go/hydra/swagger/swagger_revoke_o_auth2_token_parameters.go b/sdk/go/hydra/swagger/swagger_revoke_o_auth2_token_parameters.go index ad1cb17552c..0185e91347b 100644 --- a/sdk/go/hydra/swagger/swagger_revoke_o_auth2_token_parameters.go +++ b/sdk/go/hydra/swagger/swagger_revoke_o_auth2_token_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerRevokeOAuth2TokenParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_update_policy_parameters.go b/sdk/go/hydra/swagger/swagger_update_policy_parameters.go index 833b7b4171d..4f555615b1b 100644 --- a/sdk/go/hydra/swagger/swagger_update_policy_parameters.go +++ b/sdk/go/hydra/swagger/swagger_update_policy_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type SwaggerUpdatePolicyParameters struct { diff --git a/sdk/go/hydra/swagger/swagger_warden_access_request_response_parameters.go b/sdk/go/hydra/swagger/swagger_warden_access_request_response_parameters.go index aff2615f7b9..7285fcf301e 100644 --- a/sdk/go/hydra/swagger/swagger_warden_access_request_response_parameters.go +++ b/sdk/go/hydra/swagger/swagger_warden_access_request_response_parameters.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The warden access request response diff --git a/sdk/go/hydra/swagger/swagger_warden_token_access_request_response.go b/sdk/go/hydra/swagger/swagger_warden_token_access_request_response.go index 727a48a7fa6..b0b1af8f724 100644 --- a/sdk/go/hydra/swagger/swagger_warden_token_access_request_response.go +++ b/sdk/go/hydra/swagger/swagger_warden_token_access_request_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The warden access request (with token) response diff --git a/sdk/go/hydra/swagger/token_allowed_request.go b/sdk/go/hydra/swagger/token_allowed_request.go index eb20105acd8..c5b8e6711be 100644 --- a/sdk/go/hydra/swagger/token_allowed_request.go +++ b/sdk/go/hydra/swagger/token_allowed_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type TokenAllowedRequest struct { diff --git a/sdk/go/hydra/swagger/warden_access_request.go b/sdk/go/hydra/swagger/warden_access_request.go index 72820dd7118..9e43c65bfb9 100644 --- a/sdk/go/hydra/swagger/warden_access_request.go +++ b/sdk/go/hydra/swagger/warden_access_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type WardenAccessRequest struct { diff --git a/sdk/go/hydra/swagger/warden_access_request_response.go b/sdk/go/hydra/swagger/warden_access_request_response.go index 92c91a972a1..82b4f594a4e 100644 --- a/sdk/go/hydra/swagger/warden_access_request_response.go +++ b/sdk/go/hydra/swagger/warden_access_request_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The warden access request response diff --git a/sdk/go/hydra/swagger/warden_api.go b/sdk/go/hydra/swagger/warden_api.go index ec6bc6cdfbe..e61fd780663 100644 --- a/sdk/go/hydra/swagger/warden_api.go +++ b/sdk/go/hydra/swagger/warden_api.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger import ( diff --git a/sdk/go/hydra/swagger/warden_token_access_request.go b/sdk/go/hydra/swagger/warden_token_access_request.go index 6f1214f5038..b0e081a8174 100644 --- a/sdk/go/hydra/swagger/warden_token_access_request.go +++ b/sdk/go/hydra/swagger/warden_token_access_request.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type WardenTokenAccessRequest struct { diff --git a/sdk/go/hydra/swagger/warden_token_access_request_response.go b/sdk/go/hydra/swagger/warden_token_access_request_response.go index e25491bbb0d..99360ae0bd4 100644 --- a/sdk/go/hydra/swagger/warden_token_access_request_response.go +++ b/sdk/go/hydra/swagger/warden_token_access_request_response.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // The warden access request (with token) response diff --git a/sdk/go/hydra/swagger/well_known.go b/sdk/go/hydra/swagger/well_known.go index bc534a374e3..dee740c82a8 100644 --- a/sdk/go/hydra/swagger/well_known.go +++ b/sdk/go/hydra/swagger/well_known.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger type WellKnown struct { diff --git a/sdk/go/hydra/swagger/writer.go b/sdk/go/hydra/swagger/writer.go index f478e146fb5..75dca3814c6 100644 --- a/sdk/go/hydra/swagger/writer.go +++ b/sdk/go/hydra/swagger/writer.go @@ -8,20 +8,6 @@ * Generated by: https://github.com/swagger-api/swagger-codegen.git */ -// Copyright © 2017 Aeneas Rekkas -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package swagger // Writer is a helper to write arbitrary data to a ResponseWriter diff --git a/sdk/js/swagger/docs/ConsentRequest.md b/sdk/js/swagger/docs/ConsentRequest.md index 79434fe6114..6b248e778b4 100644 --- a/sdk/js/swagger/docs/ConsentRequest.md +++ b/sdk/js/swagger/docs/ConsentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **clientId** | **String** | ClientID is the client id that initiated the OAuth2 request. | [optional] +**expiresAt** | **Date** | ExpiresAt is the time where the access request will expire. | [optional] **id** | **String** | ID is the id of this consent request. | [optional] **redirectUrl** | **String** | Redirect URL is the URL where the user agent should be redirected to after the consent has been accepted or rejected. | [optional] **requestedScopes** | **[String]** | RequestedScopes represents a list of scopes that have been requested by the OAuth2 request initiator. | [optional] diff --git a/sdk/js/swagger/docs/Context.md b/sdk/js/swagger/docs/Context.md index 2588d725aea..8c303729c57 100644 --- a/sdk/js/swagger/docs/Context.md +++ b/sdk/js/swagger/docs/Context.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accessTokenExtra** | **{String: Object}** | Extra represents arbitrary session data. | [optional] **clientId** | **String** | ClientID is id of the client the token was issued for.. | [optional] +**expiresAt** | **Date** | ExpiresAt is the expiry timestamp. | [optional] **grantedScopes** | **[String]** | GrantedScopes is a list of scopes that the subject authorized when asked for consent. | [optional] +**issuedAt** | **Date** | IssuedAt is the token creation time stamp. | [optional] **issuer** | **String** | Issuer is the id of the issuer, typically an hydra instance. | [optional] **subject** | **String** | Subject is the identity that authorized issuing the token, for example a user or an OAuth2 app. This is usually a uuid but you can choose a urn or some other id too. | [optional] diff --git a/sdk/js/swagger/docs/JsonWebKeySetGeneratorRequest.md b/sdk/js/swagger/docs/JsonWebKeySetGeneratorRequest.md index 8e53290479e..6005cda1942 100644 --- a/sdk/js/swagger/docs/JsonWebKeySetGeneratorRequest.md +++ b/sdk/js/swagger/docs/JsonWebKeySetGeneratorRequest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**alg** | **String** | The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\" | +**alg** | **String** | The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\" | **kid** | **String** | The kid of the key to be created | diff --git a/sdk/js/swagger/src/model/ConsentRequest.js b/sdk/js/swagger/src/model/ConsentRequest.js index f2fcf6a8ffc..f26b2216f5f 100644 --- a/sdk/js/swagger/src/model/ConsentRequest.js +++ b/sdk/js/swagger/src/model/ConsentRequest.js @@ -62,6 +62,9 @@ if (data.hasOwnProperty('clientId')) { obj['clientId'] = ApiClient.convertToType(data['clientId'], 'String') } + if (data.hasOwnProperty('expiresAt')) { + obj['expiresAt'] = ApiClient.convertToType(data['expiresAt'], 'Date') + } if (data.hasOwnProperty('id')) { obj['id'] = ApiClient.convertToType(data['id'], 'String') } @@ -86,6 +89,11 @@ * @member {String} clientId */ exports.prototype['clientId'] = undefined + /** + * ExpiresAt is the time where the access request will expire. + * @member {Date} expiresAt + */ + exports.prototype['expiresAt'] = undefined /** * ID is the id of this consent request. * @member {String} id diff --git a/sdk/js/swagger/src/model/Context.js b/sdk/js/swagger/src/model/Context.js index 2c3cab55493..ef5bb939987 100644 --- a/sdk/js/swagger/src/model/Context.js +++ b/sdk/js/swagger/src/model/Context.js @@ -69,11 +69,17 @@ if (data.hasOwnProperty('clientId')) { obj['clientId'] = ApiClient.convertToType(data['clientId'], 'String') } + if (data.hasOwnProperty('expiresAt')) { + obj['expiresAt'] = ApiClient.convertToType(data['expiresAt'], 'Date') + } if (data.hasOwnProperty('grantedScopes')) { obj['grantedScopes'] = ApiClient.convertToType(data['grantedScopes'], [ 'String' ]) } + if (data.hasOwnProperty('issuedAt')) { + obj['issuedAt'] = ApiClient.convertToType(data['issuedAt'], 'Date') + } if (data.hasOwnProperty('issuer')) { obj['issuer'] = ApiClient.convertToType(data['issuer'], 'String') } @@ -94,11 +100,21 @@ * @member {String} clientId */ exports.prototype['clientId'] = undefined + /** + * ExpiresAt is the expiry timestamp. + * @member {Date} expiresAt + */ + exports.prototype['expiresAt'] = undefined /** * GrantedScopes is a list of scopes that the subject authorized when asked for consent. * @member {Array.} grantedScopes */ exports.prototype['grantedScopes'] = undefined + /** + * IssuedAt is the token creation time stamp. + * @member {Date} issuedAt + */ + exports.prototype['issuedAt'] = undefined /** * Issuer is the id of the issuer, typically an hydra instance. * @member {String} issuer diff --git a/sdk/js/swagger/src/model/JsonWebKeySetGeneratorRequest.js b/sdk/js/swagger/src/model/JsonWebKeySetGeneratorRequest.js index dba4bf67354..df750f568ff 100644 --- a/sdk/js/swagger/src/model/JsonWebKeySetGeneratorRequest.js +++ b/sdk/js/swagger/src/model/JsonWebKeySetGeneratorRequest.js @@ -43,7 +43,7 @@ * Constructs a new JsonWebKeySetGeneratorRequest. * @alias module:model/JsonWebKeySetGeneratorRequest * @class - * @param alg {String} The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\" + * @param alg {String} The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\" * @param kid {String} The kid of the key to be created */ var exports = function(alg, kid) { @@ -75,7 +75,7 @@ } /** - * The algorithm to be used for creating the key. Supports \"RS256\", \"ES521\", \"HS512\", and \"HS256\" + * The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\" * @member {String} alg */ exports.prototype['alg'] = undefined From d9361763ff1d3a82cc3506cce91526cd5f215a74 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Tue, 28 Nov 2017 18:02:20 +0100 Subject: [PATCH 3/3] docs: Removes adopter list Adopters have been removed as most do not want to be publicly identified, in case of security issues with the open source software. Closes #659 --- README.md | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 63a6858aa51..f4773433465 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,9 @@ able to securely manage JSON Web Keys, and has a sophisticated policy-based acce - [Building from source](#building-from-source) - [Security](#security) - [Telemetry](#telemetry) -- [Sponsors & Adopters](#sponsors-&-adopters) +- [Sponsors](#sponsors) - [Sponsorship](#sponsorship) - - [Sponsors](#sponsors) - - [Adopters](#adopters) + - [Sponsors](#sponsors-1) - [Documentation](#documentation) - [Guide](#guide) - [HTTP API documentation](#http-api-documentation) @@ -60,7 +59,7 @@ able to securely manage JSON Web Keys, and has a sophisticated policy-based acce - [Develop](#develop) - [Reception](#reception) - [Libraries and third-party projects](#libraries-and-third-party-projects) -- [Blog posts & articles](#blog-posts-&-articles) +- [Blog posts & articles](#blog-posts--articles) @@ -193,7 +192,7 @@ Read [the security guide now](https://ory.gitbooks.io/hydra/content/security.htm ORY Hydra collects summarized, anonymized telemetry which can optionally be turned off. Click [here](https://ory.gitbooks.io/hydra/content/telemetry.html) to learn more. -## Sponsors & Adopters +## Sponsors ORY Hydra is open source with a permissive license. We are a dedicated, young but also experienced team of developers in the area of cloud computing and internet security. Please support our mission for a safer web and become a sponsor, buy an @@ -220,18 +219,6 @@ every year. At ORY, we use [Auth0](https://auth0.com) in conjunction with ORY Hy
-### Adopters - -ORY Hydra is battle-tested in production systems. This is a curated list of ORY Hydra adopters. [Tell us](mailto:hi@ory.am) if -you think that your company should be listed here. - -arduino.cc - -

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended -for anyone making interactive projects. ORY Hydra secures Arduino's developer platform.

- -
- ## Documentation ### Guide