From 66f3f3e45d8cefe936b5c23143856bc399b28d99 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Tue, 13 Sep 2022 15:44:52 -0500 Subject: [PATCH] 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 (