From 66f3f3e45d8cefe936b5c23143856bc399b28d99 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Tue, 13 Sep 2022 15:44:52 -0500 Subject: [PATCH 01/11] License headers --- client/client.go | 2 ++ client/client_test.go | 2 ++ client/error.go | 2 ++ client/handler.go | 2 ++ client/handler_test.go | 2 ++ client/manager.go | 2 ++ client/manager_test_helpers.go | 2 ++ client/registry.go | 2 ++ client/sdk_test.go | 2 ++ client/validator.go | 2 ++ client/validator_test.go | 2 ++ cmd/cli/error.go | 2 ++ cmd/cli/handler.go | 2 ++ cmd/cli/handler_helper.go | 2 ++ cmd/cli/handler_janitor.go | 2 ++ cmd/cli/handler_janitor_test.go | 2 ++ cmd/cli/handler_jwk.go | 2 ++ cmd/cli/handler_jwk_test.go | 2 ++ cmd/cli/handler_migrate.go | 2 ++ cmd/cliclient/client.go | 2 ++ cmd/clidoc/main.go | 2 ++ cmd/cmd_create_client.go | 2 ++ cmd/cmd_create_client_test.go | 2 ++ cmd/cmd_create_jwks.go | 2 ++ cmd/cmd_create_jwks_test.go | 2 ++ cmd/cmd_delete.go | 2 ++ cmd/cmd_delete_client.go | 2 ++ cmd/cmd_delete_client_test.go | 2 ++ cmd/cmd_delete_jwks.go | 2 ++ cmd/cmd_delete_jwks_test.go | 2 ++ cmd/cmd_delete_tokens.go | 2 ++ cmd/cmd_delete_tokens_test.go | 2 ++ cmd/cmd_get.go | 2 ++ cmd/cmd_get_client.go | 2 ++ cmd/cmd_get_client_test.go | 2 ++ cmd/cmd_get_jwks.go | 2 ++ cmd/cmd_get_jwks_test.go | 2 ++ cmd/cmd_helper_client.go | 2 ++ cmd/cmd_helper_test.go | 2 ++ cmd/cmd_import.go | 2 ++ cmd/cmd_import_client.go | 2 ++ cmd/cmd_import_client_test.go | 2 ++ cmd/cmd_import_jwk.go | 14 +------------- cmd/cmd_import_jwk_test.go | 2 ++ cmd/cmd_introspect.go | 2 ++ cmd/cmd_introspect_token.go | 2 ++ cmd/cmd_introspect_token_test.go | 2 ++ cmd/cmd_list.go | 2 ++ cmd/cmd_list_clients.go | 2 ++ cmd/cmd_list_clients_test.go | 2 ++ cmd/cmd_perform.go | 2 ++ cmd/cmd_perform_authorization_code.go | 2 ++ cmd/cmd_perform_client_credentials.go | 2 ++ cmd/cmd_perform_client_credentials_test.go | 2 ++ cmd/cmd_revoke.go | 2 ++ cmd/cmd_revoke_token.go | 2 ++ cmd/cmd_revoke_token_test.go | 2 ++ cmd/cmd_update.go | 2 ++ cmd/cmd_update_client.go | 2 ++ cmd/cmd_update_client_test.go | 2 ++ cmd/create.go | 2 ++ cmd/helper.go | 2 ++ cmd/helper_test.go | 2 ++ cmd/janitor.go | 2 ++ cmd/migrate.go | 2 ++ cmd/migrate_gen.go | 2 ++ cmd/migrate_sql.go | 2 ++ cmd/output_client.go | 2 ++ cmd/output_introspection.go | 2 ++ cmd/output_jwks.go | 2 ++ cmd/output_token.go | 2 ++ cmd/root.go | 2 ++ cmd/serve.go | 2 ++ cmd/serve_admin.go | 14 +------------- cmd/serve_all.go | 14 +------------- cmd/serve_public.go | 14 +------------- cmd/server/banner.go | 2 ++ cmd/server/handler.go | 2 ++ cmd/server/helper_cert.go | 2 ++ cmd/server/helper_cert_test.go | 2 ++ cmd/version.go | 2 ++ consent/handler.go | 2 ++ consent/handler_test.go | 2 ++ consent/helper.go | 2 ++ consent/helper_test.go | 2 ++ consent/janitor_consent_test_helper.go | 2 ++ consent/manager.go | 2 ++ consent/manager_test_helpers.go | 2 ++ consent/registry.go | 2 ++ consent/sdk_test.go | 2 ++ consent/strategy.go | 2 ++ consent/strategy_default.go | 2 ++ consent/strategy_default_test.go | 2 ++ consent/strategy_logout_test.go | 2 ++ consent/strategy_oauth_test.go | 2 ++ consent/subject_identifier_algorithm.go | 2 ++ consent/subject_identifier_algorithm_pairwise.go | 2 ++ consent/subject_identifier_algorithm_public.go | 2 ++ consent/types.go | 2 ++ consent/types_test.go | 2 ++ contrib/quickstart/gitlab/config/gitlab.rb | 2 ++ cypress/helpers/index.js | 2 ++ cypress/integration/admin/client_create.js | 2 ++ cypress/integration/admin/grant_jwtbearer.js | 2 ++ cypress/integration/oauth2/authorize_code.js | 2 ++ cypress/integration/oauth2/authorize_error.js | 2 ++ cypress/integration/oauth2/client_creds.js | 2 ++ cypress/integration/oauth2/consent.js | 2 ++ cypress/integration/oauth2/grant_jwtbearer.js | 2 ++ cypress/integration/oauth2/introspect.js | 2 ++ cypress/integration/oauth2/jwt.js | 2 ++ cypress/integration/oauth2/refresh_token.js | 2 ++ cypress/integration/openid/authorize_code.js | 2 ++ .../openid/dynamic_client_registration.js | 2 ++ cypress/integration/openid/logout.js | 2 ++ cypress/integration/openid/prompt.js | 2 ++ cypress/integration/openid/revoke.js | 2 ++ cypress/integration/openid/userinfo.js | 2 ++ cypress/plugins/index.js | 2 ++ cypress/support/commands.js | 2 ++ cypress/support/index.js | 2 ++ doc.go | 2 ++ driver/config/buildinfo.go | 2 ++ driver/config/config.go | 2 ++ driver/config/helper.go | 2 ++ driver/config/provider.go | 2 ++ driver/config/provider_fosite.go | 2 ++ driver/config/provider_test.go | 2 ++ driver/config/serve.go | 2 ++ driver/config/tls.go | 2 ++ driver/config/types.go | 2 ++ driver/config/types_test.go | 2 ++ driver/factory.go | 2 ++ driver/registry.go | 2 ++ driver/registry_base.go | 2 ++ driver/registry_base_test.go | 2 ++ driver/registry_nosqlite.go | 2 ++ driver/registry_sql.go | 2 ++ driver/registry_sql_test.go | 2 ++ driver/registry_sqlite.go | 2 ++ flow/flow.go | 2 ++ flow/flow_test.go | 2 ++ fositex/config.go | 2 ++ fositex/token_strategy.go | 2 ++ go_mod_indirect_pins.go | 2 ++ health/doc.go | 2 ++ health/handler_test.go | 2 ++ hsm/crypto11_mock_test.go | 2 ++ hsm/hsm.go | 2 ++ hsm/hsm_mock_test.go | 2 ++ hsm/manager_hsm.go | 2 ++ hsm/manager_hsm_test.go | 2 ++ hsm/manager_nohsm.go | 2 ++ internal/driver.go | 2 ++ internal/fosite_store.go | 2 ++ internal/mock/config_cookie.go | 2 ++ internal/mock_generator_rs256.go | 2 ++ internal/testhelpers/janitor_test_helper.go | 2 ++ internal/testhelpers/lifespans.go | 2 ++ internal/testhelpers/oauth2.go | 2 ++ internal/testhelpers/server.go | 2 ++ internal/testhelpers/uuid/uuid.go | 2 ++ jwk/aead.go | 2 ++ jwk/aead_test.go | 2 ++ jwk/cast.go | 2 ++ jwk/cast_test.go | 2 ++ jwk/generate.go | 2 ++ jwk/generate_test.go | 2 ++ jwk/generator.go | 2 ++ jwk/handler.go | 2 ++ jwk/handler_test.go | 2 ++ jwk/helper.go | 2 ++ jwk/helper_test.go | 2 ++ jwk/jwt_strategy.go | 2 ++ jwk/jwt_strategy_test.go | 2 ++ jwk/manager.go | 2 ++ jwk/manager_mock_test.go | 2 ++ jwk/manager_strategy.go | 2 ++ jwk/manager_strategy_test.go | 2 ++ jwk/manager_test_helpers.go | 2 ++ jwk/registry.go | 2 ++ jwk/registry_mock_test.go | 2 ++ jwk/sdk_test.go | 2 ++ main.go | 2 ++ oauth2/equalKeys.go | 2 ++ oauth2/equalKeys_test.go | 2 ++ oauth2/fosite_store_helpers.go | 2 ++ oauth2/fosite_store_test.go | 2 ++ oauth2/handler.go | 2 ++ oauth2/handler_fallback_endpoints.go | 2 ++ oauth2/handler_fallback_endpoints_test.go | 2 ++ oauth2/handler_test.go | 2 ++ oauth2/helper_test.go | 2 ++ oauth2/hook.go | 2 ++ oauth2/introspector.go | 2 ++ oauth2/introspector_test.go | 2 ++ oauth2/oauth2_auth_code_test.go | 2 ++ oauth2/oauth2_client_credentials_test.go | 2 ++ oauth2/oauth2_helper_test.go | 2 ++ oauth2/oauth2_jwt_bearer_test.go | 2 ++ oauth2/oauth2_provider_mock_test.go | 2 ++ oauth2/oauth2_refresh_token_test.go | 2 ++ oauth2/registry.go | 2 ++ oauth2/revocator_test.go | 2 ++ oauth2/session.go | 2 ++ oauth2/session_custom_claims_test.go | 2 ++ oauth2/session_test.go | 2 ++ oauth2/trust/doc.go | 2 ++ oauth2/trust/error.go | 2 ++ oauth2/trust/grant.go | 2 ++ oauth2/trust/handler.go | 2 ++ oauth2/trust/handler_test.go | 2 ++ oauth2/trust/manager.go | 2 ++ oauth2/trust/manager_test_helpers.go | 2 ++ oauth2/trust/registry.go | 2 ++ oauth2/trust/request.go | 2 ++ oauth2/trust/validator.go | 2 ++ oauth2/trust/validator_test.go | 2 ++ persistence/definitions.go | 2 ++ persistence/sql/migratest/assertion_helpers.go | 2 ++ persistence/sql/migratest/migration_test.go | 2 ++ persistence/sql/persister.go | 2 ++ persistence/sql/persister_client.go | 2 ++ persistence/sql/persister_consent.go | 2 ++ persistence/sql/persister_grant_jwk.go | 2 ++ persistence/sql/persister_jwk.go | 2 ++ persistence/sql/persister_migration.go | 2 ++ persistence/sql/persister_nid_test.go | 2 ++ persistence/sql/persister_oauth2.go | 2 ++ persistence/sql/persister_test.go | 2 ++ spec/api.go | 2 ++ spec/config.go | 2 ++ spec/schemas_test.go | 2 ++ test/conformance/run_test.go | 2 ++ test/e2e/oauth2-client/src/index.js | 2 ++ test/mock-cb/main.go | 2 ++ test/mock-client/main.go | 2 ++ test/mock-lcp/main.go | 2 ++ x/audit.go | 2 ++ x/audit_test.go | 2 ++ x/authenticator.go | 2 ++ x/basic_auth.go | 2 ++ x/clean_sql.go | 2 ++ x/config.go | 2 ++ x/const.go | 2 ++ x/doc.go | 2 ++ x/doc_swagger.go | 2 ++ x/error_enhancer.go | 2 ++ x/error_enhancer_test.go | 2 ++ x/errors.go | 2 ++ x/errors_test.go | 2 ++ x/fosite_storer.go | 2 ++ x/hasher.go | 2 ++ x/hasher_test.go | 2 ++ x/jwt.go | 2 ++ x/oauth2cors/cors.go | 2 ++ x/oauth2cors/cors_test.go | 2 ++ x/pagination.go | 2 ++ x/pointer.go | 2 ++ x/redirect_uri.go | 2 ++ x/redirect_uri_test.go | 2 ++ x/registry.go | 2 ++ x/router.go | 2 ++ x/secret.go | 2 ++ x/sqlx.go | 2 ++ x/swagger.go | 2 ++ x/test_helpers.go | 2 ++ x/tls_termination.go | 2 ++ x/tls_termination_test.go | 2 ++ 269 files changed, 534 insertions(+), 52 deletions(-) diff --git a/client/client.go b/client/client.go index c8c67d1c53d..01c5e0d810e 100644 --- a/client/client.go +++ b/client/client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/client_test.go b/client/client_test.go index fc546a30c6a..8ecd0797640 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/error.go b/client/error.go index b1cc5f12fae..e18395a774c 100644 --- a/client/error.go +++ b/client/error.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client import ( diff --git a/client/handler.go b/client/handler.go index 418d25a0fe0..8db2f99ef3b 100644 --- a/client/handler.go +++ b/client/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/handler_test.go b/client/handler_test.go index 4e1288758ab..1bbdc628fbf 100644 --- a/client/handler_test.go +++ b/client/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client_test import ( diff --git a/client/manager.go b/client/manager.go index 16150eb51ad..e7f52e9f2a6 100644 --- a/client/manager.go +++ b/client/manager.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/manager_test_helpers.go b/client/manager_test_helpers.go index 5b820be66ae..1ca5bc477ca 100644 --- a/client/manager_test_helpers.go +++ b/client/manager_test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/registry.go b/client/registry.go index 7d515475a5d..70b5968e318 100644 --- a/client/registry.go +++ b/client/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package client import ( diff --git a/client/sdk_test.go b/client/sdk_test.go index 6beb28a8188..9287417154f 100644 --- a/client/sdk_test.go +++ b/client/sdk_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/validator.go b/client/validator.go index 9b4b5204acb..913d1b18080 100644 --- a/client/validator.go +++ b/client/validator.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/client/validator_test.go b/client/validator_test.go index cdda2da1247..e2dff3d99c1 100644 --- a/client/validator_test.go +++ b/client/validator_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cli/error.go b/cmd/cli/error.go index 7beb154c236..eb378f1099b 100644 --- a/cmd/cli/error.go +++ b/cmd/cli/error.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cli import ( diff --git a/cmd/cli/handler.go b/cmd/cli/handler.go index 6a558fb654f..77f3f59c743 100644 --- a/cmd/cli/handler.go +++ b/cmd/cli/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cli/handler_helper.go b/cmd/cli/handler_helper.go index a24e7076946..9de64bf88c8 100644 --- a/cmd/cli/handler_helper.go +++ b/cmd/cli/handler_helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cli/handler_janitor.go b/cmd/cli/handler_janitor.go index 07cc6061aeb..bf92ad6cf27 100644 --- a/cmd/cli/handler_janitor.go +++ b/cmd/cli/handler_janitor.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cli import ( diff --git a/cmd/cli/handler_janitor_test.go b/cmd/cli/handler_janitor_test.go index 4413f2a2bac..7d2666442ae 100644 --- a/cmd/cli/handler_janitor_test.go +++ b/cmd/cli/handler_janitor_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cli_test import ( diff --git a/cmd/cli/handler_jwk.go b/cmd/cli/handler_jwk.go index d314b926241..cfe9de15de7 100644 --- a/cmd/cli/handler_jwk.go +++ b/cmd/cli/handler_jwk.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cli/handler_jwk_test.go b/cmd/cli/handler_jwk_test.go index 5eb97ccdb2b..22dc48a865f 100644 --- a/cmd/cli/handler_jwk_test.go +++ b/cmd/cli/handler_jwk_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cli import ( diff --git a/cmd/cli/handler_migrate.go b/cmd/cli/handler_migrate.go index 6252d22ecf8..427cb07f808 100644 --- a/cmd/cli/handler_migrate.go +++ b/cmd/cli/handler_migrate.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cli import ( diff --git a/cmd/cliclient/client.go b/cmd/cliclient/client.go index c0abe36599b..b62aa78e9b3 100644 --- a/cmd/cliclient/client.go +++ b/cmd/cliclient/client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cliclient import ( diff --git a/cmd/clidoc/main.go b/cmd/clidoc/main.go index 37ea88b3e40..2d164e5ef97 100644 --- a/cmd/clidoc/main.go +++ b/cmd/clidoc/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package main import ( diff --git a/cmd/cmd_create_client.go b/cmd/cmd_create_client.go index 9abd85bb510..ab5fc5e2808 100644 --- a/cmd/cmd_create_client.go +++ b/cmd/cmd_create_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_create_client_test.go b/cmd/cmd_create_client_test.go index a4f3cd1c391..54abb63a9ab 100644 --- a/cmd/cmd_create_client_test.go +++ b/cmd/cmd_create_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_create_jwks.go b/cmd/cmd_create_jwks.go index 249cd708846..60368a692e8 100644 --- a/cmd/cmd_create_jwks.go +++ b/cmd/cmd_create_jwks.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_create_jwks_test.go b/cmd/cmd_create_jwks_test.go index 7f7d9e132e0..9d69c97729b 100644 --- a/cmd/cmd_create_jwks_test.go +++ b/cmd/cmd_create_jwks_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_delete.go b/cmd/cmd_delete.go index d705aa88825..88e1da43cd6 100644 --- a/cmd/cmd_delete.go +++ b/cmd/cmd_delete.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_delete_client.go b/cmd/cmd_delete_client.go index 02a7739e698..cfe526239cf 100644 --- a/cmd/cmd_delete_client.go +++ b/cmd/cmd_delete_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_delete_client_test.go b/cmd/cmd_delete_client_test.go index 94a89a87e9e..fad27673042 100644 --- a/cmd/cmd_delete_client_test.go +++ b/cmd/cmd_delete_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_delete_jwks.go b/cmd/cmd_delete_jwks.go index 52f7d362664..711fafb7dde 100644 --- a/cmd/cmd_delete_jwks.go +++ b/cmd/cmd_delete_jwks.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_delete_jwks_test.go b/cmd/cmd_delete_jwks_test.go index bfccec5a0ae..094b0ec2d20 100644 --- a/cmd/cmd_delete_jwks_test.go +++ b/cmd/cmd_delete_jwks_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_delete_tokens.go b/cmd/cmd_delete_tokens.go index 0ba812d923c..e0e58196964 100644 --- a/cmd/cmd_delete_tokens.go +++ b/cmd/cmd_delete_tokens.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_delete_tokens_test.go b/cmd/cmd_delete_tokens_test.go index 9adf07ec670..427e661b965 100644 --- a/cmd/cmd_delete_tokens_test.go +++ b/cmd/cmd_delete_tokens_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_get.go b/cmd/cmd_get.go index 196847d9344..0fe2b8d9c8d 100644 --- a/cmd/cmd_get.go +++ b/cmd/cmd_get.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_get_client.go b/cmd/cmd_get_client.go index a52ff9a4f76..505eb59e199 100644 --- a/cmd/cmd_get_client.go +++ b/cmd/cmd_get_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_get_client_test.go b/cmd/cmd_get_client_test.go index 65be3ecbb8f..f1d17c20da8 100644 --- a/cmd/cmd_get_client_test.go +++ b/cmd/cmd_get_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_get_jwks.go b/cmd/cmd_get_jwks.go index c0267033d85..41f35d922c9 100644 --- a/cmd/cmd_get_jwks.go +++ b/cmd/cmd_get_jwks.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_get_jwks_test.go b/cmd/cmd_get_jwks_test.go index 8c4313475fc..b647b81790e 100644 --- a/cmd/cmd_get_jwks_test.go +++ b/cmd/cmd_get_jwks_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_helper_client.go b/cmd/cmd_helper_client.go index 2e9fb054949..98bbf7b6106 100644 --- a/cmd/cmd_helper_client.go +++ b/cmd/cmd_helper_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_helper_test.go b/cmd/cmd_helper_test.go index 73a3dea1ea2..e56a8121480 100644 --- a/cmd/cmd_helper_test.go +++ b/cmd/cmd_helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_import.go b/cmd/cmd_import.go index e4e73bcc052..03ee7018dfd 100644 --- a/cmd/cmd_import.go +++ b/cmd/cmd_import.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_import_client.go b/cmd/cmd_import_client.go index 3348ac32a95..e5d1504fdea 100644 --- a/cmd/cmd_import_client.go +++ b/cmd/cmd_import_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_import_client_test.go b/cmd/cmd_import_client_test.go index f851d4e1e52..66c8cac1721 100644 --- a/cmd/cmd_import_client_test.go +++ b/cmd/cmd_import_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_import_jwk.go b/cmd/cmd_import_jwk.go index 03321ed5353..5bb12537b1a 100644 --- a/cmd/cmd_import_jwk.go +++ b/cmd/cmd_import_jwk.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// 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. +// Copyright © 2022 Ory Corp package cmd diff --git a/cmd/cmd_import_jwk_test.go b/cmd/cmd_import_jwk_test.go index c5b08d97c27..b1b5dcd83f0 100644 --- a/cmd/cmd_import_jwk_test.go +++ b/cmd/cmd_import_jwk_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_introspect.go b/cmd/cmd_introspect.go index 14fc712fd56..01bdda9ad24 100644 --- a/cmd/cmd_introspect.go +++ b/cmd/cmd_introspect.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_introspect_token.go b/cmd/cmd_introspect_token.go index 2076b2c5c4b..95546bbb8fc 100644 --- a/cmd/cmd_introspect_token.go +++ b/cmd/cmd_introspect_token.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_introspect_token_test.go b/cmd/cmd_introspect_token_test.go index 6e42b2d559c..b7fa466a010 100644 --- a/cmd/cmd_introspect_token_test.go +++ b/cmd/cmd_introspect_token_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_list.go b/cmd/cmd_list.go index 7286caaa83a..a8146c08492 100644 --- a/cmd/cmd_list.go +++ b/cmd/cmd_list.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_list_clients.go b/cmd/cmd_list_clients.go index 97d1ee06393..2a4afd33a27 100644 --- a/cmd/cmd_list_clients.go +++ b/cmd/cmd_list_clients.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_list_clients_test.go b/cmd/cmd_list_clients_test.go index 9c03a136b92..11c492af85b 100644 --- a/cmd/cmd_list_clients_test.go +++ b/cmd/cmd_list_clients_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_perform.go b/cmd/cmd_perform.go index ab4cf728ab6..be49ce12e98 100644 --- a/cmd/cmd_perform.go +++ b/cmd/cmd_perform.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_perform_authorization_code.go b/cmd/cmd_perform_authorization_code.go index 68235d8b9e4..cec9a5f29d4 100644 --- a/cmd/cmd_perform_authorization_code.go +++ b/cmd/cmd_perform_authorization_code.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_perform_client_credentials.go b/cmd/cmd_perform_client_credentials.go index 7739c5f979f..095bc0d04e2 100644 --- a/cmd/cmd_perform_client_credentials.go +++ b/cmd/cmd_perform_client_credentials.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_perform_client_credentials_test.go b/cmd/cmd_perform_client_credentials_test.go index 461b8e39629..d41c9584617 100644 --- a/cmd/cmd_perform_client_credentials_test.go +++ b/cmd/cmd_perform_client_credentials_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_revoke.go b/cmd/cmd_revoke.go index f24594df05d..3ecadd5cac1 100644 --- a/cmd/cmd_revoke.go +++ b/cmd/cmd_revoke.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_revoke_token.go b/cmd/cmd_revoke_token.go index a17b468a0b7..7427b57d983 100644 --- a/cmd/cmd_revoke_token.go +++ b/cmd/cmd_revoke_token.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/cmd_revoke_token_test.go b/cmd/cmd_revoke_token_test.go index d5649f7c33d..34273fd29f8 100644 --- a/cmd/cmd_revoke_token_test.go +++ b/cmd/cmd_revoke_token_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/cmd_update.go b/cmd/cmd_update.go index 1800c987874..5546d25a3db 100644 --- a/cmd/cmd_update.go +++ b/cmd/cmd_update.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_update_client.go b/cmd/cmd_update_client.go index 4548adaae56..448c4b04b99 100644 --- a/cmd/cmd_update_client.go +++ b/cmd/cmd_update_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/cmd_update_client_test.go b/cmd/cmd_update_client_test.go index f930b6d9085..c3132875c67 100644 --- a/cmd/cmd_update_client_test.go +++ b/cmd/cmd_update_client_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd_test import ( diff --git a/cmd/create.go b/cmd/create.go index 181eecf0084..0f38c328d85 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/helper.go b/cmd/helper.go index 30ddf45beef..a7983114918 100644 --- a/cmd/helper.go +++ b/cmd/helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/helper_test.go b/cmd/helper_test.go index 78b722a8833..a9d1e7e94c7 100644 --- a/cmd/helper_test.go +++ b/cmd/helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/janitor.go b/cmd/janitor.go index 16588cebc22..f3177c82b3b 100644 --- a/cmd/janitor.go +++ b/cmd/janitor.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/migrate.go b/cmd/migrate.go index 799fb81b055..e32abf754d5 100644 --- a/cmd/migrate.go +++ b/cmd/migrate.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/migrate_gen.go b/cmd/migrate_gen.go index 2fbb8586b9f..fcddf77557f 100644 --- a/cmd/migrate_gen.go +++ b/cmd/migrate_gen.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/migrate_sql.go b/cmd/migrate_sql.go index 223454009ca..918e2617896 100644 --- a/cmd/migrate_sql.go +++ b/cmd/migrate_sql.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/output_client.go b/cmd/output_client.go index d4ca7ca5000..8fd1be0f811 100644 --- a/cmd/output_client.go +++ b/cmd/output_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/output_introspection.go b/cmd/output_introspection.go index a6d17604106..0300bc76da3 100644 --- a/cmd/output_introspection.go +++ b/cmd/output_introspection.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/output_jwks.go b/cmd/output_jwks.go index d5fc3a7885b..ae05da07b32 100644 --- a/cmd/output_jwks.go +++ b/cmd/output_jwks.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/output_token.go b/cmd/output_token.go index 07db51c6be0..12d205b9db7 100644 --- a/cmd/output_token.go +++ b/cmd/output_token.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/cmd/root.go b/cmd/root.go index e9006511a29..e9bd4ef51d6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/serve.go b/cmd/serve.go index 992bcddc50c..0d6e36c6abd 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/serve_admin.go b/cmd/serve_admin.go index 79eb20d936d..9921867f859 100644 --- a/cmd/serve_admin.go +++ b/cmd/serve_admin.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// 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. +// Copyright © 2022 Ory Corp package cmd diff --git a/cmd/serve_all.go b/cmd/serve_all.go index 1f92fafc8d8..f98d2f74e74 100644 --- a/cmd/serve_all.go +++ b/cmd/serve_all.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// 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. +// Copyright © 2022 Ory Corp package cmd diff --git a/cmd/serve_public.go b/cmd/serve_public.go index 2f82a42a486..87dadc3d3b8 100644 --- a/cmd/serve_public.go +++ b/cmd/serve_public.go @@ -1,16 +1,4 @@ -// Copyright © 2018 NAME HERE -// -// 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. +// Copyright © 2022 Ory Corp package cmd diff --git a/cmd/server/banner.go b/cmd/server/banner.go index af726d5c2db..6e0e31fbb07 100644 --- a/cmd/server/banner.go +++ b/cmd/server/banner.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/server/handler.go b/cmd/server/handler.go index ebf9019671f..aa4b0ec59ab 100644 --- a/cmd/server/handler.go +++ b/cmd/server/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/server/helper_cert.go b/cmd/server/helper_cert.go index ec7ef07ffb4..a5bc0a5aca2 100644 --- a/cmd/server/helper_cert.go +++ b/cmd/server/helper_cert.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/cmd/server/helper_cert_test.go b/cmd/server/helper_cert_test.go index 7fc07bc82cd..1a21700ed9f 100644 --- a/cmd/server/helper_cert_test.go +++ b/cmd/server/helper_cert_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package server_test import ( diff --git a/cmd/version.go b/cmd/version.go index ae6e287a4f9..c0c39bb8350 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/handler.go b/consent/handler.go index 748edb8869d..8e5bbab88b2 100644 --- a/consent/handler.go +++ b/consent/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/handler_test.go b/consent/handler_test.go index af3c1d9648d..14b5b9cefc3 100644 --- a/consent/handler_test.go +++ b/consent/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/helper.go b/consent/helper.go index a28509d5ed7..3bc59ff4e74 100644 --- a/consent/helper.go +++ b/consent/helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/helper_test.go b/consent/helper_test.go index fb0b93bd6e7..a164f5531fe 100644 --- a/consent/helper_test.go +++ b/consent/helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/janitor_consent_test_helper.go b/consent/janitor_consent_test_helper.go index 7d45c35adff..124d7ce53f4 100644 --- a/consent/janitor_consent_test_helper.go +++ b/consent/janitor_consent_test_helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package consent import ( diff --git a/consent/manager.go b/consent/manager.go index 88a06e5e5d7..c819f81dd7a 100644 --- a/consent/manager.go +++ b/consent/manager.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/manager_test_helpers.go b/consent/manager_test_helpers.go index cc9fffd7029..c7ee5a78200 100644 --- a/consent/manager_test_helpers.go +++ b/consent/manager_test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/registry.go b/consent/registry.go index 2f9ed0387db..fe1c5c0bf99 100644 --- a/consent/registry.go +++ b/consent/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package consent import ( diff --git a/consent/sdk_test.go b/consent/sdk_test.go index 00f0f6407a2..6ac4eeaeed9 100644 --- a/consent/sdk_test.go +++ b/consent/sdk_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/strategy.go b/consent/strategy.go index cfd4cafbeee..cce8712d46b 100644 --- a/consent/strategy.go +++ b/consent/strategy.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/strategy_default.go b/consent/strategy_default.go index f54f655bdb3..232368847f9 100644 --- a/consent/strategy_default.go +++ b/consent/strategy_default.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/strategy_default_test.go b/consent/strategy_default_test.go index c5aaf90864e..b85691a4049 100644 --- a/consent/strategy_default_test.go +++ b/consent/strategy_default_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/strategy_logout_test.go b/consent/strategy_logout_test.go index 12983a7a39a..98517a4ff8d 100644 --- a/consent/strategy_logout_test.go +++ b/consent/strategy_logout_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package consent_test import ( diff --git a/consent/strategy_oauth_test.go b/consent/strategy_oauth_test.go index ea9210d8669..b8e40d1040e 100644 --- a/consent/strategy_oauth_test.go +++ b/consent/strategy_oauth_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package consent_test import ( diff --git a/consent/subject_identifier_algorithm.go b/consent/subject_identifier_algorithm.go index f0b77d8d65a..a6eecfc79e8 100644 --- a/consent/subject_identifier_algorithm.go +++ b/consent/subject_identifier_algorithm.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/subject_identifier_algorithm_pairwise.go b/consent/subject_identifier_algorithm_pairwise.go index 45900c1a75d..f5eaee36c30 100644 --- a/consent/subject_identifier_algorithm_pairwise.go +++ b/consent/subject_identifier_algorithm_pairwise.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/subject_identifier_algorithm_public.go b/consent/subject_identifier_algorithm_public.go index 150ebd28642..c20ac359028 100644 --- a/consent/subject_identifier_algorithm_public.go +++ b/consent/subject_identifier_algorithm_public.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/types.go b/consent/types.go index 7e60d0e647d..d747a08c60b 100644 --- a/consent/types.go +++ b/consent/types.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/consent/types_test.go b/consent/types_test.go index bfe91c77f2c..a5024a99317 100644 --- a/consent/types_test.go +++ b/consent/types_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package consent import ( diff --git a/contrib/quickstart/gitlab/config/gitlab.rb b/contrib/quickstart/gitlab/config/gitlab.rb index ff3fbbf4c11..0281fa702cc 100644 --- a/contrib/quickstart/gitlab/config/gitlab.rb +++ b/contrib/quickstart/gitlab/config/gitlab.rb @@ -1,3 +1,5 @@ +# Copyright © 2022 Ory Corp + ## GitLab configuration settings ##! This file is generated during initial installation and **is not** modified ##! during upgrades. diff --git a/cypress/helpers/index.js b/cypress/helpers/index.js index 4dde323f12a..f196ae88a17 100644 --- a/cypress/helpers/index.js +++ b/cypress/helpers/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { v4 as uuidv4 } from "uuid" export const prng = () => uuidv4() diff --git a/cypress/integration/admin/client_create.js b/cypress/integration/admin/client_create.js index 71795a447a2..83209352efc 100644 --- a/cypress/integration/admin/client_create.js +++ b/cypress/integration/admin/client_create.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("The Clients Admin Interface", function () { diff --git a/cypress/integration/admin/grant_jwtbearer.js b/cypress/integration/admin/grant_jwtbearer.js index bb45e12b010..8fce6eda0c8 100644 --- a/cypress/integration/admin/grant_jwtbearer.js +++ b/cypress/integration/admin/grant_jwtbearer.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + const dayjs = require("dayjs") const isBetween = require("dayjs/plugin/isBetween") const utc = require("dayjs/plugin/utc") diff --git a/cypress/integration/oauth2/authorize_code.js b/cypress/integration/oauth2/authorize_code.js index 2c26c44eb6d..0d0cd733656 100644 --- a/cypress/integration/oauth2/authorize_code.js +++ b/cypress/integration/oauth2/authorize_code.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("The OAuth 2.0 Authorization Code Grant", function () { diff --git a/cypress/integration/oauth2/authorize_error.js b/cypress/integration/oauth2/authorize_error.js index e854f80283e..2390de6f720 100644 --- a/cypress/integration/oauth2/authorize_error.js +++ b/cypress/integration/oauth2/authorize_error.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" import qs from "querystring" diff --git a/cypress/integration/oauth2/client_creds.js b/cypress/integration/oauth2/client_creds.js index 1bb70da3281..a6301a7f9dd 100644 --- a/cypress/integration/oauth2/client_creds.js +++ b/cypress/integration/oauth2/client_creds.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" describe("The OAuth 2.0 Authorization Code Grant", function () { diff --git a/cypress/integration/oauth2/consent.js b/cypress/integration/oauth2/consent.js index 093b8db5256..112de05ca4c 100644 --- a/cypress/integration/oauth2/consent.js +++ b/cypress/integration/oauth2/consent.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" describe("OAuth 2.0 End-User Authorization", () => { diff --git a/cypress/integration/oauth2/grant_jwtbearer.js b/cypress/integration/oauth2/grant_jwtbearer.js index 7fda8e930c4..8ddff8168cb 100644 --- a/cypress/integration/oauth2/grant_jwtbearer.js +++ b/cypress/integration/oauth2/grant_jwtbearer.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, createGrant, diff --git a/cypress/integration/oauth2/introspect.js b/cypress/integration/oauth2/introspect.js index 27a33b9dc7f..f8e051d6afd 100644 --- a/cypress/integration/oauth2/introspect.js +++ b/cypress/integration/oauth2/introspect.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("OpenID Connect Token Introspection", () => { diff --git a/cypress/integration/oauth2/jwt.js b/cypress/integration/oauth2/jwt.js index f98ecaeb405..47ab599f590 100644 --- a/cypress/integration/oauth2/jwt.js +++ b/cypress/integration/oauth2/jwt.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" describe("OAuth 2.0 JSON Web Token Access Tokens", () => { diff --git a/cypress/integration/oauth2/refresh_token.js b/cypress/integration/oauth2/refresh_token.js index e7f470f168c..ec1ca82e3f5 100644 --- a/cypress/integration/oauth2/refresh_token.js +++ b/cypress/integration/oauth2/refresh_token.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" describe("The OAuth 2.0 Refresh Token Grant", function () { diff --git a/cypress/integration/openid/authorize_code.js b/cypress/integration/openid/authorize_code.js index 77860bd46d8..4c7b3841d4f 100644 --- a/cypress/integration/openid/authorize_code.js +++ b/cypress/integration/openid/authorize_code.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("OpenID Connect Authorize Code Grant", () => { diff --git a/cypress/integration/openid/dynamic_client_registration.js b/cypress/integration/openid/dynamic_client_registration.js index b304b364995..8fe77a58d8e 100644 --- a/cypress/integration/openid/dynamic_client_registration.js +++ b/cypress/integration/openid/dynamic_client_registration.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + describe("OAuth2 / OpenID Connect Dynamic Client Registration", function () { it("should return same client_secret given in request for newly created clients with client_secret specified", function () { cy.request({ diff --git a/cypress/integration/openid/logout.js b/cypress/integration/openid/logout.js index aa4249f3455..967425477cc 100644 --- a/cypress/integration/openid/logout.js +++ b/cypress/integration/openid/logout.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { deleteClients, prng } from "../../helpers" const nc = () => ({ diff --git a/cypress/integration/openid/prompt.js b/cypress/integration/openid/prompt.js index 7276128ae53..698d8ee67e3 100644 --- a/cypress/integration/openid/prompt.js +++ b/cypress/integration/openid/prompt.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { createClient, prng } from "../../helpers" import qs from "querystring" diff --git a/cypress/integration/openid/revoke.js b/cypress/integration/openid/revoke.js index f50320f2baa..2047e819877 100644 --- a/cypress/integration/openid/revoke.js +++ b/cypress/integration/openid/revoke.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("OpenID Connect Token Revokation", () => { diff --git a/cypress/integration/openid/userinfo.js b/cypress/integration/openid/userinfo.js index 079d7d7e2a1..d85341759c0 100644 --- a/cypress/integration/openid/userinfo.js +++ b/cypress/integration/openid/userinfo.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + import { prng } from "../../helpers" describe("OpenID Connect Userinfo", () => { diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index fd170fba691..3b91db7e1b3 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // *********************************************************** // This example plugins/index.js can be used to load plugins // diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 9b0095509f4..fb01f8f1926 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // *********************************************** // This example commands.js shows you how to // create various custom commands and overwrite diff --git a/cypress/support/index.js b/cypress/support/index.js index a80764cb2cb..c29b34a41b4 100644 --- a/cypress/support/index.js +++ b/cypress/support/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. diff --git a/doc.go b/doc.go index 00e4a3c5f59..9488a8f0096 100644 --- a/doc.go +++ b/doc.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/driver/config/buildinfo.go b/driver/config/buildinfo.go index bd26334403b..dc9969c10c3 100644 --- a/driver/config/buildinfo.go +++ b/driver/config/buildinfo.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config var ( diff --git a/driver/config/config.go b/driver/config/config.go index 88f9b319e39..05aa08a4859 100644 --- a/driver/config/config.go +++ b/driver/config/config.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config type Provider interface { diff --git a/driver/config/helper.go b/driver/config/helper.go index e06bac84764..66a3a5b4a1e 100644 --- a/driver/config/helper.go +++ b/driver/config/helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/provider.go b/driver/config/provider.go index 5d763ec7df8..c60a4aa7977 100644 --- a/driver/config/provider.go +++ b/driver/config/provider.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/provider_fosite.go b/driver/config/provider_fosite.go index 91938930477..43746a6033f 100644 --- a/driver/config/provider_fosite.go +++ b/driver/config/provider_fosite.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/provider_test.go b/driver/config/provider_test.go index 4afba16db70..c861bb78695 100644 --- a/driver/config/provider_test.go +++ b/driver/config/provider_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/serve.go b/driver/config/serve.go index a07070e70f8..626a7e03e6a 100644 --- a/driver/config/serve.go +++ b/driver/config/serve.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/tls.go b/driver/config/tls.go index a8b2f090f73..f1a25607bcf 100644 --- a/driver/config/tls.go +++ b/driver/config/tls.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/types.go b/driver/config/types.go index 190be1a35bf..07ac930b1a2 100644 --- a/driver/config/types.go +++ b/driver/config/types.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/config/types_test.go b/driver/config/types_test.go index a8c38461ff3..08c6d565ad2 100644 --- a/driver/config/types_test.go +++ b/driver/config/types_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package config import ( diff --git a/driver/factory.go b/driver/factory.go index f83f5a6c331..80995ac7fc6 100644 --- a/driver/factory.go +++ b/driver/factory.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry.go b/driver/registry.go index 0ddbb1c47f0..e08281bc075 100644 --- a/driver/registry.go +++ b/driver/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry_base.go b/driver/registry_base.go index 322d46b51e3..4ecc09d9b1b 100644 --- a/driver/registry_base.go +++ b/driver/registry_base.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry_base_test.go b/driver/registry_base_test.go index bd281e5758b..4865b52ea6e 100644 --- a/driver/registry_base_test.go +++ b/driver/registry_base_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry_nosqlite.go b/driver/registry_nosqlite.go index c13c5abf759..267ab5a06ae 100644 --- a/driver/registry_nosqlite.go +++ b/driver/registry_nosqlite.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !sqlite // +build !sqlite diff --git a/driver/registry_sql.go b/driver/registry_sql.go index b093cb02f88..6e69246892e 100644 --- a/driver/registry_sql.go +++ b/driver/registry_sql.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry_sql_test.go b/driver/registry_sql_test.go index 60fe50519de..a43c6603ece 100644 --- a/driver/registry_sql_test.go +++ b/driver/registry_sql_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package driver import ( diff --git a/driver/registry_sqlite.go b/driver/registry_sqlite.go index 476c5ac07a1..5d9a5c336fe 100644 --- a/driver/registry_sqlite.go +++ b/driver/registry_sqlite.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build sqlite // +build sqlite diff --git a/flow/flow.go b/flow/flow.go index 317c8c102d6..11424400fe2 100644 --- a/flow/flow.go +++ b/flow/flow.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package flow import ( diff --git a/flow/flow_test.go b/flow/flow_test.go index 9792cef28d1..b8978f259d7 100644 --- a/flow/flow_test.go +++ b/flow/flow_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package flow import ( diff --git a/fositex/config.go b/fositex/config.go index 3034b8f1cd8..59d803d7dce 100644 --- a/fositex/config.go +++ b/fositex/config.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package fositex import ( diff --git a/fositex/token_strategy.go b/fositex/token_strategy.go index 859a0d75f62..45ddb6edadb 100644 --- a/fositex/token_strategy.go +++ b/fositex/token_strategy.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package fositex import ( diff --git a/go_mod_indirect_pins.go b/go_mod_indirect_pins.go index b25e8ff12bd..b74944949c9 100644 --- a/go_mod_indirect_pins.go +++ b/go_mod_indirect_pins.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build go_mod_indirect_pins // +build go_mod_indirect_pins diff --git a/health/doc.go b/health/doc.go index f5e8922656e..d6a66006a3b 100644 --- a/health/doc.go +++ b/health/doc.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package health // Alive returns an ok status if the instance is ready to handle HTTP requests. diff --git a/health/handler_test.go b/health/handler_test.go index e91fcaa32ff..b0be458fb8e 100644 --- a/health/handler_test.go +++ b/health/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package health import ( diff --git a/hsm/crypto11_mock_test.go b/hsm/crypto11_mock_test.go index d1828c51bba..319d47d08b9 100644 --- a/hsm/crypto11_mock_test.go +++ b/hsm/crypto11_mock_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build hsm // +build hsm diff --git a/hsm/hsm.go b/hsm/hsm.go index 56427650d06..e9f09ddc74a 100644 --- a/hsm/hsm.go +++ b/hsm/hsm.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build hsm // +build hsm diff --git a/hsm/hsm_mock_test.go b/hsm/hsm_mock_test.go index 65502cf21c9..1a684126a21 100644 --- a/hsm/hsm_mock_test.go +++ b/hsm/hsm_mock_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build hsm // +build hsm diff --git a/hsm/manager_hsm.go b/hsm/manager_hsm.go index 7ac233f34e5..4a7a6849b59 100644 --- a/hsm/manager_hsm.go +++ b/hsm/manager_hsm.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build hsm // +build hsm diff --git a/hsm/manager_hsm_test.go b/hsm/manager_hsm_test.go index 752cb1b30af..35ebb43352f 100644 --- a/hsm/manager_hsm_test.go +++ b/hsm/manager_hsm_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build hsm // +build hsm diff --git a/hsm/manager_nohsm.go b/hsm/manager_nohsm.go index 11460a79498..4ba6172de28 100644 --- a/hsm/manager_nohsm.go +++ b/hsm/manager_nohsm.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build !hsm // +build !hsm diff --git a/internal/driver.go b/internal/driver.go index 89a3ab431a4..56afb995917 100644 --- a/internal/driver.go +++ b/internal/driver.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package internal import ( diff --git a/internal/fosite_store.go b/internal/fosite_store.go index f820762bd9c..cb619e769b7 100644 --- a/internal/fosite_store.go +++ b/internal/fosite_store.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package internal import ( diff --git a/internal/mock/config_cookie.go b/internal/mock/config_cookie.go index 16c9c2bb323..d074722946b 100644 --- a/internal/mock/config_cookie.go +++ b/internal/mock/config_cookie.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ory/hydra/x (interfaces: CookieConfigProvider) diff --git a/internal/mock_generator_rs256.go b/internal/mock_generator_rs256.go index ec1117356b2..988a837303d 100644 --- a/internal/mock_generator_rs256.go +++ b/internal/mock_generator_rs256.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/internal/testhelpers/janitor_test_helper.go b/internal/testhelpers/janitor_test_helper.go index 06194c0828f..33e7d9ad031 100644 --- a/internal/testhelpers/janitor_test_helper.go +++ b/internal/testhelpers/janitor_test_helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package testhelpers import ( diff --git a/internal/testhelpers/lifespans.go b/internal/testhelpers/lifespans.go index 0dfd9cdf52d..37f1df3d149 100644 --- a/internal/testhelpers/lifespans.go +++ b/internal/testhelpers/lifespans.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package testhelpers import ( diff --git a/internal/testhelpers/oauth2.go b/internal/testhelpers/oauth2.go index e5ebc12afbc..efd44a9b5d6 100644 --- a/internal/testhelpers/oauth2.go +++ b/internal/testhelpers/oauth2.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package testhelpers import ( diff --git a/internal/testhelpers/server.go b/internal/testhelpers/server.go index 7f2e605713a..d1c47510f12 100644 --- a/internal/testhelpers/server.go +++ b/internal/testhelpers/server.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package testhelpers import ( diff --git a/internal/testhelpers/uuid/uuid.go b/internal/testhelpers/uuid/uuid.go index 8488e08fe59..f974b1469d3 100644 --- a/internal/testhelpers/uuid/uuid.go +++ b/internal/testhelpers/uuid/uuid.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package uuid import ( diff --git a/jwk/aead.go b/jwk/aead.go index 92ce01344f8..964bf3f036d 100644 --- a/jwk/aead.go +++ b/jwk/aead.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/aead_test.go b/jwk/aead_test.go index 3d8eb3de35a..7aa4f8dd959 100644 --- a/jwk/aead_test.go +++ b/jwk/aead_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/cast.go b/jwk/cast.go index e16e5408110..16f3e8cd94a 100644 --- a/jwk/cast.go +++ b/jwk/cast.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/cast_test.go b/jwk/cast_test.go index 8de67b52408..94097876595 100644 --- a/jwk/cast_test.go +++ b/jwk/cast_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/generate.go b/jwk/generate.go index d6c12ad82c0..cdd1166d027 100644 --- a/jwk/generate.go +++ b/jwk/generate.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package jwk import ( diff --git a/jwk/generate_test.go b/jwk/generate_test.go index 0e930af424c..c456591ce62 100644 --- a/jwk/generate_test.go +++ b/jwk/generate_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package jwk import ( diff --git a/jwk/generator.go b/jwk/generator.go index 74b63c0fa18..1f413a2df98 100644 --- a/jwk/generator.go +++ b/jwk/generator.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/handler.go b/jwk/handler.go index 6a84023cc02..b968d690a80 100644 --- a/jwk/handler.go +++ b/jwk/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/handler_test.go b/jwk/handler_test.go index 862c4a2ccba..dab31e6d6ea 100644 --- a/jwk/handler_test.go +++ b/jwk/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/helper.go b/jwk/helper.go index 5248bafcd29..77d7c87046c 100644 --- a/jwk/helper.go +++ b/jwk/helper.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/helper_test.go b/jwk/helper_test.go index cd17b3ae80b..50861ceb24c 100644 --- a/jwk/helper_test.go +++ b/jwk/helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/jwt_strategy.go b/jwk/jwt_strategy.go index 4f685e97261..99814f889bc 100644 --- a/jwk/jwt_strategy.go +++ b/jwk/jwt_strategy.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/jwt_strategy_test.go b/jwk/jwt_strategy_test.go index 25a9fda10d8..1c3d0041a46 100644 --- a/jwk/jwt_strategy_test.go +++ b/jwk/jwt_strategy_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/manager.go b/jwk/manager.go index 2a5ec35a401..ff7380de181 100644 --- a/jwk/manager.go +++ b/jwk/manager.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/manager_mock_test.go b/jwk/manager_mock_test.go index b91641dedee..b9aeaad0d72 100644 --- a/jwk/manager_mock_test.go +++ b/jwk/manager_mock_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by MockGen. DO NOT EDIT. // Source: jwk/manager.go diff --git a/jwk/manager_strategy.go b/jwk/manager_strategy.go index 8fc9cab25a0..bcf3daf9b21 100644 --- a/jwk/manager_strategy.go +++ b/jwk/manager_strategy.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package jwk import ( diff --git a/jwk/manager_strategy_test.go b/jwk/manager_strategy_test.go index 2f7fac444fb..c741b0ce5d9 100644 --- a/jwk/manager_strategy_test.go +++ b/jwk/manager_strategy_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package jwk_test import ( diff --git a/jwk/manager_test_helpers.go b/jwk/manager_test_helpers.go index d61cc51e9b5..86df29cb1e7 100644 --- a/jwk/manager_test_helpers.go +++ b/jwk/manager_test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/jwk/registry.go b/jwk/registry.go index b7981a7c9e2..c05cdacd310 100644 --- a/jwk/registry.go +++ b/jwk/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package jwk import ( diff --git a/jwk/registry_mock_test.go b/jwk/registry_mock_test.go index 28881c2b891..d39e0cf4e01 100644 --- a/jwk/registry_mock_test.go +++ b/jwk/registry_mock_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by MockGen. DO NOT EDIT. // Source: jwk/registry.go diff --git a/jwk/sdk_test.go b/jwk/sdk_test.go index b456b0436cc..6a37ef28404 100644 --- a/jwk/sdk_test.go +++ b/jwk/sdk_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/main.go b/main.go index ce11492bec2..db545100766 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/equalKeys.go b/oauth2/equalKeys.go index c5357aff32e..b95fdb5e662 100644 --- a/oauth2/equalKeys.go +++ b/oauth2/equalKeys.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/equalKeys_test.go b/oauth2/equalKeys_test.go index 25304a4b5c7..bf5f8a3a05d 100644 --- a/oauth2/equalKeys_test.go +++ b/oauth2/equalKeys_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/fosite_store_helpers.go b/oauth2/fosite_store_helpers.go index a14b96723ac..987e5423846 100644 --- a/oauth2/fosite_store_helpers.go +++ b/oauth2/fosite_store_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/fosite_store_test.go b/oauth2/fosite_store_test.go index 45c550c7b9a..bca4842e373 100644 --- a/oauth2/fosite_store_test.go +++ b/oauth2/fosite_store_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/handler.go b/oauth2/handler.go index c00fae2fd86..9eb7a3cca50 100644 --- a/oauth2/handler.go +++ b/oauth2/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/handler_fallback_endpoints.go b/oauth2/handler_fallback_endpoints.go index abac29164ff..0d118cda1f6 100644 --- a/oauth2/handler_fallback_endpoints.go +++ b/oauth2/handler_fallback_endpoints.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/handler_fallback_endpoints_test.go b/oauth2/handler_fallback_endpoints_test.go index de57f53a027..44bd57e7971 100644 --- a/oauth2/handler_fallback_endpoints_test.go +++ b/oauth2/handler_fallback_endpoints_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/handler_test.go b/oauth2/handler_test.go index 7475f50e59b..566942bca1d 100644 --- a/oauth2/handler_test.go +++ b/oauth2/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/helper_test.go b/oauth2/helper_test.go index e923cad3577..55d3c1ad99f 100644 --- a/oauth2/helper_test.go +++ b/oauth2/helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2_test import ( diff --git a/oauth2/hook.go b/oauth2/hook.go index 00c24d68c9c..f558ce92639 100644 --- a/oauth2/hook.go +++ b/oauth2/hook.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2 import ( diff --git a/oauth2/introspector.go b/oauth2/introspector.go index 1788e4c0149..2b344fc79cb 100644 --- a/oauth2/introspector.go +++ b/oauth2/introspector.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/introspector_test.go b/oauth2/introspector_test.go index 941e802dbf4..72d7fabf598 100644 --- a/oauth2/introspector_test.go +++ b/oauth2/introspector_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/oauth2_auth_code_test.go b/oauth2/oauth2_auth_code_test.go index 44914e6a3ec..fba2227930a 100644 --- a/oauth2/oauth2_auth_code_test.go +++ b/oauth2/oauth2_auth_code_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/oauth2_client_credentials_test.go b/oauth2/oauth2_client_credentials_test.go index 4974f3b58c6..fd31a976e45 100644 --- a/oauth2/oauth2_client_credentials_test.go +++ b/oauth2/oauth2_client_credentials_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/oauth2_helper_test.go b/oauth2/oauth2_helper_test.go index f12555868ba..bfa0e84f942 100644 --- a/oauth2/oauth2_helper_test.go +++ b/oauth2/oauth2_helper_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/oauth2_jwt_bearer_test.go b/oauth2/oauth2_jwt_bearer_test.go index c4b097d5d87..13d6434dcdf 100644 --- a/oauth2/oauth2_jwt_bearer_test.go +++ b/oauth2/oauth2_jwt_bearer_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/oauth2_provider_mock_test.go b/oauth2/oauth2_provider_mock_test.go index 2173a11e3b6..c820a34367f 100644 --- a/oauth2/oauth2_provider_mock_test.go +++ b/oauth2/oauth2_provider_mock_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ory/fosite (interfaces: OAuth2Provider) diff --git a/oauth2/oauth2_refresh_token_test.go b/oauth2/oauth2_refresh_token_test.go index 3ad95667e21..add4a45f0a6 100644 --- a/oauth2/oauth2_refresh_token_test.go +++ b/oauth2/oauth2_refresh_token_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2_test import ( diff --git a/oauth2/registry.go b/oauth2/registry.go index f94de17f935..e372f00efee 100644 --- a/oauth2/registry.go +++ b/oauth2/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2 import ( diff --git a/oauth2/revocator_test.go b/oauth2/revocator_test.go index ff02e15fbb4..0c0c2347a1c 100644 --- a/oauth2/revocator_test.go +++ b/oauth2/revocator_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/session.go b/oauth2/session.go index f97e2d9352d..fd3cea47555 100644 --- a/oauth2/session.go +++ b/oauth2/session.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/session_custom_claims_test.go b/oauth2/session_custom_claims_test.go index b776d5c4846..cd5c6c57e1f 100644 --- a/oauth2/session_custom_claims_test.go +++ b/oauth2/session_custom_claims_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2_test import ( diff --git a/oauth2/session_test.go b/oauth2/session_test.go index 18177de2614..f9331de96d2 100644 --- a/oauth2/session_test.go +++ b/oauth2/session_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package oauth2 import ( diff --git a/oauth2/trust/doc.go b/oauth2/trust/doc.go index d52f8b924e0..578811d1be7 100644 --- a/oauth2/trust/doc.go +++ b/oauth2/trust/doc.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/trust/error.go b/oauth2/trust/error.go index 5a2f5f9f2fb..58bc0c58360 100644 --- a/oauth2/trust/error.go +++ b/oauth2/trust/error.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/grant.go b/oauth2/trust/grant.go index 1205ee65592..620226c2966 100644 --- a/oauth2/trust/grant.go +++ b/oauth2/trust/grant.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/handler.go b/oauth2/trust/handler.go index 944301f024d..7bbee7961fe 100644 --- a/oauth2/trust/handler.go +++ b/oauth2/trust/handler.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/handler_test.go b/oauth2/trust/handler_test.go index 73976ea4106..f9a8fea898f 100644 --- a/oauth2/trust/handler_test.go +++ b/oauth2/trust/handler_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust_test import ( diff --git a/oauth2/trust/manager.go b/oauth2/trust/manager.go index 65b6f05b120..a087089bee0 100644 --- a/oauth2/trust/manager.go +++ b/oauth2/trust/manager.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/manager_test_helpers.go b/oauth2/trust/manager_test_helpers.go index 8e1c98c5307..e0b5cb64981 100644 --- a/oauth2/trust/manager_test_helpers.go +++ b/oauth2/trust/manager_test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/oauth2/trust/registry.go b/oauth2/trust/registry.go index de7f17238d1..d1daa84427f 100644 --- a/oauth2/trust/registry.go +++ b/oauth2/trust/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/request.go b/oauth2/trust/request.go index d9920eafcb3..5d9f7335f37 100644 --- a/oauth2/trust/request.go +++ b/oauth2/trust/request.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/validator.go b/oauth2/trust/validator.go index dddc3684068..d2f14ef4733 100644 --- a/oauth2/trust/validator.go +++ b/oauth2/trust/validator.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/oauth2/trust/validator_test.go b/oauth2/trust/validator_test.go index cea0a04bfb3..1d948379c70 100644 --- a/oauth2/trust/validator_test.go +++ b/oauth2/trust/validator_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package trust import ( diff --git a/persistence/definitions.go b/persistence/definitions.go index 3324a12e4ce..20ad2939b7a 100644 --- a/persistence/definitions.go +++ b/persistence/definitions.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package persistence import ( diff --git a/persistence/sql/migratest/assertion_helpers.go b/persistence/sql/migratest/assertion_helpers.go index e7849c19efb..2d62f9eaf31 100644 --- a/persistence/sql/migratest/assertion_helpers.go +++ b/persistence/sql/migratest/assertion_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migratest import ( diff --git a/persistence/sql/migratest/migration_test.go b/persistence/sql/migratest/migration_test.go index 32d71783fa7..71baf1bb8a7 100644 --- a/persistence/sql/migratest/migration_test.go +++ b/persistence/sql/migratest/migration_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package migratest import ( diff --git a/persistence/sql/persister.go b/persistence/sql/persister.go index e4e4e5cfac9..3ee52b0591a 100644 --- a/persistence/sql/persister.go +++ b/persistence/sql/persister.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_client.go b/persistence/sql/persister_client.go index f15ddedfe10..83472c32f5c 100644 --- a/persistence/sql/persister_client.go +++ b/persistence/sql/persister_client.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_consent.go b/persistence/sql/persister_consent.go index 75f33985827..fe21093242b 100644 --- a/persistence/sql/persister_consent.go +++ b/persistence/sql/persister_consent.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_grant_jwk.go b/persistence/sql/persister_grant_jwk.go index 89c888cbcfd..0a2e548c2c6 100644 --- a/persistence/sql/persister_grant_jwk.go +++ b/persistence/sql/persister_grant_jwk.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_jwk.go b/persistence/sql/persister_jwk.go index 1e714f34525..f2f20456305 100644 --- a/persistence/sql/persister_jwk.go +++ b/persistence/sql/persister_jwk.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_migration.go b/persistence/sql/persister_migration.go index f36c58652ec..e63f4006fbf 100644 --- a/persistence/sql/persister_migration.go +++ b/persistence/sql/persister_migration.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_nid_test.go b/persistence/sql/persister_nid_test.go index 74c78b5e63e..c82d9b379b1 100644 --- a/persistence/sql/persister_nid_test.go +++ b/persistence/sql/persister_nid_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql_test import ( diff --git a/persistence/sql/persister_oauth2.go b/persistence/sql/persister_oauth2.go index 18a40b2980b..3087b8a59c5 100644 --- a/persistence/sql/persister_oauth2.go +++ b/persistence/sql/persister_oauth2.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql import ( diff --git a/persistence/sql/persister_test.go b/persistence/sql/persister_test.go index 6322ddef51b..14ba0185f79 100644 --- a/persistence/sql/persister_test.go +++ b/persistence/sql/persister_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package sql_test import ( diff --git a/spec/api.go b/spec/api.go index 27b9cb38581..4862e6b8cd9 100644 --- a/spec/api.go +++ b/spec/api.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package spec import _ "embed" diff --git a/spec/config.go b/spec/config.go index 73255f29407..5787bacd427 100644 --- a/spec/config.go +++ b/spec/config.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package spec import ( diff --git a/spec/schemas_test.go b/spec/schemas_test.go index b7f6e2e6c14..a8d1165c951 100644 --- a/spec/schemas_test.go +++ b/spec/schemas_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package spec import ( diff --git a/test/conformance/run_test.go b/test/conformance/run_test.go index 8c00d1105e1..b9c97b5e434 100644 --- a/test/conformance/run_test.go +++ b/test/conformance/run_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:build conformity // +build conformity diff --git a/test/e2e/oauth2-client/src/index.js b/test/e2e/oauth2-client/src/index.js index e1e6ba3f19e..80189e53902 100644 --- a/test/e2e/oauth2-client/src/index.js +++ b/test/e2e/oauth2-client/src/index.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + const express = require("express") const session = require("express-session") const uuid = require("node-uuid") diff --git a/test/mock-cb/main.go b/test/mock-cb/main.go index 75c67c1d717..c57929c0079 100644 --- a/test/mock-cb/main.go +++ b/test/mock-cb/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/test/mock-client/main.go b/test/mock-client/main.go index 6fdd6e4f8e5..f3a5f21dc76 100644 --- a/test/mock-client/main.go +++ b/test/mock-client/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/test/mock-lcp/main.go b/test/mock-lcp/main.go index 31cf9552647..74798853b51 100644 --- a/test/mock-lcp/main.go +++ b/test/mock-lcp/main.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/audit.go b/x/audit.go index 78683bad1ad..64b97c4524e 100644 --- a/x/audit.go +++ b/x/audit.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/audit_test.go b/x/audit_test.go index 252abe56996..1ec9bb5f57f 100644 --- a/x/audit_test.go +++ b/x/audit_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/authenticator.go b/x/authenticator.go index 62e441c232d..1e6dfd74191 100644 --- a/x/authenticator.go +++ b/x/authenticator.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/basic_auth.go b/x/basic_auth.go index bf97a77fd5d..2178ed8b6f3 100644 --- a/x/basic_auth.go +++ b/x/basic_auth.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/clean_sql.go b/x/clean_sql.go index 39a2d06a60d..9821723689e 100644 --- a/x/clean_sql.go +++ b/x/clean_sql.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/config.go b/x/config.go index 4dbdc21dbe4..fd0aa61181c 100644 --- a/x/config.go +++ b/x/config.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + //go:generate ../.bin/mockgen -package mock -destination ../internal/mock/config_cookie.go . CookieConfigProvider package x diff --git a/x/const.go b/x/const.go index 4256939a8cd..ff70b21142a 100644 --- a/x/const.go +++ b/x/const.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x const ( diff --git a/x/doc.go b/x/doc.go index a0fa33fd709..fecd13bf5a8 100644 --- a/x/doc.go +++ b/x/doc.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/doc_swagger.go b/x/doc_swagger.go index 4ea2c58ee0a..d0e5428c5f8 100644 --- a/x/doc_swagger.go +++ b/x/doc_swagger.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/error_enhancer.go b/x/error_enhancer.go index a1d81c364f4..7be77381566 100644 --- a/x/error_enhancer.go +++ b/x/error_enhancer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/error_enhancer_test.go b/x/error_enhancer_test.go index 01ec719c7b6..2f558153bb1 100644 --- a/x/error_enhancer_test.go +++ b/x/error_enhancer_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/errors.go b/x/errors.go index 237bbe4999a..551121ad413 100644 --- a/x/errors.go +++ b/x/errors.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/errors_test.go b/x/errors_test.go index 6437295e44a..e506abc3dbc 100644 --- a/x/errors_test.go +++ b/x/errors_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/fosite_storer.go b/x/fosite_storer.go index 4ca3677b1cf..171bbdb16b2 100644 --- a/x/fosite_storer.go +++ b/x/fosite_storer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/hasher.go b/x/hasher.go index 639516c976e..d1c71787425 100644 --- a/x/hasher.go +++ b/x/hasher.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/hasher_test.go b/x/hasher_test.go index c57a1a52aff..1e1cb462ae5 100644 --- a/x/hasher_test.go +++ b/x/hasher_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/jwt.go b/x/jwt.go index fe3fefdf588..d8ffffdf8f9 100644 --- a/x/jwt.go +++ b/x/jwt.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/oauth2cors/cors.go b/x/oauth2cors/cors.go index ab41270a6a0..69e37dfc254 100644 --- a/x/oauth2cors/cors.go +++ b/x/oauth2cors/cors.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/oauth2cors/cors_test.go b/x/oauth2cors/cors_test.go index ac4c1469707..81c668a30e6 100644 --- a/x/oauth2cors/cors_test.go +++ b/x/oauth2cors/cors_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/pagination.go b/x/pagination.go index e74dfec532d..2feafcfd144 100644 --- a/x/pagination.go +++ b/x/pagination.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/pointer.go b/x/pointer.go index a30bfd953af..7a2efffc076 100644 --- a/x/pointer.go +++ b/x/pointer.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x // ToPointer returns the pointer to the value. diff --git a/x/redirect_uri.go b/x/redirect_uri.go index ecb8d126f1c..2259e4a3a33 100644 --- a/x/redirect_uri.go +++ b/x/redirect_uri.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/redirect_uri_test.go b/x/redirect_uri_test.go index 32133093b74..23721757d51 100644 --- a/x/redirect_uri_test.go +++ b/x/redirect_uri_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/registry.go b/x/registry.go index 54e47beb143..9fa447be076 100644 --- a/x/registry.go +++ b/x/registry.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/router.go b/x/router.go index e60c5f948be..c53124867c5 100644 --- a/x/router.go +++ b/x/router.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/secret.go b/x/secret.go index fcc4ab6c211..37f5dfd9583 100644 --- a/x/secret.go +++ b/x/secret.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/sqlx.go b/x/sqlx.go index 5b2665fe958..e497ec6b40d 100644 --- a/x/sqlx.go +++ b/x/sqlx.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/swagger.go b/x/swagger.go index 6b86fc77c27..2b7bd63c167 100644 --- a/x/swagger.go +++ b/x/swagger.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x // swagger:model jsonWebKey diff --git a/x/test_helpers.go b/x/test_helpers.go index 5089305b3ef..392b56b9262 100644 --- a/x/test_helpers.go +++ b/x/test_helpers.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + /* * Copyright © 2015-2018 Aeneas Rekkas * diff --git a/x/tls_termination.go b/x/tls_termination.go index c9ba18b8281..43347f23ae9 100644 --- a/x/tls_termination.go +++ b/x/tls_termination.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x import ( diff --git a/x/tls_termination_test.go b/x/tls_termination_test.go index f59d17fabcd..104dfeb32e6 100644 --- a/x/tls_termination_test.go +++ b/x/tls_termination_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package x_test import ( From 6e082ddf52e75bdabaa220e93b07b1d66f854383 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 7 Oct 2022 17:53:40 -0500 Subject: [PATCH 02/11] update --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0de24ee9af1..e17ea6f3e43 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ docs/cli: .bin/clidoc GOBIN=$(shell pwd)/.bin go install golang.org/x/tools/cmd/goimports@latest .bin/ory: Makefile - bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.22 + bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.43 touch -a -m .bin/ory .PHONY: lint From 194edb7066a9dcaeef68e05045e7f8c704a77d74 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:43:23 -0500 Subject: [PATCH 03/11] chore: license headers --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 372da94ba9c..0adcdbe5371 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,8 @@ quicktest-hsm: # Formats the code .PHONY: format -format: .bin/goimports node_modules +format: .bin/goimports .bin/ory node_modules + .bin/ory dev headers license .bin/goimports -w --local github.com/ory . npm exec -- prettier --write . From ac04441287db67e67906375bdb95cd960d613bc5 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:45:36 -0500 Subject: [PATCH 04/11] .prettierignore --- .prettierignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierignore b/.prettierignore index a8d4530db99..45ba88688da 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,3 +3,4 @@ CHANGELOG.md spec fixtures +internal/httpclient/ From d9d71e7addc78adb830b849f436a9688a890b041 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:46:24 -0500 Subject: [PATCH 05/11] Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0adcdbe5371..97017d22a36 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ quicktest-hsm: # Formats the code .PHONY: format format: .bin/goimports .bin/ory node_modules - .bin/ory dev headers license + .bin/ory dev headers license --exclude=internal/httpclient .bin/goimports -w --local github.com/ory . npm exec -- prettier --write . From a7383cec346034ba00e16415786491fd2981662f Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 17:46:49 -0500 Subject: [PATCH 06/11] chore: license headers --- cmd/root_test.go | 2 ++ internal/testhelpers/certs.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cmd/root_test.go b/cmd/root_test.go index dd5d1c1b74c..03d736999be 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package cmd import ( diff --git a/internal/testhelpers/certs.go b/internal/testhelpers/certs.go index ca6fd9970c8..2a5df777778 100644 --- a/internal/testhelpers/certs.go +++ b/internal/testhelpers/certs.go @@ -1,3 +1,5 @@ +// Copyright © 2022 Ory Corp + package testhelpers import ( From 1864cae648849de229a9ad5258398e2877bbd565 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 19:44:15 -0500 Subject: [PATCH 07/11] update --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97017d22a36..ff81523723b 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ docs/cli: .bin/clidoc GOBIN=$(shell pwd)/.bin go install golang.org/x/tools/cmd/goimports@latest .bin/ory: Makefile - bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.43 + bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.44 touch -a -m .bin/ory .PHONY: lint From 1b8ed0c3d9adb109ba83b5cccd30e3eb221c6256 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 12 Oct 2022 20:13:47 -0500 Subject: [PATCH 08/11] client.go client_test.go handler.go manager.go manager_test_helpers.go sdk_test.go validator.go validator_test.go handler.go handler_helper.go handler_jwk.go cmd_create_client.go cmd_create_jwks.go cmd_delete_client.go cmd_delete_jwks.go cmd_delete_tokens.go cmd_get_client.go cmd_get_jwks.go cmd_import_client.go cmd_introspect_token.go cmd_perform_authorization_code.go cmd_perform_client_credentials.go cmd_revoke_token.go helper.go migrate.go migrate_sql.go root.go serve.go banner.go handler.go helper_cert.go version.go handler.go handler_test.go helper.go helper_test.go manager.go manager_test_helpers.go sdk_test.go strategy.go strategy_default.go strategy_default_test.go subject_identifier_algorithm.go subject_identifier_algorithm_pairwise.go subject_identifier_algorithm_public.go types.go doc.go mock_generator_rs256.go aead.go aead_test.go cast.go cast_test.go generator.go handler.go handler_test.go helper.go helper_test.go jwt_strategy.go jwt_strategy_test.go manager.go manager_test_helpers.go sdk_test.go main.go equalKeys.go equalKeys_test.go fosite_store_helpers.go fosite_store_test.go handler.go handler_fallback_endpoints.go handler_fallback_endpoints_test.go handler_test.go introspector.go introspector_test.go oauth2_auth_code_test.go oauth2_client_credentials_test.go oauth2_helper_test.go oauth2_jwt_bearer_test.go revocator_test.go session.go doc.go manager_test_helpers.go main.go main.go main.go basic_auth.go doc.go doc_swagger.go error_enhancer_test.go errors.go errors_test.go fosite_storer.go hasher.go cors.go cors_test.go secret.go test_helpers.go --- client/client.go | 20 ----------------- client/client_test.go | 20 ----------------- client/handler.go | 20 ----------------- client/manager.go | 20 ----------------- client/manager_test_helpers.go | 20 ----------------- client/sdk_test.go | 20 ----------------- client/validator.go | 20 ----------------- client/validator_test.go | 20 ----------------- cmd/cli/handler.go | 20 ----------------- cmd/cli/handler_helper.go | 20 ----------------- cmd/cli/handler_jwk.go | 20 ----------------- cmd/cmd_create_client.go | 20 ----------------- cmd/cmd_create_jwks.go | 20 ----------------- cmd/cmd_delete_client.go | 20 ----------------- cmd/cmd_delete_jwks.go | 20 ----------------- cmd/cmd_delete_tokens.go | 20 ----------------- cmd/cmd_get_client.go | 20 ----------------- cmd/cmd_get_jwks.go | 20 ----------------- cmd/cmd_import_client.go | 20 ----------------- cmd/cmd_introspect_token.go | 20 ----------------- cmd/cmd_perform_authorization_code.go | 20 ----------------- cmd/cmd_perform_client_credentials.go | 20 ----------------- cmd/cmd_revoke_token.go | 20 ----------------- cmd/helper.go | 20 ----------------- cmd/migrate.go | 20 ----------------- cmd/migrate_sql.go | 20 ----------------- cmd/root.go | 20 ----------------- cmd/serve.go | 20 ----------------- cmd/server/banner.go | 22 +------------------ cmd/server/handler.go | 20 ----------------- cmd/server/helper_cert.go | 20 ----------------- cmd/version.go | 20 ----------------- consent/handler.go | 20 ----------------- consent/handler_test.go | 20 ----------------- consent/helper.go | 20 ----------------- consent/helper_test.go | 20 ----------------- consent/manager.go | 20 ----------------- consent/manager_test_helpers.go | 20 ----------------- consent/sdk_test.go | 20 ----------------- consent/strategy.go | 20 ----------------- consent/strategy_default.go | 20 ----------------- consent/strategy_default_test.go | 20 ----------------- consent/subject_identifier_algorithm.go | 20 ----------------- .../subject_identifier_algorithm_pairwise.go | 20 ----------------- .../subject_identifier_algorithm_public.go | 20 ----------------- consent/types.go | 20 ----------------- doc.go | 20 ----------------- internal/mock_generator_rs256.go | 20 ----------------- jwk/aead.go | 20 ----------------- jwk/aead_test.go | 20 ----------------- jwk/cast.go | 20 ----------------- jwk/cast_test.go | 20 ----------------- jwk/generator.go | 20 ----------------- jwk/handler.go | 20 ----------------- jwk/handler_test.go | 20 ----------------- jwk/helper.go | 20 ----------------- jwk/helper_test.go | 20 ----------------- jwk/jwt_strategy.go | 20 ----------------- jwk/jwt_strategy_test.go | 20 ----------------- jwk/manager.go | 20 ----------------- jwk/manager_test_helpers.go | 20 ----------------- jwk/sdk_test.go | 20 ----------------- main.go | 20 ----------------- oauth2/equalKeys.go | 20 ----------------- oauth2/equalKeys_test.go | 20 ----------------- oauth2/fosite_store_helpers.go | 20 ----------------- oauth2/fosite_store_test.go | 20 ----------------- oauth2/handler.go | 20 ----------------- oauth2/handler_fallback_endpoints.go | 20 ----------------- oauth2/handler_fallback_endpoints_test.go | 20 ----------------- oauth2/handler_test.go | 20 ----------------- oauth2/introspector.go | 20 ----------------- oauth2/introspector_test.go | 20 ----------------- oauth2/oauth2_auth_code_test.go | 20 ----------------- oauth2/oauth2_client_credentials_test.go | 20 ----------------- oauth2/oauth2_helper_test.go | 20 ----------------- oauth2/oauth2_jwt_bearer_test.go | 20 ----------------- oauth2/revocator_test.go | 20 ----------------- oauth2/session.go | 20 ----------------- oauth2/trust/doc.go | 20 ----------------- oauth2/trust/manager_test_helpers.go | 20 ----------------- test/mock-cb/main.go | 20 ----------------- test/mock-client/main.go | 20 ----------------- test/mock-lcp/main.go | 20 ----------------- x/basic_auth.go | 20 ----------------- x/doc.go | 20 ----------------- x/doc_swagger.go | 20 ----------------- x/error_enhancer_test.go | 20 ----------------- x/errors.go | 20 ----------------- x/errors_test.go | 20 ----------------- x/fosite_storer.go | 20 ----------------- x/hasher.go | 20 ----------------- x/oauth2cors/cors.go | 20 ----------------- x/oauth2cors/cors_test.go | 20 ----------------- x/secret.go | 20 ----------------- x/test_helpers.go | 20 ----------------- 96 files changed, 1 insertion(+), 1921 deletions(-) diff --git a/client/client.go b/client/client.go index 31a535b37ef..dca1f117be4 100644 --- a/client/client.go +++ b/client/client.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/client_test.go b/client/client_test.go index 8ecd0797640..32e41a7479d 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/handler.go b/client/handler.go index 36bbf38143c..3cf9e8a1331 100644 --- a/client/handler.go +++ b/client/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/manager.go b/client/manager.go index e7f52e9f2a6..21a1db81aed 100644 --- a/client/manager.go +++ b/client/manager.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/manager_test_helpers.go b/client/manager_test_helpers.go index 1ca5bc477ca..15c86ea794b 100644 --- a/client/manager_test_helpers.go +++ b/client/manager_test_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/sdk_test.go b/client/sdk_test.go index 4b7d2823355..5b6fe92609f 100644 --- a/client/sdk_test.go +++ b/client/sdk_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client_test import ( diff --git a/client/validator.go b/client/validator.go index 913d1b18080..b7f2d304179 100644 --- a/client/validator.go +++ b/client/validator.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client import ( diff --git a/client/validator_test.go b/client/validator_test.go index e2dff3d99c1..20f801e9dde 100644 --- a/client/validator_test.go +++ b/client/validator_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package client_test import ( diff --git a/cmd/cli/handler.go b/cmd/cli/handler.go index 98e91e5c70d..deb9cf695d7 100644 --- a/cmd/cli/handler.go +++ b/cmd/cli/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cli import ( diff --git a/cmd/cli/handler_helper.go b/cmd/cli/handler_helper.go index 9de64bf88c8..545a0ded054 100644 --- a/cmd/cli/handler_helper.go +++ b/cmd/cli/handler_helper.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cli import ( diff --git a/cmd/cli/handler_jwk.go b/cmd/cli/handler_jwk.go index cfe9de15de7..ad0ac54243e 100644 --- a/cmd/cli/handler_jwk.go +++ b/cmd/cli/handler_jwk.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cli import ( diff --git a/cmd/cmd_create_client.go b/cmd/cmd_create_client.go index 5384aad7748..3c9205e57e7 100644 --- a/cmd/cmd_create_client.go +++ b/cmd/cmd_create_client.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_create_jwks.go b/cmd/cmd_create_jwks.go index e9145120cca..192f887ace7 100644 --- a/cmd/cmd_create_jwks.go +++ b/cmd/cmd_create_jwks.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_delete_client.go b/cmd/cmd_delete_client.go index f4375147f97..67a76120816 100644 --- a/cmd/cmd_delete_client.go +++ b/cmd/cmd_delete_client.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_delete_jwks.go b/cmd/cmd_delete_jwks.go index a52626c9c2a..f42a8832427 100644 --- a/cmd/cmd_delete_jwks.go +++ b/cmd/cmd_delete_jwks.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_delete_tokens.go b/cmd/cmd_delete_tokens.go index de30f99ae24..d03cfd4aff3 100644 --- a/cmd/cmd_delete_tokens.go +++ b/cmd/cmd_delete_tokens.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_get_client.go b/cmd/cmd_get_client.go index b930bf6b1be..6743446cad2 100644 --- a/cmd/cmd_get_client.go +++ b/cmd/cmd_get_client.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_get_jwks.go b/cmd/cmd_get_jwks.go index b4475777579..3c7fa70a9dd 100644 --- a/cmd/cmd_get_jwks.go +++ b/cmd/cmd_get_jwks.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_import_client.go b/cmd/cmd_import_client.go index 4973ccd221f..4ba5b467261 100644 --- a/cmd/cmd_import_client.go +++ b/cmd/cmd_import_client.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_introspect_token.go b/cmd/cmd_introspect_token.go index 95dde65bdf0..d3c209ba4a7 100644 --- a/cmd/cmd_introspect_token.go +++ b/cmd/cmd_introspect_token.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_perform_authorization_code.go b/cmd/cmd_perform_authorization_code.go index bcae8da54f1..dca21f020f6 100644 --- a/cmd/cmd_perform_authorization_code.go +++ b/cmd/cmd_perform_authorization_code.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_perform_client_credentials.go b/cmd/cmd_perform_client_credentials.go index 03a975d1931..eaec07b7a93 100644 --- a/cmd/cmd_perform_client_credentials.go +++ b/cmd/cmd_perform_client_credentials.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/cmd_revoke_token.go b/cmd/cmd_revoke_token.go index 1c87911a45f..429f3c7e6e1 100644 --- a/cmd/cmd_revoke_token.go +++ b/cmd/cmd_revoke_token.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/helper.go b/cmd/helper.go index a7983114918..402a2a13c7d 100644 --- a/cmd/helper.go +++ b/cmd/helper.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/migrate.go b/cmd/migrate.go index e32abf754d5..38fa300ad94 100644 --- a/cmd/migrate.go +++ b/cmd/migrate.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/migrate_sql.go b/cmd/migrate_sql.go index 918e2617896..8948fef7856 100644 --- a/cmd/migrate_sql.go +++ b/cmd/migrate_sql.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/root.go b/cmd/root.go index 6ddc23f1445..3ecc7ab80fd 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/serve.go b/cmd/serve.go index 0d6e36c6abd..37008d763ad 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/cmd/server/banner.go b/cmd/server/banner.go index 6e0e31fbb07..2b003ae48fe 100644 --- a/cmd/server/banner.go +++ b/cmd/server/banner.go @@ -1,31 +1,11 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package server func banner(version string) string { return `Thank you for using Ory Hydra ` + version + `! -Take security seriously and subscribe to the Ory Security Newsletter. Stay on top of new patches and security insights. +Take security seriously and subscribe to the Ory Security Newsletter. Stay on top of new patches and security insights. >> Subscribe now: http://eepurl.com/di390P <<` } diff --git a/cmd/server/handler.go b/cmd/server/handler.go index db7b77b85b9..013a69cf2cb 100644 --- a/cmd/server/handler.go +++ b/cmd/server/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package server import ( diff --git a/cmd/server/helper_cert.go b/cmd/server/helper_cert.go index 6a76fca893f..efb0bc740b7 100644 --- a/cmd/server/helper_cert.go +++ b/cmd/server/helper_cert.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package server import ( diff --git a/cmd/version.go b/cmd/version.go index c0c39bb8350..3f5cb0dcd13 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package cmd import ( diff --git a/consent/handler.go b/consent/handler.go index 4744a864b32..24f0d181670 100644 --- a/consent/handler.go +++ b/consent/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/handler_test.go b/consent/handler_test.go index 00dac4959d1..9ad5b805e92 100644 --- a/consent/handler_test.go +++ b/consent/handler_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent_test import ( diff --git a/consent/helper.go b/consent/helper.go index 3bc59ff4e74..73c4901809d 100644 --- a/consent/helper.go +++ b/consent/helper.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/helper_test.go b/consent/helper_test.go index a164f5531fe..3af921247fd 100644 --- a/consent/helper_test.go +++ b/consent/helper_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/manager.go b/consent/manager.go index c819f81dd7a..4880f8033ef 100644 --- a/consent/manager.go +++ b/consent/manager.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/manager_test_helpers.go b/consent/manager_test_helpers.go index c7ee5a78200..9c173daafb4 100644 --- a/consent/manager_test_helpers.go +++ b/consent/manager_test_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/sdk_test.go b/consent/sdk_test.go index 9b22c74269f..1adecd78ad2 100644 --- a/consent/sdk_test.go +++ b/consent/sdk_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent_test import ( diff --git a/consent/strategy.go b/consent/strategy.go index cce8712d46b..18189fbc631 100644 --- a/consent/strategy.go +++ b/consent/strategy.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/strategy_default.go b/consent/strategy_default.go index 232368847f9..8e50ebc3958 100644 --- a/consent/strategy_default.go +++ b/consent/strategy_default.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/strategy_default_test.go b/consent/strategy_default_test.go index 7b7e7236718..21e2f68008c 100644 --- a/consent/strategy_default_test.go +++ b/consent/strategy_default_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent_test import ( diff --git a/consent/subject_identifier_algorithm.go b/consent/subject_identifier_algorithm.go index a6eecfc79e8..54d8d86a5a8 100644 --- a/consent/subject_identifier_algorithm.go +++ b/consent/subject_identifier_algorithm.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import "github.com/ory/hydra/client" diff --git a/consent/subject_identifier_algorithm_pairwise.go b/consent/subject_identifier_algorithm_pairwise.go index f5eaee36c30..12e35123c47 100644 --- a/consent/subject_identifier_algorithm_pairwise.go +++ b/consent/subject_identifier_algorithm_pairwise.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/consent/subject_identifier_algorithm_public.go b/consent/subject_identifier_algorithm_public.go index c20ac359028..bbcf03cd9a2 100644 --- a/consent/subject_identifier_algorithm_public.go +++ b/consent/subject_identifier_algorithm_public.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import "github.com/ory/hydra/client" diff --git a/consent/types.go b/consent/types.go index 0ef4e3119dd..3aca0fe8e77 100644 --- a/consent/types.go +++ b/consent/types.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package consent import ( diff --git a/doc.go b/doc.go index 9488a8f0096..897d7fe4ac1 100644 --- a/doc.go +++ b/doc.go @@ -1,24 +1,4 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package main ORY Hydra package main diff --git a/internal/mock_generator_rs256.go b/internal/mock_generator_rs256.go index 988a837303d..f12b1b41501 100644 --- a/internal/mock_generator_rs256.go +++ b/internal/mock_generator_rs256.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package internal import ( diff --git a/jwk/aead.go b/jwk/aead.go index 964bf3f036d..1e5c22c7052 100644 --- a/jwk/aead.go +++ b/jwk/aead.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/aead_test.go b/jwk/aead_test.go index 7aa4f8dd959..2bebe2aece6 100644 --- a/jwk/aead_test.go +++ b/jwk/aead_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk_test import ( diff --git a/jwk/cast.go b/jwk/cast.go index 16f3e8cd94a..c02d54d5748 100644 --- a/jwk/cast.go +++ b/jwk/cast.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/cast_test.go b/jwk/cast_test.go index 94097876595..3a1c4e1524b 100644 --- a/jwk/cast_test.go +++ b/jwk/cast_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/generator.go b/jwk/generator.go index 1f413a2df98..4a4edb7f630 100644 --- a/jwk/generator.go +++ b/jwk/generator.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import jose "gopkg.in/square/go-jose.v2" diff --git a/jwk/handler.go b/jwk/handler.go index 8a7a269eb79..66ad12c5689 100644 --- a/jwk/handler.go +++ b/jwk/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/handler_test.go b/jwk/handler_test.go index dab31e6d6ea..be6e1712ad4 100644 --- a/jwk/handler_test.go +++ b/jwk/handler_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk_test import ( diff --git a/jwk/helper.go b/jwk/helper.go index 77d7c87046c..cbaddc4c21c 100644 --- a/jwk/helper.go +++ b/jwk/helper.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/helper_test.go b/jwk/helper_test.go index 50861ceb24c..1e5c9e98f5b 100644 --- a/jwk/helper_test.go +++ b/jwk/helper_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk_test import ( diff --git a/jwk/jwt_strategy.go b/jwk/jwt_strategy.go index 99814f889bc..b6d4a09f6dc 100644 --- a/jwk/jwt_strategy.go +++ b/jwk/jwt_strategy.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/jwt_strategy_test.go b/jwk/jwt_strategy_test.go index 1c3d0041a46..9f403c327de 100644 --- a/jwk/jwt_strategy_test.go +++ b/jwk/jwt_strategy_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk_test import ( diff --git a/jwk/manager.go b/jwk/manager.go index ff7380de181..9d78ad7b7ac 100644 --- a/jwk/manager.go +++ b/jwk/manager.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/manager_test_helpers.go b/jwk/manager_test_helpers.go index 86df29cb1e7..53932332064 100644 --- a/jwk/manager_test_helpers.go +++ b/jwk/manager_test_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk import ( diff --git a/jwk/sdk_test.go b/jwk/sdk_test.go index 0d3096adaf9..4a4fcaa9998 100644 --- a/jwk/sdk_test.go +++ b/jwk/sdk_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwk_test import ( diff --git a/main.go b/main.go index db545100766..054e3975352 100644 --- a/main.go +++ b/main.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package main import ( diff --git a/oauth2/equalKeys.go b/oauth2/equalKeys.go index b95fdb5e662..db4b131d916 100644 --- a/oauth2/equalKeys.go +++ b/oauth2/equalKeys.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import ( diff --git a/oauth2/equalKeys_test.go b/oauth2/equalKeys_test.go index bf5f8a3a05d..5bc42ef6ef3 100644 --- a/oauth2/equalKeys_test.go +++ b/oauth2/equalKeys_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import "testing" diff --git a/oauth2/fosite_store_helpers.go b/oauth2/fosite_store_helpers.go index 987e5423846..e08c91ce22b 100644 --- a/oauth2/fosite_store_helpers.go +++ b/oauth2/fosite_store_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import ( diff --git a/oauth2/fosite_store_test.go b/oauth2/fosite_store_test.go index bca4842e373..c469ee85e31 100644 --- a/oauth2/fosite_store_test.go +++ b/oauth2/fosite_store_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/handler.go b/oauth2/handler.go index b02052ca89d..4675e4ca5d9 100644 --- a/oauth2/handler.go +++ b/oauth2/handler.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import ( diff --git a/oauth2/handler_fallback_endpoints.go b/oauth2/handler_fallback_endpoints.go index 0d118cda1f6..6260014271e 100644 --- a/oauth2/handler_fallback_endpoints.go +++ b/oauth2/handler_fallback_endpoints.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import ( diff --git a/oauth2/handler_fallback_endpoints_test.go b/oauth2/handler_fallback_endpoints_test.go index 44bd57e7971..efa39b91c4e 100644 --- a/oauth2/handler_fallback_endpoints_test.go +++ b/oauth2/handler_fallback_endpoints_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/handler_test.go b/oauth2/handler_test.go index 23f5c906e98..90f60c49355 100644 --- a/oauth2/handler_test.go +++ b/oauth2/handler_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/introspector.go b/oauth2/introspector.go index 2b344fc79cb..fd4c52695f0 100644 --- a/oauth2/introspector.go +++ b/oauth2/introspector.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 // Introspection contains an access token's session data as specified by diff --git a/oauth2/introspector_test.go b/oauth2/introspector_test.go index 29a501b6cfc..da857d91463 100644 --- a/oauth2/introspector_test.go +++ b/oauth2/introspector_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/oauth2_auth_code_test.go b/oauth2/oauth2_auth_code_test.go index 1a6ab65b111..123ab8597c9 100644 --- a/oauth2/oauth2_auth_code_test.go +++ b/oauth2/oauth2_auth_code_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/oauth2_client_credentials_test.go b/oauth2/oauth2_client_credentials_test.go index fd31a976e45..48a1bd54ce4 100644 --- a/oauth2/oauth2_client_credentials_test.go +++ b/oauth2/oauth2_client_credentials_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/oauth2_helper_test.go b/oauth2/oauth2_helper_test.go index bfa0e84f942..a65b1a7445a 100644 --- a/oauth2/oauth2_helper_test.go +++ b/oauth2/oauth2_helper_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/oauth2_jwt_bearer_test.go b/oauth2/oauth2_jwt_bearer_test.go index 13d6434dcdf..a1e7d3c633a 100644 --- a/oauth2/oauth2_jwt_bearer_test.go +++ b/oauth2/oauth2_jwt_bearer_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/revocator_test.go b/oauth2/revocator_test.go index a8c0d12731a..021de110c6f 100644 --- a/oauth2/revocator_test.go +++ b/oauth2/revocator_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2_test import ( diff --git a/oauth2/session.go b/oauth2/session.go index 8028b7d8eb1..dacffe772e3 100644 --- a/oauth2/session.go +++ b/oauth2/session.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2 import ( diff --git a/oauth2/trust/doc.go b/oauth2/trust/doc.go index ccdc2d2b044..25ee66e7336 100644 --- a/oauth2/trust/doc.go +++ b/oauth2/trust/doc.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package trust implements jwt-bearer grant management capabilities // // JWT-Bearer Grant represents resource owner (RO) permission for client to act on behalf of the RO using jwt. diff --git a/oauth2/trust/manager_test_helpers.go b/oauth2/trust/manager_test_helpers.go index e0b5cb64981..6da6609fb44 100644 --- a/oauth2/trust/manager_test_helpers.go +++ b/oauth2/trust/manager_test_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package trust import ( diff --git a/test/mock-cb/main.go b/test/mock-cb/main.go index c57929c0079..4e2360ea1b3 100644 --- a/test/mock-cb/main.go +++ b/test/mock-cb/main.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package main import ( diff --git a/test/mock-client/main.go b/test/mock-client/main.go index b0272e7ab20..f484b279052 100644 --- a/test/mock-client/main.go +++ b/test/mock-client/main.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package main import ( diff --git a/test/mock-lcp/main.go b/test/mock-lcp/main.go index 7d66fd7ab43..0c8db431351 100644 --- a/test/mock-lcp/main.go +++ b/test/mock-lcp/main.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package main import ( diff --git a/x/basic_auth.go b/x/basic_auth.go index 2178ed8b6f3..f785304c1a8 100644 --- a/x/basic_auth.go +++ b/x/basic_auth.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/doc.go b/x/doc.go index 10ac6549aa1..543f566ec48 100644 --- a/x/doc.go +++ b/x/doc.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // ORY Hydra // // Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. diff --git a/x/doc_swagger.go b/x/doc_swagger.go index 09210dd2648..15e9306a1b9 100644 --- a/x/doc_swagger.go +++ b/x/doc_swagger.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x // Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is diff --git a/x/error_enhancer_test.go b/x/error_enhancer_test.go index 2f558153bb1..5731b25ee26 100644 --- a/x/error_enhancer_test.go +++ b/x/error_enhancer_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/errors.go b/x/errors.go index 551121ad413..2b1a92022ff 100644 --- a/x/errors.go +++ b/x/errors.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/errors_test.go b/x/errors_test.go index e506abc3dbc..9a0bd854ff6 100644 --- a/x/errors_test.go +++ b/x/errors_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/fosite_storer.go b/x/fosite_storer.go index 171bbdb16b2..20b8703bebd 100644 --- a/x/fosite_storer.go +++ b/x/fosite_storer.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/hasher.go b/x/hasher.go index d1c71787425..31b4417e6e0 100644 --- a/x/hasher.go +++ b/x/hasher.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - * - */ package x import ( diff --git a/x/oauth2cors/cors.go b/x/oauth2cors/cors.go index 69e37dfc254..600bbc5ce9c 100644 --- a/x/oauth2cors/cors.go +++ b/x/oauth2cors/cors.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2cors import ( diff --git a/x/oauth2cors/cors_test.go b/x/oauth2cors/cors_test.go index 81c668a30e6..03ebabf1fdc 100644 --- a/x/oauth2cors/cors_test.go +++ b/x/oauth2cors/cors_test.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package oauth2cors_test import ( diff --git a/x/secret.go b/x/secret.go index 37f5dfd9583..d6d690d6296 100644 --- a/x/secret.go +++ b/x/secret.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( diff --git a/x/test_helpers.go b/x/test_helpers.go index 392b56b9262..a317076798c 100644 --- a/x/test_helpers.go +++ b/x/test_helpers.go @@ -1,25 +1,5 @@ // Copyright © 2022 Ory Corp -/* - * Copyright © 2015-2018 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package x import ( From 199fb421393733a680081454c932837177240a27 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Wed, 2 Nov 2022 15:52:00 -0500 Subject: [PATCH 09/11] chore: license headers --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9a698735810..aff679cbe94 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,8 @@ docs/cli: .bin/clidoc curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh .bin/ory: Makefile - bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin ory v0.1.44 - touch -a -m .bin/ory + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.45 + touch .bin/ory .PHONY: lint lint: .bin/golangci-lint From 8b01852526c02d53d9091491b5b0e966176d328c Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Thu, 3 Nov 2022 06:12:44 -0500 Subject: [PATCH 10/11] chore: license headers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aff679cbe94..b3a37b5fc87 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ docs/cli: .bin/clidoc curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh .bin/ory: Makefile - curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.45 + curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.47 touch .bin/ory .PHONY: lint From b65083c4161a174c5cfeeeee62c76f7ac177647b Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Thu, 3 Nov 2022 06:20:55 -0500 Subject: [PATCH 11/11] chore: license headers --- client/client.go | 1 + client/client_test.go | 1 + client/error.go | 1 + client/handler.go | 1 + client/handler_test.go | 1 + client/manager.go | 1 + client/manager_test_helpers.go | 1 + client/registry.go | 1 + client/sdk_test.go | 1 + client/validator.go | 1 + client/validator_test.go | 1 + cmd/cli/error.go | 1 + cmd/cli/handler.go | 1 + cmd/cli/handler_helper.go | 1 + cmd/cli/handler_janitor.go | 1 + cmd/cli/handler_janitor_test.go | 1 + cmd/cli/handler_jwk.go | 1 + cmd/cli/handler_jwk_test.go | 1 + cmd/cli/handler_migrate.go | 1 + cmd/cliclient/client.go | 1 + cmd/clidoc/main.go | 1 + cmd/cmd_create_client.go | 1 + cmd/cmd_create_client_test.go | 1 + cmd/cmd_create_jwks.go | 1 + cmd/cmd_create_jwks_test.go | 1 + cmd/cmd_delete.go | 1 + cmd/cmd_delete_client.go | 1 + cmd/cmd_delete_client_test.go | 1 + cmd/cmd_delete_jwks.go | 1 + cmd/cmd_delete_jwks_test.go | 1 + cmd/cmd_delete_tokens.go | 1 + cmd/cmd_delete_tokens_test.go | 1 + cmd/cmd_get.go | 1 + cmd/cmd_get_client.go | 1 + cmd/cmd_get_client_test.go | 1 + cmd/cmd_get_jwks.go | 1 + cmd/cmd_get_jwks_test.go | 1 + cmd/cmd_helper_client.go | 1 + cmd/cmd_helper_test.go | 1 + cmd/cmd_import.go | 1 + cmd/cmd_import_client.go | 1 + cmd/cmd_import_client_test.go | 1 + cmd/cmd_import_jwk.go | 1 + cmd/cmd_import_jwk_test.go | 1 + cmd/cmd_introspect.go | 1 + cmd/cmd_introspect_token.go | 1 + cmd/cmd_introspect_token_test.go | 1 + cmd/cmd_list.go | 1 + cmd/cmd_list_clients.go | 1 + cmd/cmd_list_clients_test.go | 1 + cmd/cmd_perform.go | 1 + cmd/cmd_perform_authorization_code.go | 1 + cmd/cmd_perform_client_credentials.go | 1 + cmd/cmd_perform_client_credentials_test.go | 1 + cmd/cmd_revoke.go | 1 + cmd/cmd_revoke_token.go | 1 + cmd/cmd_revoke_token_test.go | 1 + cmd/cmd_update.go | 1 + cmd/cmd_update_client.go | 1 + cmd/cmd_update_client_test.go | 1 + cmd/create.go | 1 + cmd/helper.go | 1 + cmd/helper_test.go | 1 + cmd/janitor.go | 1 + cmd/migrate.go | 1 + cmd/migrate_gen.go | 1 + cmd/migrate_sql.go | 1 + cmd/output_client.go | 1 + cmd/output_introspection.go | 1 + cmd/output_jwks.go | 1 + cmd/output_token.go | 1 + cmd/root.go | 1 + cmd/root_test.go | 1 + cmd/serve.go | 1 + cmd/serve_admin.go | 1 + cmd/serve_all.go | 1 + cmd/serve_public.go | 1 + cmd/server/banner.go | 1 + cmd/server/handler.go | 1 + cmd/server/helper_cert.go | 1 + cmd/server/helper_cert_test.go | 1 + cmd/version.go | 1 + consent/handler.go | 1 + consent/handler_test.go | 1 + consent/helper.go | 1 + consent/helper_test.go | 1 + consent/janitor_consent_test_helper.go | 1 + consent/manager.go | 1 + consent/manager_test_helpers.go | 1 + consent/registry.go | 1 + consent/sdk_test.go | 1 + consent/strategy.go | 1 + consent/strategy_default.go | 1 + consent/strategy_default_test.go | 1 + consent/strategy_logout_test.go | 1 + consent/strategy_oauth_test.go | 1 + consent/subject_identifier_algorithm.go | 1 + consent/subject_identifier_algorithm_pairwise.go | 1 + consent/subject_identifier_algorithm_public.go | 1 + consent/types.go | 1 + consent/types_test.go | 1 + contrib/quickstart/gitlab/config/gitlab.rb | 1 + cypress/helpers/index.js | 1 + cypress/integration/admin/client_create.js | 1 + cypress/integration/admin/grant_jwtbearer.js | 1 + cypress/integration/oauth2/authorize_code.js | 1 + cypress/integration/oauth2/authorize_error.js | 1 + cypress/integration/oauth2/client_creds.js | 1 + cypress/integration/oauth2/consent.js | 1 + cypress/integration/oauth2/grant_jwtbearer.js | 1 + cypress/integration/oauth2/introspect.js | 1 + cypress/integration/oauth2/jwt.js | 1 + cypress/integration/oauth2/refresh_token.js | 1 + cypress/integration/openid/authorize_code.js | 1 + cypress/integration/openid/dynamic_client_registration.js | 1 + cypress/integration/openid/logout.js | 1 + cypress/integration/openid/prompt.js | 1 + cypress/integration/openid/revoke.js | 1 + cypress/integration/openid/userinfo.js | 1 + cypress/plugins/index.js | 1 + cypress/support/commands.js | 1 + cypress/support/index.js | 1 + doc.go | 1 + driver/config/buildinfo.go | 1 + driver/config/config.go | 1 + driver/config/helper.go | 1 + driver/config/provider.go | 1 + driver/config/provider_fosite.go | 1 + driver/config/provider_test.go | 1 + driver/config/serve.go | 1 + driver/config/tls.go | 1 + driver/config/types.go | 1 + driver/config/types_test.go | 1 + driver/factory.go | 1 + driver/registry.go | 1 + driver/registry_base.go | 1 + driver/registry_base_test.go | 1 + driver/registry_nosqlite.go | 1 + driver/registry_sql.go | 1 + driver/registry_sql_test.go | 1 + driver/registry_sqlite.go | 1 + flow/flow.go | 1 + flow/flow_test.go | 1 + fositex/config.go | 1 + fositex/token_strategy.go | 1 + go_mod_indirect_pins.go | 1 + health/doc.go | 1 + health/handler_test.go | 1 + hsm/crypto11_mock_test.go | 1 + hsm/hsm.go | 1 + hsm/hsm_mock_test.go | 1 + hsm/manager_hsm.go | 1 + hsm/manager_hsm_test.go | 1 + hsm/manager_nohsm.go | 1 + internal/driver.go | 1 + internal/fosite_store.go | 1 + internal/mock/config_cookie.go | 1 + internal/mock_generator_rs256.go | 1 + internal/testhelpers/certs.go | 1 + internal/testhelpers/janitor_test_helper.go | 1 + internal/testhelpers/lifespans.go | 1 + internal/testhelpers/oauth2.go | 1 + internal/testhelpers/server.go | 1 + internal/testhelpers/uuid/uuid.go | 1 + jwk/aead.go | 1 + jwk/aead_test.go | 1 + jwk/cast.go | 1 + jwk/cast_test.go | 1 + jwk/generate.go | 1 + jwk/generate_test.go | 1 + jwk/generator.go | 1 + jwk/handler.go | 1 + jwk/handler_test.go | 1 + jwk/helper.go | 1 + jwk/helper_test.go | 1 + jwk/jwt_strategy.go | 1 + jwk/jwt_strategy_test.go | 1 + jwk/manager.go | 1 + jwk/manager_mock_test.go | 1 + jwk/manager_strategy.go | 1 + jwk/manager_strategy_test.go | 1 + jwk/manager_test_helpers.go | 1 + jwk/registry.go | 1 + jwk/registry_mock_test.go | 1 + jwk/sdk_test.go | 1 + main.go | 1 + oauth2/equalKeys.go | 1 + oauth2/equalKeys_test.go | 1 + oauth2/fosite_store_helpers.go | 1 + oauth2/fosite_store_test.go | 1 + oauth2/handler.go | 1 + oauth2/handler_fallback_endpoints.go | 1 + oauth2/handler_fallback_endpoints_test.go | 1 + oauth2/handler_test.go | 1 + oauth2/helper_test.go | 1 + oauth2/hook.go | 1 + oauth2/introspector.go | 1 + oauth2/introspector_test.go | 1 + oauth2/oauth2_auth_code_test.go | 1 + oauth2/oauth2_client_credentials_test.go | 1 + oauth2/oauth2_helper_test.go | 1 + oauth2/oauth2_jwt_bearer_test.go | 1 + oauth2/oauth2_provider_mock_test.go | 1 + oauth2/oauth2_refresh_token_test.go | 1 + oauth2/registry.go | 1 + oauth2/revocator_test.go | 1 + oauth2/session.go | 1 + oauth2/session_custom_claims_test.go | 1 + oauth2/session_test.go | 1 + oauth2/trust/doc.go | 1 + oauth2/trust/error.go | 1 + oauth2/trust/grant.go | 1 + oauth2/trust/handler.go | 1 + oauth2/trust/handler_test.go | 1 + oauth2/trust/manager.go | 1 + oauth2/trust/manager_test_helpers.go | 1 + oauth2/trust/registry.go | 1 + oauth2/trust/request.go | 1 + oauth2/trust/validator.go | 1 + oauth2/trust/validator_test.go | 1 + persistence/definitions.go | 1 + persistence/sql/migratest/assertion_helpers.go | 1 + persistence/sql/migratest/migration_test.go | 1 + persistence/sql/persister.go | 1 + persistence/sql/persister_client.go | 1 + persistence/sql/persister_consent.go | 1 + persistence/sql/persister_grant_jwk.go | 1 + persistence/sql/persister_jwk.go | 1 + persistence/sql/persister_migration.go | 1 + persistence/sql/persister_nid_test.go | 1 + persistence/sql/persister_oauth2.go | 1 + persistence/sql/persister_test.go | 1 + spec/api.go | 1 + spec/config.go | 1 + spec/schemas_test.go | 1 + test/conformance/run_test.go | 1 + test/e2e/oauth2-client/src/index.js | 1 + test/mock-cb/main.go | 1 + test/mock-client/main.go | 1 + test/mock-lcp/main.go | 1 + x/audit.go | 1 + x/audit_test.go | 1 + x/authenticator.go | 1 + x/basic_auth.go | 1 + x/clean_sql.go | 1 + x/config.go | 1 + x/const.go | 1 + x/doc.go | 1 + x/doc_swagger.go | 1 + x/error_enhancer.go | 1 + x/error_enhancer_test.go | 1 + x/errors.go | 1 + x/errors_test.go | 1 + x/fosite_storer.go | 1 + x/hasher.go | 1 + x/hasher_test.go | 1 + x/jwt.go | 1 + x/oauth2cors/cors.go | 1 + x/oauth2cors/cors_test.go | 1 + x/pagination.go | 1 + x/pointer.go | 1 + x/redirect_uri.go | 1 + x/redirect_uri_test.go | 1 + x/registry.go | 1 + x/router.go | 1 + x/secret.go | 1 + x/sqlx.go | 1 + x/swagger.go | 1 + x/test_helpers.go | 1 + x/tls_termination.go | 1 + x/tls_termination_test.go | 1 + 271 files changed, 271 insertions(+) diff --git a/client/client.go b/client/client.go index dca1f117be4..0a56836253c 100644 --- a/client/client.go +++ b/client/client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/client_test.go b/client/client_test.go index 32e41a7479d..b51527a050c 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/error.go b/client/error.go index e18395a774c..45fd03925cf 100644 --- a/client/error.go +++ b/client/error.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/handler.go b/client/handler.go index 6ded9fd0066..5f020f23b4e 100644 --- a/client/handler.go +++ b/client/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/handler_test.go b/client/handler_test.go index 1bbdc628fbf..e8d060495ed 100644 --- a/client/handler_test.go +++ b/client/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client_test diff --git a/client/manager.go b/client/manager.go index 21a1db81aed..ad8cca7df51 100644 --- a/client/manager.go +++ b/client/manager.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/manager_test_helpers.go b/client/manager_test_helpers.go index 15c86ea794b..c3394ecf2d0 100644 --- a/client/manager_test_helpers.go +++ b/client/manager_test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/registry.go b/client/registry.go index 70b5968e318..707be5c9f7e 100644 --- a/client/registry.go +++ b/client/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/sdk_test.go b/client/sdk_test.go index 5b6fe92609f..f0458c44681 100644 --- a/client/sdk_test.go +++ b/client/sdk_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client_test diff --git a/client/validator.go b/client/validator.go index b7f2d304179..a2d032cec1c 100644 --- a/client/validator.go +++ b/client/validator.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client diff --git a/client/validator_test.go b/client/validator_test.go index 20f801e9dde..98be4ab4f94 100644 --- a/client/validator_test.go +++ b/client/validator_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package client_test diff --git a/cmd/cli/error.go b/cmd/cli/error.go index eb378f1099b..2354273119f 100644 --- a/cmd/cli/error.go +++ b/cmd/cli/error.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler.go b/cmd/cli/handler.go index deb9cf695d7..bc452ab15d6 100644 --- a/cmd/cli/handler.go +++ b/cmd/cli/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler_helper.go b/cmd/cli/handler_helper.go index 545a0ded054..836f2322792 100644 --- a/cmd/cli/handler_helper.go +++ b/cmd/cli/handler_helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler_janitor.go b/cmd/cli/handler_janitor.go index bf92ad6cf27..bec0401fe36 100644 --- a/cmd/cli/handler_janitor.go +++ b/cmd/cli/handler_janitor.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler_janitor_test.go b/cmd/cli/handler_janitor_test.go index 7d2666442ae..c99440c23b1 100644 --- a/cmd/cli/handler_janitor_test.go +++ b/cmd/cli/handler_janitor_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli_test diff --git a/cmd/cli/handler_jwk.go b/cmd/cli/handler_jwk.go index ad0ac54243e..0845fe5c1fe 100644 --- a/cmd/cli/handler_jwk.go +++ b/cmd/cli/handler_jwk.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler_jwk_test.go b/cmd/cli/handler_jwk_test.go index 22dc48a865f..ea83d9dfc5f 100644 --- a/cmd/cli/handler_jwk_test.go +++ b/cmd/cli/handler_jwk_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cli/handler_migrate.go b/cmd/cli/handler_migrate.go index 427cb07f808..23d3c8ad925 100644 --- a/cmd/cli/handler_migrate.go +++ b/cmd/cli/handler_migrate.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cliclient/client.go b/cmd/cliclient/client.go index 6afb72b7217..41057cb5e39 100644 --- a/cmd/cliclient/client.go +++ b/cmd/cliclient/client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cliclient diff --git a/cmd/clidoc/main.go b/cmd/clidoc/main.go index 2d164e5ef97..4987677e34d 100644 --- a/cmd/clidoc/main.go +++ b/cmd/clidoc/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/cmd_create_client.go b/cmd/cmd_create_client.go index 3c9205e57e7..84a1a61c6c0 100644 --- a/cmd/cmd_create_client.go +++ b/cmd/cmd_create_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_create_client_test.go b/cmd/cmd_create_client_test.go index 32885ef080b..8e21f4f221d 100644 --- a/cmd/cmd_create_client_test.go +++ b/cmd/cmd_create_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_create_jwks.go b/cmd/cmd_create_jwks.go index 192f887ace7..57138555147 100644 --- a/cmd/cmd_create_jwks.go +++ b/cmd/cmd_create_jwks.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_create_jwks_test.go b/cmd/cmd_create_jwks_test.go index 0ce095867cb..d9e07d51d24 100644 --- a/cmd/cmd_create_jwks_test.go +++ b/cmd/cmd_create_jwks_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_delete.go b/cmd/cmd_delete.go index daea745ad57..e1694cb461a 100644 --- a/cmd/cmd_delete.go +++ b/cmd/cmd_delete.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_delete_client.go b/cmd/cmd_delete_client.go index 67a76120816..ad129c74eb6 100644 --- a/cmd/cmd_delete_client.go +++ b/cmd/cmd_delete_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_delete_client_test.go b/cmd/cmd_delete_client_test.go index 370a437d8de..4acc8f850a5 100644 --- a/cmd/cmd_delete_client_test.go +++ b/cmd/cmd_delete_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_delete_jwks.go b/cmd/cmd_delete_jwks.go index f42a8832427..d9165422103 100644 --- a/cmd/cmd_delete_jwks.go +++ b/cmd/cmd_delete_jwks.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_delete_jwks_test.go b/cmd/cmd_delete_jwks_test.go index 2c26e1057a4..91fe3feee4a 100644 --- a/cmd/cmd_delete_jwks_test.go +++ b/cmd/cmd_delete_jwks_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_delete_tokens.go b/cmd/cmd_delete_tokens.go index d03cfd4aff3..59c9d917fc2 100644 --- a/cmd/cmd_delete_tokens.go +++ b/cmd/cmd_delete_tokens.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_delete_tokens_test.go b/cmd/cmd_delete_tokens_test.go index 765857cc527..f965aa7cbf5 100644 --- a/cmd/cmd_delete_tokens_test.go +++ b/cmd/cmd_delete_tokens_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_get.go b/cmd/cmd_get.go index 267d5f86498..9969b94a5cd 100644 --- a/cmd/cmd_get.go +++ b/cmd/cmd_get.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_get_client.go b/cmd/cmd_get_client.go index 6743446cad2..e2d4c1471dd 100644 --- a/cmd/cmd_get_client.go +++ b/cmd/cmd_get_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_get_client_test.go b/cmd/cmd_get_client_test.go index 54e56a9c053..05b0686cfc0 100644 --- a/cmd/cmd_get_client_test.go +++ b/cmd/cmd_get_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_get_jwks.go b/cmd/cmd_get_jwks.go index 3c7fa70a9dd..327fc8420c9 100644 --- a/cmd/cmd_get_jwks.go +++ b/cmd/cmd_get_jwks.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_get_jwks_test.go b/cmd/cmd_get_jwks_test.go index d62b79f799e..8b37e61ecd9 100644 --- a/cmd/cmd_get_jwks_test.go +++ b/cmd/cmd_get_jwks_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_helper_client.go b/cmd/cmd_helper_client.go index 19bfc84b347..d625731b407 100644 --- a/cmd/cmd_helper_client.go +++ b/cmd/cmd_helper_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_helper_test.go b/cmd/cmd_helper_test.go index e56a8121480..bec0041e023 100644 --- a/cmd/cmd_helper_test.go +++ b/cmd/cmd_helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_import.go b/cmd/cmd_import.go index 13da7cc4026..fbb3606b3ef 100644 --- a/cmd/cmd_import.go +++ b/cmd/cmd_import.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_import_client.go b/cmd/cmd_import_client.go index 4ba5b467261..9415862410b 100644 --- a/cmd/cmd_import_client.go +++ b/cmd/cmd_import_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_import_client_test.go b/cmd/cmd_import_client_test.go index af1518e1e3a..d979aa57fed 100644 --- a/cmd/cmd_import_client_test.go +++ b/cmd/cmd_import_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_import_jwk.go b/cmd/cmd_import_jwk.go index 7d414bdb814..c597257c211 100644 --- a/cmd/cmd_import_jwk.go +++ b/cmd/cmd_import_jwk.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_import_jwk_test.go b/cmd/cmd_import_jwk_test.go index 39199dde318..c7584489dd8 100644 --- a/cmd/cmd_import_jwk_test.go +++ b/cmd/cmd_import_jwk_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_introspect.go b/cmd/cmd_introspect.go index a6883930aa6..f5fcba63d1e 100644 --- a/cmd/cmd_introspect.go +++ b/cmd/cmd_introspect.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_introspect_token.go b/cmd/cmd_introspect_token.go index d3c209ba4a7..8b64dcda7dc 100644 --- a/cmd/cmd_introspect_token.go +++ b/cmd/cmd_introspect_token.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_introspect_token_test.go b/cmd/cmd_introspect_token_test.go index ad164b97286..77f32275caa 100644 --- a/cmd/cmd_introspect_token_test.go +++ b/cmd/cmd_introspect_token_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_list.go b/cmd/cmd_list.go index c940b5f401e..f6669c8474c 100644 --- a/cmd/cmd_list.go +++ b/cmd/cmd_list.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_list_clients.go b/cmd/cmd_list_clients.go index 28e377bfd65..f848a5c1dfd 100644 --- a/cmd/cmd_list_clients.go +++ b/cmd/cmd_list_clients.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_list_clients_test.go b/cmd/cmd_list_clients_test.go index 62aee6c364f..87f875d7a3f 100644 --- a/cmd/cmd_list_clients_test.go +++ b/cmd/cmd_list_clients_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_perform.go b/cmd/cmd_perform.go index 131be2948c0..d00d6a630bd 100644 --- a/cmd/cmd_perform.go +++ b/cmd/cmd_perform.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_perform_authorization_code.go b/cmd/cmd_perform_authorization_code.go index dca21f020f6..f077efda32c 100644 --- a/cmd/cmd_perform_authorization_code.go +++ b/cmd/cmd_perform_authorization_code.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_perform_client_credentials.go b/cmd/cmd_perform_client_credentials.go index eaec07b7a93..ac645b30532 100644 --- a/cmd/cmd_perform_client_credentials.go +++ b/cmd/cmd_perform_client_credentials.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_perform_client_credentials_test.go b/cmd/cmd_perform_client_credentials_test.go index b6762f0a4a2..6026e352944 100644 --- a/cmd/cmd_perform_client_credentials_test.go +++ b/cmd/cmd_perform_client_credentials_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_revoke.go b/cmd/cmd_revoke.go index 87b4407b75b..62c5ff92878 100644 --- a/cmd/cmd_revoke.go +++ b/cmd/cmd_revoke.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_revoke_token.go b/cmd/cmd_revoke_token.go index 429f3c7e6e1..cbb30c99e6c 100644 --- a/cmd/cmd_revoke_token.go +++ b/cmd/cmd_revoke_token.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_revoke_token_test.go b/cmd/cmd_revoke_token_test.go index fd8352a2f1d..fec8078386e 100644 --- a/cmd/cmd_revoke_token_test.go +++ b/cmd/cmd_revoke_token_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/cmd_update.go b/cmd/cmd_update.go index b858daba4f4..b3efa64d06a 100644 --- a/cmd/cmd_update.go +++ b/cmd/cmd_update.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_update_client.go b/cmd/cmd_update_client.go index e6db2de1ed4..1067b861b1d 100644 --- a/cmd/cmd_update_client.go +++ b/cmd/cmd_update_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/cmd_update_client_test.go b/cmd/cmd_update_client_test.go index d076695ce12..e52638ace73 100644 --- a/cmd/cmd_update_client_test.go +++ b/cmd/cmd_update_client_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd_test diff --git a/cmd/create.go b/cmd/create.go index 683ac86fe5c..9e4d1712c03 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/helper.go b/cmd/helper.go index 402a2a13c7d..1a0520c19e6 100644 --- a/cmd/helper.go +++ b/cmd/helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/helper_test.go b/cmd/helper_test.go index a9d1e7e94c7..ac4e0364815 100644 --- a/cmd/helper_test.go +++ b/cmd/helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/janitor.go b/cmd/janitor.go index f3177c82b3b..31ffd4e7a63 100644 --- a/cmd/janitor.go +++ b/cmd/janitor.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/migrate.go b/cmd/migrate.go index 38fa300ad94..60756f5e635 100644 --- a/cmd/migrate.go +++ b/cmd/migrate.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/migrate_gen.go b/cmd/migrate_gen.go index fcddf77557f..05a46fa6c87 100644 --- a/cmd/migrate_gen.go +++ b/cmd/migrate_gen.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/migrate_sql.go b/cmd/migrate_sql.go index 8948fef7856..4b03588cf04 100644 --- a/cmd/migrate_sql.go +++ b/cmd/migrate_sql.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/output_client.go b/cmd/output_client.go index 8fd1be0f811..f10c52951b8 100644 --- a/cmd/output_client.go +++ b/cmd/output_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/output_introspection.go b/cmd/output_introspection.go index 2975f7162b6..c2236c5baa2 100644 --- a/cmd/output_introspection.go +++ b/cmd/output_introspection.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/output_jwks.go b/cmd/output_jwks.go index ae05da07b32..ac85c84246e 100644 --- a/cmd/output_jwks.go +++ b/cmd/output_jwks.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/output_token.go b/cmd/output_token.go index 12d205b9db7..c91add12cb5 100644 --- a/cmd/output_token.go +++ b/cmd/output_token.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/root.go b/cmd/root.go index 4d66a2c57f8..082e9553877 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/root_test.go b/cmd/root_test.go index 03d736999be..3ff077493d9 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/serve.go b/cmd/serve.go index 37008d763ad..a122e09a0c7 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/serve_admin.go b/cmd/serve_admin.go index 9921867f859..28de0576ac7 100644 --- a/cmd/serve_admin.go +++ b/cmd/serve_admin.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/serve_all.go b/cmd/serve_all.go index f98d2f74e74..229c919d7b3 100644 --- a/cmd/serve_all.go +++ b/cmd/serve_all.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/serve_public.go b/cmd/serve_public.go index 87dadc3d3b8..e09311b16fe 100644 --- a/cmd/serve_public.go +++ b/cmd/serve_public.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/cmd/server/banner.go b/cmd/server/banner.go index 2b003ae48fe..230420b798c 100644 --- a/cmd/server/banner.go +++ b/cmd/server/banner.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/cmd/server/handler.go b/cmd/server/handler.go index 013a69cf2cb..79d25bab550 100644 --- a/cmd/server/handler.go +++ b/cmd/server/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/cmd/server/helper_cert.go b/cmd/server/helper_cert.go index efb0bc740b7..e85f27ea296 100644 --- a/cmd/server/helper_cert.go +++ b/cmd/server/helper_cert.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/cmd/server/helper_cert_test.go b/cmd/server/helper_cert_test.go index 95c42bba016..c9e2a24fd0d 100644 --- a/cmd/server/helper_cert_test.go +++ b/cmd/server/helper_cert_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package server_test diff --git a/cmd/version.go b/cmd/version.go index 3f5cb0dcd13..0caf3a315dd 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/consent/handler.go b/consent/handler.go index 24f0d181670..f91e1222e9d 100644 --- a/consent/handler.go +++ b/consent/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/handler_test.go b/consent/handler_test.go index 9ad5b805e92..e4ec92c354f 100644 --- a/consent/handler_test.go +++ b/consent/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent_test diff --git a/consent/helper.go b/consent/helper.go index 5f8d8265264..42ed8963a6b 100644 --- a/consent/helper.go +++ b/consent/helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/helper_test.go b/consent/helper_test.go index 5b0c280c4e7..86fcc15940c 100644 --- a/consent/helper_test.go +++ b/consent/helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/janitor_consent_test_helper.go b/consent/janitor_consent_test_helper.go index 124d7ce53f4..6467eb1a63d 100644 --- a/consent/janitor_consent_test_helper.go +++ b/consent/janitor_consent_test_helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/manager.go b/consent/manager.go index 4880f8033ef..15ab9785bea 100644 --- a/consent/manager.go +++ b/consent/manager.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/manager_test_helpers.go b/consent/manager_test_helpers.go index 9c173daafb4..85a0f8b2b71 100644 --- a/consent/manager_test_helpers.go +++ b/consent/manager_test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/registry.go b/consent/registry.go index fe1c5c0bf99..aa5fae8b758 100644 --- a/consent/registry.go +++ b/consent/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/sdk_test.go b/consent/sdk_test.go index 1adecd78ad2..f4066c02bd1 100644 --- a/consent/sdk_test.go +++ b/consent/sdk_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent_test diff --git a/consent/strategy.go b/consent/strategy.go index 18189fbc631..3ae24d0172a 100644 --- a/consent/strategy.go +++ b/consent/strategy.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/strategy_default.go b/consent/strategy_default.go index 0295f0e74c0..d7edbf9fb69 100644 --- a/consent/strategy_default.go +++ b/consent/strategy_default.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/strategy_default_test.go b/consent/strategy_default_test.go index 21e2f68008c..123271fca8c 100644 --- a/consent/strategy_default_test.go +++ b/consent/strategy_default_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent_test diff --git a/consent/strategy_logout_test.go b/consent/strategy_logout_test.go index 5d79b2c3211..247720b18bb 100644 --- a/consent/strategy_logout_test.go +++ b/consent/strategy_logout_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent_test diff --git a/consent/strategy_oauth_test.go b/consent/strategy_oauth_test.go index c795f282ebe..d85ac608673 100644 --- a/consent/strategy_oauth_test.go +++ b/consent/strategy_oauth_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent_test diff --git a/consent/subject_identifier_algorithm.go b/consent/subject_identifier_algorithm.go index 54d8d86a5a8..343ab7d458e 100644 --- a/consent/subject_identifier_algorithm.go +++ b/consent/subject_identifier_algorithm.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/subject_identifier_algorithm_pairwise.go b/consent/subject_identifier_algorithm_pairwise.go index 12e35123c47..b27f7690bb2 100644 --- a/consent/subject_identifier_algorithm_pairwise.go +++ b/consent/subject_identifier_algorithm_pairwise.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/subject_identifier_algorithm_public.go b/consent/subject_identifier_algorithm_public.go index bbcf03cd9a2..a73062f3d64 100644 --- a/consent/subject_identifier_algorithm_public.go +++ b/consent/subject_identifier_algorithm_public.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/types.go b/consent/types.go index 3aca0fe8e77..80fa2c6e88b 100644 --- a/consent/types.go +++ b/consent/types.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/consent/types_test.go b/consent/types_test.go index a5024a99317..6366404d9e9 100644 --- a/consent/types_test.go +++ b/consent/types_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package consent diff --git a/contrib/quickstart/gitlab/config/gitlab.rb b/contrib/quickstart/gitlab/config/gitlab.rb index 0281fa702cc..9540469d3bd 100644 --- a/contrib/quickstart/gitlab/config/gitlab.rb +++ b/contrib/quickstart/gitlab/config/gitlab.rb @@ -1,4 +1,5 @@ # Copyright © 2022 Ory Corp +# SPDX-License-Identifier: Apache-2.0 ## GitLab configuration settings ##! This file is generated during initial installation and **is not** modified diff --git a/cypress/helpers/index.js b/cypress/helpers/index.js index f196ae88a17..e8f11a9251f 100644 --- a/cypress/helpers/index.js +++ b/cypress/helpers/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { v4 as uuidv4 } from "uuid" diff --git a/cypress/integration/admin/client_create.js b/cypress/integration/admin/client_create.js index 83209352efc..34053c7fc00 100644 --- a/cypress/integration/admin/client_create.js +++ b/cypress/integration/admin/client_create.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/integration/admin/grant_jwtbearer.js b/cypress/integration/admin/grant_jwtbearer.js index 8fce6eda0c8..d741f0a78a0 100644 --- a/cypress/integration/admin/grant_jwtbearer.js +++ b/cypress/integration/admin/grant_jwtbearer.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 const dayjs = require("dayjs") const isBetween = require("dayjs/plugin/isBetween") diff --git a/cypress/integration/oauth2/authorize_code.js b/cypress/integration/oauth2/authorize_code.js index 0d0cd733656..e204adc72ae 100644 --- a/cypress/integration/oauth2/authorize_code.js +++ b/cypress/integration/oauth2/authorize_code.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/integration/oauth2/authorize_error.js b/cypress/integration/oauth2/authorize_error.js index 2390de6f720..c537aa920dd 100644 --- a/cypress/integration/oauth2/authorize_error.js +++ b/cypress/integration/oauth2/authorize_error.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" import qs from "querystring" diff --git a/cypress/integration/oauth2/client_creds.js b/cypress/integration/oauth2/client_creds.js index a6301a7f9dd..a1419e8b1bd 100644 --- a/cypress/integration/oauth2/client_creds.js +++ b/cypress/integration/oauth2/client_creds.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" diff --git a/cypress/integration/oauth2/consent.js b/cypress/integration/oauth2/consent.js index 112de05ca4c..5e9829312d2 100644 --- a/cypress/integration/oauth2/consent.js +++ b/cypress/integration/oauth2/consent.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" diff --git a/cypress/integration/oauth2/grant_jwtbearer.js b/cypress/integration/oauth2/grant_jwtbearer.js index 8ddff8168cb..ccb2aac87aa 100644 --- a/cypress/integration/oauth2/grant_jwtbearer.js +++ b/cypress/integration/oauth2/grant_jwtbearer.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, diff --git a/cypress/integration/oauth2/introspect.js b/cypress/integration/oauth2/introspect.js index f8e051d6afd..655b7fb4cfc 100644 --- a/cypress/integration/oauth2/introspect.js +++ b/cypress/integration/oauth2/introspect.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/integration/oauth2/jwt.js b/cypress/integration/oauth2/jwt.js index 47ab599f590..5054cfee0f2 100644 --- a/cypress/integration/oauth2/jwt.js +++ b/cypress/integration/oauth2/jwt.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" diff --git a/cypress/integration/oauth2/refresh_token.js b/cypress/integration/oauth2/refresh_token.js index ec1ca82e3f5..a3b1c6282bf 100644 --- a/cypress/integration/oauth2/refresh_token.js +++ b/cypress/integration/oauth2/refresh_token.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" diff --git a/cypress/integration/openid/authorize_code.js b/cypress/integration/openid/authorize_code.js index 4c7b3841d4f..96d2a594578 100644 --- a/cypress/integration/openid/authorize_code.js +++ b/cypress/integration/openid/authorize_code.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/integration/openid/dynamic_client_registration.js b/cypress/integration/openid/dynamic_client_registration.js index 8fe77a58d8e..711e9fa6120 100644 --- a/cypress/integration/openid/dynamic_client_registration.js +++ b/cypress/integration/openid/dynamic_client_registration.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 describe("OAuth2 / OpenID Connect Dynamic Client Registration", function () { it("should return same client_secret given in request for newly created clients with client_secret specified", function () { diff --git a/cypress/integration/openid/logout.js b/cypress/integration/openid/logout.js index 967425477cc..4495198d109 100644 --- a/cypress/integration/openid/logout.js +++ b/cypress/integration/openid/logout.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { deleteClients, prng } from "../../helpers" diff --git a/cypress/integration/openid/prompt.js b/cypress/integration/openid/prompt.js index 698d8ee67e3..111784c982e 100644 --- a/cypress/integration/openid/prompt.js +++ b/cypress/integration/openid/prompt.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { createClient, prng } from "../../helpers" import qs from "querystring" diff --git a/cypress/integration/openid/revoke.js b/cypress/integration/openid/revoke.js index 2047e819877..08c6bf29a1c 100644 --- a/cypress/integration/openid/revoke.js +++ b/cypress/integration/openid/revoke.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/integration/openid/userinfo.js b/cypress/integration/openid/userinfo.js index d85341759c0..7df40c65772 100644 --- a/cypress/integration/openid/userinfo.js +++ b/cypress/integration/openid/userinfo.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 import { prng } from "../../helpers" diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 3b91db7e1b3..e7641c8537f 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // *********************************************************** // This example plugins/index.js can be used to load plugins diff --git a/cypress/support/commands.js b/cypress/support/commands.js index fb01f8f1926..2f75293404d 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // *********************************************** // This example commands.js shows you how to diff --git a/cypress/support/index.js b/cypress/support/index.js index c29b34a41b4..463e656ec22 100644 --- a/cypress/support/index.js +++ b/cypress/support/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // *********************************************************** // This example support/index.js is processed and diff --git a/doc.go b/doc.go index 897d7fe4ac1..79c65fb44b0 100644 --- a/doc.go +++ b/doc.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Package main ORY Hydra package main diff --git a/driver/config/buildinfo.go b/driver/config/buildinfo.go index dc9969c10c3..54a89438783 100644 --- a/driver/config/buildinfo.go +++ b/driver/config/buildinfo.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/config.go b/driver/config/config.go index 05aa08a4859..19f7e43afc4 100644 --- a/driver/config/config.go +++ b/driver/config/config.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/helper.go b/driver/config/helper.go index 66a3a5b4a1e..658143f6853 100644 --- a/driver/config/helper.go +++ b/driver/config/helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/provider.go b/driver/config/provider.go index 62012a75bd0..c0b07e3e2bf 100644 --- a/driver/config/provider.go +++ b/driver/config/provider.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/provider_fosite.go b/driver/config/provider_fosite.go index 43746a6033f..07ba8d7c858 100644 --- a/driver/config/provider_fosite.go +++ b/driver/config/provider_fosite.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/provider_test.go b/driver/config/provider_test.go index 02167399338..e4911386f71 100644 --- a/driver/config/provider_test.go +++ b/driver/config/provider_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/serve.go b/driver/config/serve.go index 626a7e03e6a..f37dcde41eb 100644 --- a/driver/config/serve.go +++ b/driver/config/serve.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/tls.go b/driver/config/tls.go index b0122c6baf9..078ef6ec26d 100644 --- a/driver/config/tls.go +++ b/driver/config/tls.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/types.go b/driver/config/types.go index 07ac930b1a2..717bd9db847 100644 --- a/driver/config/types.go +++ b/driver/config/types.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/config/types_test.go b/driver/config/types_test.go index 08c6d565ad2..e7fe500f91e 100644 --- a/driver/config/types_test.go +++ b/driver/config/types_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package config diff --git a/driver/factory.go b/driver/factory.go index 80995ac7fc6..8f7a09928a6 100644 --- a/driver/factory.go +++ b/driver/factory.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry.go b/driver/registry.go index e08281bc075..f12dc429f0d 100644 --- a/driver/registry.go +++ b/driver/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry_base.go b/driver/registry_base.go index 4ecc09d9b1b..f7f204263ff 100644 --- a/driver/registry_base.go +++ b/driver/registry_base.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry_base_test.go b/driver/registry_base_test.go index 4865b52ea6e..ded3dcd1e56 100644 --- a/driver/registry_base_test.go +++ b/driver/registry_base_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry_nosqlite.go b/driver/registry_nosqlite.go index 267ab5a06ae..bd57c32359c 100644 --- a/driver/registry_nosqlite.go +++ b/driver/registry_nosqlite.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !sqlite // +build !sqlite diff --git a/driver/registry_sql.go b/driver/registry_sql.go index 9cee691064d..8162b5c13c0 100644 --- a/driver/registry_sql.go +++ b/driver/registry_sql.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry_sql_test.go b/driver/registry_sql_test.go index bd6bd8381ff..3cd7cd33742 100644 --- a/driver/registry_sql_test.go +++ b/driver/registry_sql_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package driver diff --git a/driver/registry_sqlite.go b/driver/registry_sqlite.go index 5d9a5c336fe..bb39281b481 100644 --- a/driver/registry_sqlite.go +++ b/driver/registry_sqlite.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build sqlite // +build sqlite diff --git a/flow/flow.go b/flow/flow.go index d5a91442867..9915ed40719 100644 --- a/flow/flow.go +++ b/flow/flow.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package flow diff --git a/flow/flow_test.go b/flow/flow_test.go index b8978f259d7..86a0c757afd 100644 --- a/flow/flow_test.go +++ b/flow/flow_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package flow diff --git a/fositex/config.go b/fositex/config.go index 59d803d7dce..db512574f94 100644 --- a/fositex/config.go +++ b/fositex/config.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package fositex diff --git a/fositex/token_strategy.go b/fositex/token_strategy.go index 45ddb6edadb..865451ac9ce 100644 --- a/fositex/token_strategy.go +++ b/fositex/token_strategy.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package fositex diff --git a/go_mod_indirect_pins.go b/go_mod_indirect_pins.go index b74944949c9..405389eee81 100644 --- a/go_mod_indirect_pins.go +++ b/go_mod_indirect_pins.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build go_mod_indirect_pins // +build go_mod_indirect_pins diff --git a/health/doc.go b/health/doc.go index 131af0a373d..bad9c42139c 100644 --- a/health/doc.go +++ b/health/doc.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package health diff --git a/health/handler_test.go b/health/handler_test.go index b0be458fb8e..ed0a91b0d37 100644 --- a/health/handler_test.go +++ b/health/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package health diff --git a/hsm/crypto11_mock_test.go b/hsm/crypto11_mock_test.go index 319d47d08b9..72487f64782 100644 --- a/hsm/crypto11_mock_test.go +++ b/hsm/crypto11_mock_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build hsm // +build hsm diff --git a/hsm/hsm.go b/hsm/hsm.go index e9f09ddc74a..38304962c9d 100644 --- a/hsm/hsm.go +++ b/hsm/hsm.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build hsm // +build hsm diff --git a/hsm/hsm_mock_test.go b/hsm/hsm_mock_test.go index 1a684126a21..4a14243b973 100644 --- a/hsm/hsm_mock_test.go +++ b/hsm/hsm_mock_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build hsm // +build hsm diff --git a/hsm/manager_hsm.go b/hsm/manager_hsm.go index 4a7a6849b59..61dceb2b086 100644 --- a/hsm/manager_hsm.go +++ b/hsm/manager_hsm.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build hsm // +build hsm diff --git a/hsm/manager_hsm_test.go b/hsm/manager_hsm_test.go index 35ebb43352f..006459d9572 100644 --- a/hsm/manager_hsm_test.go +++ b/hsm/manager_hsm_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build hsm // +build hsm diff --git a/hsm/manager_nohsm.go b/hsm/manager_nohsm.go index 4ba6172de28..01e3a98b32a 100644 --- a/hsm/manager_nohsm.go +++ b/hsm/manager_nohsm.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build !hsm // +build !hsm diff --git a/internal/driver.go b/internal/driver.go index 56afb995917..23dea1b66ca 100644 --- a/internal/driver.go +++ b/internal/driver.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/fosite_store.go b/internal/fosite_store.go index cb619e769b7..0960b0423c6 100644 --- a/internal/fosite_store.go +++ b/internal/fosite_store.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/mock/config_cookie.go b/internal/mock/config_cookie.go index d074722946b..5fab6d1d7dc 100644 --- a/internal/mock/config_cookie.go +++ b/internal/mock/config_cookie.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ory/hydra/x (interfaces: CookieConfigProvider) diff --git a/internal/mock_generator_rs256.go b/internal/mock_generator_rs256.go index f12b1b41501..c9c5bd9d526 100644 --- a/internal/mock_generator_rs256.go +++ b/internal/mock_generator_rs256.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package internal diff --git a/internal/testhelpers/certs.go b/internal/testhelpers/certs.go index 2a5df777778..372e4391f7b 100644 --- a/internal/testhelpers/certs.go +++ b/internal/testhelpers/certs.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package testhelpers diff --git a/internal/testhelpers/janitor_test_helper.go b/internal/testhelpers/janitor_test_helper.go index 33e7d9ad031..5dc04e1e747 100644 --- a/internal/testhelpers/janitor_test_helper.go +++ b/internal/testhelpers/janitor_test_helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package testhelpers diff --git a/internal/testhelpers/lifespans.go b/internal/testhelpers/lifespans.go index 0410af57ea3..a3d24e42806 100644 --- a/internal/testhelpers/lifespans.go +++ b/internal/testhelpers/lifespans.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package testhelpers diff --git a/internal/testhelpers/oauth2.go b/internal/testhelpers/oauth2.go index 148ecff7da6..96a8d87761a 100644 --- a/internal/testhelpers/oauth2.go +++ b/internal/testhelpers/oauth2.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package testhelpers diff --git a/internal/testhelpers/server.go b/internal/testhelpers/server.go index d1c47510f12..108f21c69cf 100644 --- a/internal/testhelpers/server.go +++ b/internal/testhelpers/server.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package testhelpers diff --git a/internal/testhelpers/uuid/uuid.go b/internal/testhelpers/uuid/uuid.go index f974b1469d3..8fae25139ab 100644 --- a/internal/testhelpers/uuid/uuid.go +++ b/internal/testhelpers/uuid/uuid.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package uuid diff --git a/jwk/aead.go b/jwk/aead.go index 1e5c22c7052..3ca09979f32 100644 --- a/jwk/aead.go +++ b/jwk/aead.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/aead_test.go b/jwk/aead_test.go index 2bebe2aece6..7b69a644f77 100644 --- a/jwk/aead_test.go +++ b/jwk/aead_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/jwk/cast.go b/jwk/cast.go index c02d54d5748..7fc2b2c8906 100644 --- a/jwk/cast.go +++ b/jwk/cast.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/cast_test.go b/jwk/cast_test.go index 3a1c4e1524b..d55b81ba518 100644 --- a/jwk/cast_test.go +++ b/jwk/cast_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/generate.go b/jwk/generate.go index cdd1166d027..e5a30592cc7 100644 --- a/jwk/generate.go +++ b/jwk/generate.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/generate_test.go b/jwk/generate_test.go index c456591ce62..01a47d4ec67 100644 --- a/jwk/generate_test.go +++ b/jwk/generate_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/generator.go b/jwk/generator.go index 4a4edb7f630..03bdbd6a82d 100644 --- a/jwk/generator.go +++ b/jwk/generator.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/handler.go b/jwk/handler.go index 66ad12c5689..07a7667db11 100644 --- a/jwk/handler.go +++ b/jwk/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/handler_test.go b/jwk/handler_test.go index be6e1712ad4..67140e7dc25 100644 --- a/jwk/handler_test.go +++ b/jwk/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/jwk/helper.go b/jwk/helper.go index cbaddc4c21c..2506074764b 100644 --- a/jwk/helper.go +++ b/jwk/helper.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/helper_test.go b/jwk/helper_test.go index 1e5c9e98f5b..fa77b917cbd 100644 --- a/jwk/helper_test.go +++ b/jwk/helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/jwk/jwt_strategy.go b/jwk/jwt_strategy.go index b6d4a09f6dc..76792578e24 100644 --- a/jwk/jwt_strategy.go +++ b/jwk/jwt_strategy.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/jwt_strategy_test.go b/jwk/jwt_strategy_test.go index 9f403c327de..5a71febb89c 100644 --- a/jwk/jwt_strategy_test.go +++ b/jwk/jwt_strategy_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/jwk/manager.go b/jwk/manager.go index 9d78ad7b7ac..3ab298b43e5 100644 --- a/jwk/manager.go +++ b/jwk/manager.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/manager_mock_test.go b/jwk/manager_mock_test.go index b9aeaad0d72..4e3dc82f03f 100644 --- a/jwk/manager_mock_test.go +++ b/jwk/manager_mock_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. // Source: jwk/manager.go diff --git a/jwk/manager_strategy.go b/jwk/manager_strategy.go index bcf3daf9b21..0119d9eeecf 100644 --- a/jwk/manager_strategy.go +++ b/jwk/manager_strategy.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/manager_strategy_test.go b/jwk/manager_strategy_test.go index c741b0ce5d9..452273a123b 100644 --- a/jwk/manager_strategy_test.go +++ b/jwk/manager_strategy_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/jwk/manager_test_helpers.go b/jwk/manager_test_helpers.go index 53932332064..26f94cd5539 100644 --- a/jwk/manager_test_helpers.go +++ b/jwk/manager_test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/registry.go b/jwk/registry.go index c05cdacd310..1fa8ae42d51 100644 --- a/jwk/registry.go +++ b/jwk/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk diff --git a/jwk/registry_mock_test.go b/jwk/registry_mock_test.go index d39e0cf4e01..7188054e5c7 100644 --- a/jwk/registry_mock_test.go +++ b/jwk/registry_mock_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. // Source: jwk/registry.go diff --git a/jwk/sdk_test.go b/jwk/sdk_test.go index 4a4fcaa9998..39bcfa2892f 100644 --- a/jwk/sdk_test.go +++ b/jwk/sdk_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package jwk_test diff --git a/main.go b/main.go index 054e3975352..9697e46b2ad 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/oauth2/equalKeys.go b/oauth2/equalKeys.go index db4b131d916..e16568e078a 100644 --- a/oauth2/equalKeys.go +++ b/oauth2/equalKeys.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/equalKeys_test.go b/oauth2/equalKeys_test.go index 5bc42ef6ef3..13243a94bf3 100644 --- a/oauth2/equalKeys_test.go +++ b/oauth2/equalKeys_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/fosite_store_helpers.go b/oauth2/fosite_store_helpers.go index e08c91ce22b..d17f5fa25ea 100644 --- a/oauth2/fosite_store_helpers.go +++ b/oauth2/fosite_store_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/fosite_store_test.go b/oauth2/fosite_store_test.go index c469ee85e31..c8fb8d52618 100644 --- a/oauth2/fosite_store_test.go +++ b/oauth2/fosite_store_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/handler.go b/oauth2/handler.go index 4675e4ca5d9..c65fc8e74da 100644 --- a/oauth2/handler.go +++ b/oauth2/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/handler_fallback_endpoints.go b/oauth2/handler_fallback_endpoints.go index 6260014271e..5f2830b1790 100644 --- a/oauth2/handler_fallback_endpoints.go +++ b/oauth2/handler_fallback_endpoints.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/handler_fallback_endpoints_test.go b/oauth2/handler_fallback_endpoints_test.go index efa39b91c4e..b72f1452ab6 100644 --- a/oauth2/handler_fallback_endpoints_test.go +++ b/oauth2/handler_fallback_endpoints_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/handler_test.go b/oauth2/handler_test.go index 90f60c49355..ef76c861897 100644 --- a/oauth2/handler_test.go +++ b/oauth2/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/helper_test.go b/oauth2/helper_test.go index 55d3c1ad99f..74c25bdcfb0 100644 --- a/oauth2/helper_test.go +++ b/oauth2/helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/hook.go b/oauth2/hook.go index 82d51bfeaee..10985466d98 100644 --- a/oauth2/hook.go +++ b/oauth2/hook.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/introspector.go b/oauth2/introspector.go index fd4c52695f0..11da6b75ef9 100644 --- a/oauth2/introspector.go +++ b/oauth2/introspector.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/introspector_test.go b/oauth2/introspector_test.go index da857d91463..94899a4acba 100644 --- a/oauth2/introspector_test.go +++ b/oauth2/introspector_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/oauth2_auth_code_test.go b/oauth2/oauth2_auth_code_test.go index 123ab8597c9..d570eead995 100644 --- a/oauth2/oauth2_auth_code_test.go +++ b/oauth2/oauth2_auth_code_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/oauth2_client_credentials_test.go b/oauth2/oauth2_client_credentials_test.go index 48a1bd54ce4..cb1ad8d6ec2 100644 --- a/oauth2/oauth2_client_credentials_test.go +++ b/oauth2/oauth2_client_credentials_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/oauth2_helper_test.go b/oauth2/oauth2_helper_test.go index a65b1a7445a..a1d4f5ad9bb 100644 --- a/oauth2/oauth2_helper_test.go +++ b/oauth2/oauth2_helper_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/oauth2_jwt_bearer_test.go b/oauth2/oauth2_jwt_bearer_test.go index a1e7d3c633a..755dc883a36 100644 --- a/oauth2/oauth2_jwt_bearer_test.go +++ b/oauth2/oauth2_jwt_bearer_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/oauth2_provider_mock_test.go b/oauth2/oauth2_provider_mock_test.go index c820a34367f..83d584eb12f 100644 --- a/oauth2/oauth2_provider_mock_test.go +++ b/oauth2/oauth2_provider_mock_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. // Source: github.com/ory/fosite (interfaces: OAuth2Provider) diff --git a/oauth2/oauth2_refresh_token_test.go b/oauth2/oauth2_refresh_token_test.go index add4a45f0a6..1d40e0af4d1 100644 --- a/oauth2/oauth2_refresh_token_test.go +++ b/oauth2/oauth2_refresh_token_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/registry.go b/oauth2/registry.go index e372f00efee..53a9e84cf80 100644 --- a/oauth2/registry.go +++ b/oauth2/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/revocator_test.go b/oauth2/revocator_test.go index 021de110c6f..a5607abca14 100644 --- a/oauth2/revocator_test.go +++ b/oauth2/revocator_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/session.go b/oauth2/session.go index dacffe772e3..e543a1e123f 100644 --- a/oauth2/session.go +++ b/oauth2/session.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/session_custom_claims_test.go b/oauth2/session_custom_claims_test.go index cd5c6c57e1f..c9b72af534d 100644 --- a/oauth2/session_custom_claims_test.go +++ b/oauth2/session_custom_claims_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2_test diff --git a/oauth2/session_test.go b/oauth2/session_test.go index f9331de96d2..146f018db7b 100644 --- a/oauth2/session_test.go +++ b/oauth2/session_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/oauth2/trust/doc.go b/oauth2/trust/doc.go index 25ee66e7336..c30e9521ac0 100644 --- a/oauth2/trust/doc.go +++ b/oauth2/trust/doc.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // Package trust implements jwt-bearer grant management capabilities // diff --git a/oauth2/trust/error.go b/oauth2/trust/error.go index 58bc0c58360..eee9d0e5fb1 100644 --- a/oauth2/trust/error.go +++ b/oauth2/trust/error.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/grant.go b/oauth2/trust/grant.go index 620226c2966..9d5986415ab 100644 --- a/oauth2/trust/grant.go +++ b/oauth2/trust/grant.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/handler.go b/oauth2/trust/handler.go index 3fa6ca4ab01..7b236eaef13 100644 --- a/oauth2/trust/handler.go +++ b/oauth2/trust/handler.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/handler_test.go b/oauth2/trust/handler_test.go index 6c393d2a009..0ce09aca86a 100644 --- a/oauth2/trust/handler_test.go +++ b/oauth2/trust/handler_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust_test diff --git a/oauth2/trust/manager.go b/oauth2/trust/manager.go index a087089bee0..3e822b60d3c 100644 --- a/oauth2/trust/manager.go +++ b/oauth2/trust/manager.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/manager_test_helpers.go b/oauth2/trust/manager_test_helpers.go index 6da6609fb44..e51407b905b 100644 --- a/oauth2/trust/manager_test_helpers.go +++ b/oauth2/trust/manager_test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/registry.go b/oauth2/trust/registry.go index d1daa84427f..6184f8e9072 100644 --- a/oauth2/trust/registry.go +++ b/oauth2/trust/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/request.go b/oauth2/trust/request.go index 5d9f7335f37..3ba7be2655b 100644 --- a/oauth2/trust/request.go +++ b/oauth2/trust/request.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/validator.go b/oauth2/trust/validator.go index d2f14ef4733..ad113a4df84 100644 --- a/oauth2/trust/validator.go +++ b/oauth2/trust/validator.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/oauth2/trust/validator_test.go b/oauth2/trust/validator_test.go index 1d948379c70..1d07b5def05 100644 --- a/oauth2/trust/validator_test.go +++ b/oauth2/trust/validator_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package trust diff --git a/persistence/definitions.go b/persistence/definitions.go index 20ad2939b7a..88e6c444662 100644 --- a/persistence/definitions.go +++ b/persistence/definitions.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package persistence diff --git a/persistence/sql/migratest/assertion_helpers.go b/persistence/sql/migratest/assertion_helpers.go index 2d62f9eaf31..faa32ff9b9f 100644 --- a/persistence/sql/migratest/assertion_helpers.go +++ b/persistence/sql/migratest/assertion_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migratest diff --git a/persistence/sql/migratest/migration_test.go b/persistence/sql/migratest/migration_test.go index 71baf1bb8a7..6ca2cf1d543 100644 --- a/persistence/sql/migratest/migration_test.go +++ b/persistence/sql/migratest/migration_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package migratest diff --git a/persistence/sql/persister.go b/persistence/sql/persister.go index 3ee52b0591a..2f1b2adf3be 100644 --- a/persistence/sql/persister.go +++ b/persistence/sql/persister.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_client.go b/persistence/sql/persister_client.go index a4325b7637b..9f82843dc53 100644 --- a/persistence/sql/persister_client.go +++ b/persistence/sql/persister_client.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_consent.go b/persistence/sql/persister_consent.go index fe21093242b..6372a99f5e1 100644 --- a/persistence/sql/persister_consent.go +++ b/persistence/sql/persister_consent.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_grant_jwk.go b/persistence/sql/persister_grant_jwk.go index 0a2e548c2c6..3c1c668cfb7 100644 --- a/persistence/sql/persister_grant_jwk.go +++ b/persistence/sql/persister_grant_jwk.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_jwk.go b/persistence/sql/persister_jwk.go index f2f20456305..ad4e8dc3bde 100644 --- a/persistence/sql/persister_jwk.go +++ b/persistence/sql/persister_jwk.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_migration.go b/persistence/sql/persister_migration.go index e63f4006fbf..f82605c90b4 100644 --- a/persistence/sql/persister_migration.go +++ b/persistence/sql/persister_migration.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_nid_test.go b/persistence/sql/persister_nid_test.go index 9064287065d..ae4410a4af4 100644 --- a/persistence/sql/persister_nid_test.go +++ b/persistence/sql/persister_nid_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql_test diff --git a/persistence/sql/persister_oauth2.go b/persistence/sql/persister_oauth2.go index e86ea81269f..5d3acc585af 100644 --- a/persistence/sql/persister_oauth2.go +++ b/persistence/sql/persister_oauth2.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql diff --git a/persistence/sql/persister_test.go b/persistence/sql/persister_test.go index 14ba0185f79..f870e4a81dc 100644 --- a/persistence/sql/persister_test.go +++ b/persistence/sql/persister_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package sql_test diff --git a/spec/api.go b/spec/api.go index 4862e6b8cd9..d1bbbdad671 100644 --- a/spec/api.go +++ b/spec/api.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package spec diff --git a/spec/config.go b/spec/config.go index 5787bacd427..36fda6188dd 100644 --- a/spec/config.go +++ b/spec/config.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package spec diff --git a/spec/schemas_test.go b/spec/schemas_test.go index a8d1165c951..d9499e3c9c5 100644 --- a/spec/schemas_test.go +++ b/spec/schemas_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package spec diff --git a/test/conformance/run_test.go b/test/conformance/run_test.go index 684f822ae94..cb06cf460c5 100644 --- a/test/conformance/run_test.go +++ b/test/conformance/run_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:build conformity // +build conformity diff --git a/test/e2e/oauth2-client/src/index.js b/test/e2e/oauth2-client/src/index.js index 80189e53902..b27512bedeb 100644 --- a/test/e2e/oauth2-client/src/index.js +++ b/test/e2e/oauth2-client/src/index.js @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 const express = require("express") const session = require("express-session") diff --git a/test/mock-cb/main.go b/test/mock-cb/main.go index 4e2360ea1b3..9fd341d03ef 100644 --- a/test/mock-cb/main.go +++ b/test/mock-cb/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/test/mock-client/main.go b/test/mock-client/main.go index f484b279052..264b165f3fd 100644 --- a/test/mock-client/main.go +++ b/test/mock-client/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/test/mock-lcp/main.go b/test/mock-lcp/main.go index 0c8db431351..66a6d055c65 100644 --- a/test/mock-lcp/main.go +++ b/test/mock-lcp/main.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/x/audit.go b/x/audit.go index 64b97c4524e..edfb50210b6 100644 --- a/x/audit.go +++ b/x/audit.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/audit_test.go b/x/audit_test.go index 1ec9bb5f57f..6eecc8dcbf7 100644 --- a/x/audit_test.go +++ b/x/audit_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/authenticator.go b/x/authenticator.go index 1e6dfd74191..193cc0d922e 100644 --- a/x/authenticator.go +++ b/x/authenticator.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/basic_auth.go b/x/basic_auth.go index f785304c1a8..92a46e87ca4 100644 --- a/x/basic_auth.go +++ b/x/basic_auth.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/clean_sql.go b/x/clean_sql.go index 9821723689e..59628fb3f97 100644 --- a/x/clean_sql.go +++ b/x/clean_sql.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/config.go b/x/config.go index fd0aa61181c..a6943e52263 100644 --- a/x/config.go +++ b/x/config.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 //go:generate ../.bin/mockgen -package mock -destination ../internal/mock/config_cookie.go . CookieConfigProvider diff --git a/x/const.go b/x/const.go index ff70b21142a..30858fb9108 100644 --- a/x/const.go +++ b/x/const.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/doc.go b/x/doc.go index 543f566ec48..2ade0fc5fb2 100644 --- a/x/doc.go +++ b/x/doc.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 // ORY Hydra // diff --git a/x/doc_swagger.go b/x/doc_swagger.go index 15e9306a1b9..af7944ca09d 100644 --- a/x/doc_swagger.go +++ b/x/doc_swagger.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/error_enhancer.go b/x/error_enhancer.go index 7be77381566..b5b6d7dd1ec 100644 --- a/x/error_enhancer.go +++ b/x/error_enhancer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/error_enhancer_test.go b/x/error_enhancer_test.go index 5731b25ee26..a86a0281603 100644 --- a/x/error_enhancer_test.go +++ b/x/error_enhancer_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/errors.go b/x/errors.go index 2b1a92022ff..229884a5d51 100644 --- a/x/errors.go +++ b/x/errors.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/errors_test.go b/x/errors_test.go index 9a0bd854ff6..71de4e8d3fe 100644 --- a/x/errors_test.go +++ b/x/errors_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/fosite_storer.go b/x/fosite_storer.go index 20b8703bebd..1afec037710 100644 --- a/x/fosite_storer.go +++ b/x/fosite_storer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/hasher.go b/x/hasher.go index 31b4417e6e0..1e7bd37a6b0 100644 --- a/x/hasher.go +++ b/x/hasher.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/hasher_test.go b/x/hasher_test.go index 1e1cb462ae5..a91b9daa2a3 100644 --- a/x/hasher_test.go +++ b/x/hasher_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/jwt.go b/x/jwt.go index d8ffffdf8f9..0204c2250bc 100644 --- a/x/jwt.go +++ b/x/jwt.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/oauth2cors/cors.go b/x/oauth2cors/cors.go index 600bbc5ce9c..2069c2b8cd0 100644 --- a/x/oauth2cors/cors.go +++ b/x/oauth2cors/cors.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2cors diff --git a/x/oauth2cors/cors_test.go b/x/oauth2cors/cors_test.go index 03ebabf1fdc..d083dc5f6bd 100644 --- a/x/oauth2cors/cors_test.go +++ b/x/oauth2cors/cors_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package oauth2cors_test diff --git a/x/pagination.go b/x/pagination.go index 2feafcfd144..37717bf4db1 100644 --- a/x/pagination.go +++ b/x/pagination.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/pointer.go b/x/pointer.go index 7a2efffc076..b415ad115da 100644 --- a/x/pointer.go +++ b/x/pointer.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/redirect_uri.go b/x/redirect_uri.go index 2259e4a3a33..d4c01a3e6a2 100644 --- a/x/redirect_uri.go +++ b/x/redirect_uri.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/redirect_uri_test.go b/x/redirect_uri_test.go index 23721757d51..19f18d17b8e 100644 --- a/x/redirect_uri_test.go +++ b/x/redirect_uri_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/registry.go b/x/registry.go index 9fa447be076..84317cfad45 100644 --- a/x/registry.go +++ b/x/registry.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/router.go b/x/router.go index c53124867c5..aefe82a6a6c 100644 --- a/x/router.go +++ b/x/router.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/secret.go b/x/secret.go index d6d690d6296..9d207f9d564 100644 --- a/x/secret.go +++ b/x/secret.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/sqlx.go b/x/sqlx.go index e497ec6b40d..7ca0e5a727d 100644 --- a/x/sqlx.go +++ b/x/sqlx.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/swagger.go b/x/swagger.go index 2b7bd63c167..259bc41f7a0 100644 --- a/x/swagger.go +++ b/x/swagger.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/test_helpers.go b/x/test_helpers.go index a317076798c..65312cd5da3 100644 --- a/x/test_helpers.go +++ b/x/test_helpers.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/tls_termination.go b/x/tls_termination.go index 43347f23ae9..6d93494b9ba 100644 --- a/x/tls_termination.go +++ b/x/tls_termination.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x diff --git a/x/tls_termination_test.go b/x/tls_termination_test.go index 104dfeb32e6..92f2fd6f27b 100644 --- a/x/tls_termination_test.go +++ b/x/tls_termination_test.go @@ -1,4 +1,5 @@ // Copyright © 2022 Ory Corp +// SPDX-License-Identifier: Apache-2.0 package x_test