From 33e448c60d91a9972b2ce9acc1776951556b6c75 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Thu, 5 Jan 2023 16:58:17 +0100 Subject: [PATCH 1/2] ci: remove circle --- .circleci/config.yml | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 991cc87b4..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,39 +0,0 @@ -version: 2.1 - -orbs: - changelog: ory/changelog@0.1.4 - nancy: ory/nancy@0.0.13 - golangci: ory/golangci@0.0.19 - -jobs: - test: - docker: - - image: cimg/go:1.18 - steps: - - checkout - - setup_remote_docker - - restore_cache: - keys: - - go-github-ory-fosite-v2-{{ checksum "go.sum" }} - - run: go mod download - - save_cache: - key: go-github-ory-fosite-v2-{{ checksum "go.sum" }} - paths: - - "/go/pkg/mod" - - run: go install github.com/mattn/goveralls github.com/ory/go-acc - - run: go-acc -o coverage.txt ./... -- -v -failfast -timeout=20m - -workflows: - tbr: - jobs: - - nancy/test - - test - - golangci/lint - - changelog/generate: - requires: - - test - filters: - tags: - only: /.*/ - branches: - only: master From bc43abc237aeb3469521dfa13ca812eb8d5e6c5d Mon Sep 17 00:00:00 2001 From: James Elliott Date: Wed, 11 Jan 2023 02:44:51 +1100 Subject: [PATCH 2/2] docs: update copyright (#732) --- access_error.go | 2 +- access_error_test.go | 2 +- access_request.go | 2 +- access_request_handler.go | 2 +- access_request_handler_test.go | 2 +- access_request_test.go | 2 +- access_response.go | 2 +- access_response_test.go | 2 +- access_response_writer.go | 2 +- access_response_writer_test.go | 2 +- access_write.go | 2 +- access_write_test.go | 2 +- arguments.go | 2 +- arguments_test.go | 2 +- audience_strategy.go | 2 +- audience_strategy_test.go | 2 +- authorize_error.go | 2 +- authorize_error_test.go | 2 +- authorize_helper.go | 2 +- authorize_helper_test.go | 2 +- authorize_request.go | 2 +- authorize_request_handler.go | 2 +- authorize_request_handler_oidc_request_test.go | 4 ++-- authorize_request_handler_test.go | 2 +- authorize_request_test.go | 2 +- authorize_response.go | 2 +- authorize_response_test.go | 2 +- authorize_response_writer.go | 2 +- authorize_response_writer_test.go | 2 +- authorize_validators_test.go | 2 +- authorize_write.go | 2 +- authorize_write_test.go | 2 +- client.go | 4 ++-- client_authentication.go | 4 ++-- client_authentication_jwks_strategy.go | 4 ++-- client_authentication_jwks_strategy_test.go | 4 ++-- client_authentication_test.go | 4 ++-- client_manager.go | 2 +- client_test.go | 2 +- client_with_custom_token_lifespans.go | 2 +- client_with_custom_token_lifespans_test.go | 2 +- compose/compose.go | 2 +- compose/compose_oauth2.go | 2 +- compose/compose_openid.go | 2 +- compose/compose_par.go | 2 +- compose/compose_pkce.go | 2 +- compose/compose_rfc7523.go | 2 +- compose/compose_strategy.go | 2 +- config.go | 2 +- config_default.go | 2 +- context.go | 2 +- equalKeys_test.go | 2 +- errors.go | 5 ++--- errors_test.go | 2 +- fosite.go | 2 +- fosite_test.go | 2 +- generate.go | 2 +- go_mod_indirect_pins.go | 2 +- handler.go | 2 +- handler/oauth2/flow_authorize_code_auth.go | 2 +- handler/oauth2/flow_authorize_code_auth_test.go | 2 +- handler/oauth2/flow_authorize_code_token.go | 2 +- handler/oauth2/flow_authorize_code_token_test.go | 8 ++++---- handler/oauth2/flow_authorize_implicit.go | 2 +- handler/oauth2/flow_authorize_implicit_test.go | 2 +- handler/oauth2/flow_client_credentials.go | 2 +- handler/oauth2/flow_client_credentials_storage.go | 2 +- handler/oauth2/flow_client_credentials_test.go | 2 +- handler/oauth2/flow_refresh.go | 2 +- handler/oauth2/flow_refresh_test.go | 2 +- handler/oauth2/flow_resource_owner.go | 2 +- handler/oauth2/flow_resource_owner_storage.go | 2 +- handler/oauth2/flow_resource_owner_test.go | 2 +- handler/oauth2/helper.go | 2 +- handler/oauth2/helper_test.go | 2 +- handler/oauth2/introspector.go | 2 +- handler/oauth2/introspector_jwt.go | 2 +- handler/oauth2/introspector_jwt_test.go | 2 +- handler/oauth2/introspector_test.go | 2 +- handler/oauth2/revocation.go | 2 +- handler/oauth2/revocation_storage.go | 2 +- handler/oauth2/revocation_test.go | 2 +- handler/oauth2/storage.go | 2 +- handler/oauth2/strategy.go | 2 +- handler/oauth2/strategy_hmacsha.go | 2 +- handler/oauth2/strategy_hmacsha_test.go | 2 +- handler/oauth2/strategy_jwt.go | 2 +- handler/oauth2/strategy_jwt_session.go | 2 +- handler/oauth2/strategy_jwt_test.go | 2 +- handler/openid/errors.go | 2 +- handler/openid/flow_explicit_auth.go | 2 +- handler/openid/flow_explicit_auth_test.go | 2 +- handler/openid/flow_explicit_token.go | 2 +- handler/openid/flow_explicit_token_test.go | 2 +- handler/openid/flow_hybrid.go | 2 +- handler/openid/flow_hybrid_test.go | 2 +- handler/openid/flow_implicit.go | 2 +- handler/openid/flow_implicit_test.go | 2 +- handler/openid/flow_refresh_token.go | 2 +- handler/openid/flow_refresh_token_test.go | 2 +- handler/openid/helper.go | 2 +- handler/openid/helper_test.go | 2 +- handler/openid/storage.go | 2 +- handler/openid/strategy.go | 2 +- handler/openid/strategy_jwt.go | 2 +- handler/openid/strategy_jwt_test.go | 2 +- handler/openid/validator.go | 2 +- handler/openid/validator_test.go | 2 +- handler/par/flow_pushed_authorize.go | 2 +- handler/par/flow_pushed_authorize_test.go | 2 +- handler/pkce/handler.go | 2 +- handler/pkce/handler_test.go | 2 +- handler/pkce/storage.go | 2 +- handler/rfc7523/handler.go | 2 +- handler/rfc7523/handler_test.go | 2 +- handler/rfc7523/session.go | 2 +- handler/rfc7523/storage.go | 2 +- hash.go | 2 +- hash_bcrypt.go | 2 +- hash_bcrypt_test.go | 2 +- helper.go | 2 +- helper_test.go | 2 +- i18n/default_catalog.go | 2 +- i18n/i18n.go | 2 +- i18n/i18n_test.go | 2 +- i18n_helper.go | 2 +- i18n_helper_test.go | 2 +- .../authorize_code_grant_public_client_pkce_test.go | 2 +- .../authorize_code_grant_public_client_test.go | 2 +- integration/authorize_code_grant_test.go | 2 +- integration/authorize_form_post_test.go | 2 +- integration/authorize_implicit_grant_test.go | 2 +- .../authorize_jwt_bearer_required_iat_test.go | 2 +- .../authorize_jwt_bearer_required_jti_test.go | 2 +- integration/authorize_jwt_bearer_test.go | 2 +- integration/authorize_response_mode_test.go | 2 +- integration/client_credentials_grant_test.go | 2 +- integration/clients/error.go | 2 +- integration/clients/introspect.go | 2 +- integration/clients/jwt_bearer.go | 2 +- integration/helper_endpoints_test.go | 2 +- integration/helper_setup_test.go | 2 +- integration/introspect_jwt_bearer_token_test.go | 2 +- integration/introspect_token_test.go | 2 +- integration/oidc_explicit_test.go | 2 +- .../oidc_implicit_hybrid_public_client_pkce_test.go | 2 +- integration/oidc_implicit_hybrid_test.go | 2 +- integration/placeholder.go | 2 +- integration/pushed_authorize_code_grant_test.go | 2 +- integration/refresh_token_grant_test.go | 2 +- ...esource_owner_password_credentials_grant_test.go | 2 +- integration/revoke_token_test.go | 2 +- internal/access_request.go | 2 +- internal/access_response.go | 2 +- internal/access_token_storage.go | 2 +- internal/access_token_strategy.go | 2 +- internal/authorize_code_storage.go | 2 +- internal/authorize_code_strategy.go | 2 +- internal/authorize_handler.go | 2 +- internal/authorize_request.go | 2 +- internal/authorize_response.go | 2 +- internal/client.go | 2 +- internal/gen/key.go | 2 +- internal/hash.go | 2 +- internal/id_token_strategy.go | 2 +- internal/introspector.go | 2 +- internal/oauth2_auth_jwt_storage.go | 2 +- internal/oauth2_client_storage.go | 2 +- internal/oauth2_explicit_storage.go | 8 ++++---- internal/oauth2_owner_storage.go | 2 +- internal/oauth2_refresh_storage.go | 8 ++++---- internal/oauth2_revoke_storage.go | 2 +- internal/oauth2_storage.go | 2 +- internal/oauth2_strategy.go | 2 +- internal/openid_id_token_storage.go | 2 +- internal/pkce_storage_strategy.go | 2 +- internal/pushed_authorize_handler.go | 10 +++++----- internal/refresh_token_strategy.go | 2 +- internal/request.go | 2 +- internal/revoke_handler.go | 2 +- internal/rw.go | 6 +++--- internal/storage.go | 2 +- internal/test_helpers.go | 9 ++++----- internal/token_handler.go | 2 +- internal/transactional.go | 2 +- introspect.go | 2 +- introspect_test.go | 2 +- introspection_request_handler.go | 2 +- introspection_request_handler_test.go | 2 +- introspection_response_writer.go | 2 +- introspection_response_writer_test.go | 2 +- oauth2.go | 2 +- pushed_authorize_request_handler.go | 2 +- pushed_authorize_request_handler_test.go | 2 +- pushed_authorize_response.go | 2 +- pushed_authorize_response_writer.go | 2 +- pushed_authorize_response_writer_test.go | 2 +- request.go | 2 +- request_test.go | 2 +- response_handler.go | 2 +- revoke_handler.go | 2 +- revoke_handler_test.go | 2 +- scope_strategy.go | 2 +- scope_strategy_test.go | 2 +- session.go | 2 +- session_test.go | 2 +- storage.go | 2 +- storage/memory.go | 2 +- storage/memory_test.go | 2 +- storage/transactional.go | 2 +- token/hmac/bytes.go | 2 +- token/hmac/bytes_test.go | 2 +- token/hmac/hmacsha.go | 2 +- token/hmac/hmacsha_test.go | 2 +- token/jwt/claims.go | 2 +- token/jwt/claims_id_token.go | 2 +- token/jwt/claims_id_token_test.go | 2 +- token/jwt/claims_jwt.go | 2 +- token/jwt/claims_jwt_test.go | 2 +- token/jwt/claims_test.go | 2 +- token/jwt/header.go | 2 +- token/jwt/header_test.go | 2 +- token/jwt/jwt.go | 2 +- token/jwt/jwt_test.go | 2 +- token/jwt/map_claims.go | 2 +- token/jwt/map_claims_test.go | 2 +- token/jwt/token.go | 2 +- token/jwt/token_test.go | 13 ++++++------- token/jwt/validation_error.go | 2 +- tools.go | 2 +- 230 files changed, 260 insertions(+), 263 deletions(-) diff --git a/access_error.go b/access_error.go index b7b1828dd..b28283e0e 100644 --- a/access_error.go +++ b/access_error.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_error_test.go b/access_error_test.go index 11273c692..4b6ca2a0c 100644 --- a/access_error_test.go +++ b/access_error_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/access_request.go b/access_request.go index b520e3868..c03e74a6d 100644 --- a/access_request.go +++ b/access_request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_request_handler.go b/access_request_handler.go index 0c168d5e4..76b057a95 100644 --- a/access_request_handler.go +++ b/access_request_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_request_handler_test.go b/access_request_handler_test.go index 31498914b..49f64b6ee 100644 --- a/access_request_handler_test.go +++ b/access_request_handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/access_request_test.go b/access_request_test.go index 683c04b61..c275f660d 100644 --- a/access_request_test.go +++ b/access_request_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_response.go b/access_response.go index 74d9bdca8..ffcb9e7ba 100644 --- a/access_response.go +++ b/access_response.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_response_test.go b/access_response_test.go index ccb7a0fe1..2379ccc8e 100644 --- a/access_response_test.go +++ b/access_response_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/access_response_writer.go b/access_response_writer.go index 25edae786..d91d4735f 100644 --- a/access_response_writer.go +++ b/access_response_writer.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_response_writer_test.go b/access_response_writer_test.go index cd2827067..2303d5fb8 100644 --- a/access_response_writer_test.go +++ b/access_response_writer_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/access_write.go b/access_write.go index 3c1183078..e96cfa014 100644 --- a/access_write.go +++ b/access_write.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/access_write_test.go b/access_write_test.go index 1f534b3fd..111f5e263 100644 --- a/access_write_test.go +++ b/access_write_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/arguments.go b/arguments.go index b0fd55b58..65e4bbbea 100644 --- a/arguments.go +++ b/arguments.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/arguments_test.go b/arguments_test.go index 05f8aef0f..2c2399d51 100644 --- a/arguments_test.go +++ b/arguments_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/audience_strategy.go b/audience_strategy.go index 804222b69..d0e7e41da 100644 --- a/audience_strategy.go +++ b/audience_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/audience_strategy_test.go b/audience_strategy_test.go index 3541bed44..f6f4cc0b2 100644 --- a/audience_strategy_test.go +++ b/audience_strategy_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_error.go b/authorize_error.go index 00493f4a0..0b5db5f05 100644 --- a/authorize_error.go +++ b/authorize_error.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_error_test.go b/authorize_error_test.go index 499c72f55..7f63da701 100644 --- a/authorize_error_test.go +++ b/authorize_error_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/authorize_helper.go b/authorize_helper.go index 24b5bfd6f..10422155a 100644 --- a/authorize_helper.go +++ b/authorize_helper.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_helper_test.go b/authorize_helper_test.go index 76d2d1a5e..091950d71 100644 --- a/authorize_helper_test.go +++ b/authorize_helper_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/authorize_request.go b/authorize_request.go index d1bace5d8..a07309c27 100644 --- a/authorize_request.go +++ b/authorize_request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_request_handler.go b/authorize_request_handler.go index 48e79a1e7..ea819b0d2 100644 --- a/authorize_request_handler.go +++ b/authorize_request_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_request_handler_oidc_request_test.go b/authorize_request_handler_oidc_request_test.go index 73ba357df..541d736b7 100644 --- a/authorize_request_handler_oidc_request_test.go +++ b/authorize_request_handler_oidc_request_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite @@ -18,7 +18,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" "github.com/ory/fosite/token/jwt" ) diff --git a/authorize_request_handler_test.go b/authorize_request_handler_test.go index a8826b9bc..afdc341d6 100644 --- a/authorize_request_handler_test.go +++ b/authorize_request_handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/authorize_request_test.go b/authorize_request_test.go index 16acd47a0..aaf9e77c8 100644 --- a/authorize_request_test.go +++ b/authorize_request_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_response.go b/authorize_response.go index 7e964d264..ca427893f 100644 --- a/authorize_response.go +++ b/authorize_response.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_response_test.go b/authorize_response_test.go index b08dbdbee..f39cada1e 100644 --- a/authorize_response_test.go +++ b/authorize_response_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_response_writer.go b/authorize_response_writer.go index 48e881e67..fc5698cca 100644 --- a/authorize_response_writer.go +++ b/authorize_response_writer.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_response_writer_test.go b/authorize_response_writer_test.go index 3a911f53e..0f4b65968 100644 --- a/authorize_response_writer_test.go +++ b/authorize_response_writer_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/authorize_validators_test.go b/authorize_validators_test.go index b1092bd3e..44e14b2e7 100644 --- a/authorize_validators_test.go +++ b/authorize_validators_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_write.go b/authorize_write.go index e3b2d5d07..b362938a9 100644 --- a/authorize_write.go +++ b/authorize_write.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/authorize_write_test.go b/authorize_write_test.go index 406698c64..6e630b0ba 100644 --- a/authorize_write_test.go +++ b/authorize_write_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/client.go b/client.go index ee84b7d12..6e794f826 100644 --- a/client.go +++ b/client.go @@ -1,10 +1,10 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite import ( - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" ) // Client represents a client or an app. diff --git a/client_authentication.go b/client_authentication.go index 7cb00c408..c86483991 100644 --- a/client_authentication.go +++ b/client_authentication.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite @@ -16,7 +16,7 @@ import ( "github.com/ory/x/errorsx" "github.com/pkg/errors" - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" "github.com/ory/fosite/token/jwt" ) diff --git a/client_authentication_jwks_strategy.go b/client_authentication_jwks_strategy.go index 83eba9078..295e05cc9 100644 --- a/client_authentication_jwks_strategy.go +++ b/client_authentication_jwks_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite @@ -13,7 +13,7 @@ import ( "github.com/ory/x/errorsx" - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" ) const defaultJWKSFetcherStrategyCachePrefix = "github.com/ory/fosite.DefaultJWKSFetcherStrategy:" diff --git a/client_authentication_jwks_strategy_test.go b/client_authentication_jwks_strategy_test.go index 916a6dabb..0ddd4ca09 100644 --- a/client_authentication_jwks_strategy_test.go +++ b/client_authentication_jwks_strategy_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite @@ -19,7 +19,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" ) func initServerWithKey(t *testing.T) *httptest.Server { diff --git a/client_authentication_test.go b/client_authentication_test.go index e5cd7fee8..48c9da9e1 100644 --- a/client_authentication_test.go +++ b/client_authentication_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test @@ -23,7 +23,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - jose "gopkg.in/square/go-jose.v2" + "gopkg.in/square/go-jose.v2" "github.com/ory/fosite/token/jwt" diff --git a/client_manager.go b/client_manager.go index 2ec664dcc..1d2828b08 100644 --- a/client_manager.go +++ b/client_manager.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/client_test.go b/client_test.go index f3654fed0..42eb08f33 100644 --- a/client_test.go +++ b/client_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/client_with_custom_token_lifespans.go b/client_with_custom_token_lifespans.go index 7930fa93f..3337a1d89 100644 --- a/client_with_custom_token_lifespans.go +++ b/client_with_custom_token_lifespans.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/client_with_custom_token_lifespans_test.go b/client_with_custom_token_lifespans_test.go index 98f3ccee8..88fd490b2 100644 --- a/client_with_custom_token_lifespans_test.go +++ b/client_with_custom_token_lifespans_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/compose/compose.go b/compose/compose.go index 1d1a03aeb..4ded32e5f 100644 --- a/compose/compose.go +++ b/compose/compose.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_oauth2.go b/compose/compose_oauth2.go index accc7d4eb..c71447a5c 100644 --- a/compose/compose_oauth2.go +++ b/compose/compose_oauth2.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_openid.go b/compose/compose_openid.go index 2e2ba96f1..122ddf154 100644 --- a/compose/compose_openid.go +++ b/compose/compose_openid.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_par.go b/compose/compose_par.go index fc04b9985..f935d5b4a 100644 --- a/compose/compose_par.go +++ b/compose/compose_par.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_pkce.go b/compose/compose_pkce.go index 286f4ae93..d87a53b6f 100644 --- a/compose/compose_pkce.go +++ b/compose/compose_pkce.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_rfc7523.go b/compose/compose_rfc7523.go index fa633bf7e..7aff4127a 100644 --- a/compose/compose_rfc7523.go +++ b/compose/compose_rfc7523.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/compose/compose_strategy.go b/compose/compose_strategy.go index 733d46774..cddcea5ef 100644 --- a/compose/compose_strategy.go +++ b/compose/compose_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package compose diff --git a/config.go b/config.go index 983a35940..1b50eb70c 100644 --- a/config.go +++ b/config.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/config_default.go b/config_default.go index df6fa2a50..7f2e2487e 100644 --- a/config_default.go +++ b/config_default.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/context.go b/context.go index 7a91e65bf..d8b2bc3fd 100644 --- a/context.go +++ b/context.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/equalKeys_test.go b/equalKeys_test.go index b33a7a798..df9f521b6 100644 --- a/equalKeys_test.go +++ b/equalKeys_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/errors.go b/errors.go index c6fdb8686..bf6c2b42c 100644 --- a/errors.go +++ b/errors.go @@ -1,10 +1,11 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite import ( "encoding/json" + stderr "errors" "fmt" "net/http" "net/url" @@ -15,8 +16,6 @@ import ( "github.com/ory/fosite/i18n" "github.com/ory/x/errorsx" - stderr "errors" - "github.com/pkg/errors" ) diff --git a/errors_test.go b/errors_test.go index e169dfd68..e2a46056b 100644 --- a/errors_test.go +++ b/errors_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/fosite.go b/fosite.go index 518319c60..445213629 100644 --- a/fosite.go +++ b/fosite.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/fosite_test.go b/fosite_test.go index 66c6e9e06..9b87919f5 100644 --- a/fosite_test.go +++ b/fosite_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/generate.go b/generate.go index 241795330..46dbe0e71 100644 --- a/generate.go +++ b/generate.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/go_mod_indirect_pins.go b/go_mod_indirect_pins.go index ebbefd25a..aa20f7f34 100644 --- a/go_mod_indirect_pins.go +++ b/go_mod_indirect_pins.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 //go:build tools diff --git a/handler.go b/handler.go index e2d090184..2b9d0b412 100644 --- a/handler.go +++ b/handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/handler/oauth2/flow_authorize_code_auth.go b/handler/oauth2/flow_authorize_code_auth.go index f038647d6..6bf437c96 100644 --- a/handler/oauth2/flow_authorize_code_auth.go +++ b/handler/oauth2/flow_authorize_code_auth.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_authorize_code_auth_test.go b/handler/oauth2/flow_authorize_code_auth_test.go index edbaabe88..5a9ee4de3 100644 --- a/handler/oauth2/flow_authorize_code_auth_test.go +++ b/handler/oauth2/flow_authorize_code_auth_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_authorize_code_token.go b/handler/oauth2/flow_authorize_code_token.go index b266e6c16..3289cfcbf 100644 --- a/handler/oauth2/flow_authorize_code_token.go +++ b/handler/oauth2/flow_authorize_code_token.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_authorize_code_token_test.go b/handler/oauth2/flow_authorize_code_token_test.go index 419409938..023b29835 100644 --- a/handler/oauth2/flow_authorize_code_token_test.go +++ b/handler/oauth2/flow_authorize_code_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 @@ -9,13 +9,13 @@ import ( "net/url" "testing" //"time" + //"github.com/golang/mock/gomock" + "time" + "github.com/golang/mock/gomock" "github.com/ory/fosite/internal" - //"github.com/golang/mock/gomock" - "time" - "github.com/ory/fosite" //"github.com/ory/fosite/internal" "github.com/ory/fosite/storage" "github.com/pkg/errors" diff --git a/handler/oauth2/flow_authorize_implicit.go b/handler/oauth2/flow_authorize_implicit.go index 91f90d498..846d16cb4 100644 --- a/handler/oauth2/flow_authorize_implicit.go +++ b/handler/oauth2/flow_authorize_implicit.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_authorize_implicit_test.go b/handler/oauth2/flow_authorize_implicit_test.go index 81924f277..4a360b5c4 100644 --- a/handler/oauth2/flow_authorize_implicit_test.go +++ b/handler/oauth2/flow_authorize_implicit_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_client_credentials.go b/handler/oauth2/flow_client_credentials.go index 8bc6ec9a5..a82d0dc85 100644 --- a/handler/oauth2/flow_client_credentials.go +++ b/handler/oauth2/flow_client_credentials.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_client_credentials_storage.go b/handler/oauth2/flow_client_credentials_storage.go index 8e95bfd0c..a008d8e7a 100644 --- a/handler/oauth2/flow_client_credentials_storage.go +++ b/handler/oauth2/flow_client_credentials_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_client_credentials_test.go b/handler/oauth2/flow_client_credentials_test.go index c96dd91ac..a15955a72 100644 --- a/handler/oauth2/flow_client_credentials_test.go +++ b/handler/oauth2/flow_client_credentials_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_refresh.go b/handler/oauth2/flow_refresh.go index 77a5f91e5..02c50493f 100644 --- a/handler/oauth2/flow_refresh.go +++ b/handler/oauth2/flow_refresh.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_refresh_test.go b/handler/oauth2/flow_refresh_test.go index f19477356..bed4ba581 100644 --- a/handler/oauth2/flow_refresh_test.go +++ b/handler/oauth2/flow_refresh_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_resource_owner.go b/handler/oauth2/flow_resource_owner.go index 4a15d87a3..d59e131a0 100644 --- a/handler/oauth2/flow_resource_owner.go +++ b/handler/oauth2/flow_resource_owner.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_resource_owner_storage.go b/handler/oauth2/flow_resource_owner_storage.go index a80158131..0abef088e 100644 --- a/handler/oauth2/flow_resource_owner_storage.go +++ b/handler/oauth2/flow_resource_owner_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/flow_resource_owner_test.go b/handler/oauth2/flow_resource_owner_test.go index e23a252d2..2b9cee545 100644 --- a/handler/oauth2/flow_resource_owner_test.go +++ b/handler/oauth2/flow_resource_owner_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/helper.go b/handler/oauth2/helper.go index 990bc0e4e..227b4a6a3 100644 --- a/handler/oauth2/helper.go +++ b/handler/oauth2/helper.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/helper_test.go b/handler/oauth2/helper_test.go index bb8403daa..824ee9460 100644 --- a/handler/oauth2/helper_test.go +++ b/handler/oauth2/helper_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/introspector.go b/handler/oauth2/introspector.go index 774b9fee4..d282c94a6 100644 --- a/handler/oauth2/introspector.go +++ b/handler/oauth2/introspector.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/introspector_jwt.go b/handler/oauth2/introspector_jwt.go index e2b590e57..6f1629f7e 100644 --- a/handler/oauth2/introspector_jwt.go +++ b/handler/oauth2/introspector_jwt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/introspector_jwt_test.go b/handler/oauth2/introspector_jwt_test.go index cd064426d..f677a4cd0 100644 --- a/handler/oauth2/introspector_jwt_test.go +++ b/handler/oauth2/introspector_jwt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/introspector_test.go b/handler/oauth2/introspector_test.go index 5898cf004..edb2027bd 100644 --- a/handler/oauth2/introspector_test.go +++ b/handler/oauth2/introspector_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/revocation.go b/handler/oauth2/revocation.go index 42fe73516..42a7a276d 100644 --- a/handler/oauth2/revocation.go +++ b/handler/oauth2/revocation.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/revocation_storage.go b/handler/oauth2/revocation_storage.go index e479c09bf..5454b7c9e 100644 --- a/handler/oauth2/revocation_storage.go +++ b/handler/oauth2/revocation_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/revocation_test.go b/handler/oauth2/revocation_test.go index 606240acc..76b5c774c 100644 --- a/handler/oauth2/revocation_test.go +++ b/handler/oauth2/revocation_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/storage.go b/handler/oauth2/storage.go index 1a2860635..1d49ea3de 100644 --- a/handler/oauth2/storage.go +++ b/handler/oauth2/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy.go b/handler/oauth2/strategy.go index f1e618ccb..7a9b1cd41 100644 --- a/handler/oauth2/strategy.go +++ b/handler/oauth2/strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy_hmacsha.go b/handler/oauth2/strategy_hmacsha.go index fef520792..4b3ae0cb7 100644 --- a/handler/oauth2/strategy_hmacsha.go +++ b/handler/oauth2/strategy_hmacsha.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy_hmacsha_test.go b/handler/oauth2/strategy_hmacsha_test.go index 0d72d0a4f..d8021dbf2 100644 --- a/handler/oauth2/strategy_hmacsha_test.go +++ b/handler/oauth2/strategy_hmacsha_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy_jwt.go b/handler/oauth2/strategy_jwt.go index 7287dea26..d5cec79b2 100644 --- a/handler/oauth2/strategy_jwt.go +++ b/handler/oauth2/strategy_jwt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy_jwt_session.go b/handler/oauth2/strategy_jwt_session.go index b33a5f0a0..3e381f70e 100644 --- a/handler/oauth2/strategy_jwt_session.go +++ b/handler/oauth2/strategy_jwt_session.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/oauth2/strategy_jwt_test.go b/handler/oauth2/strategy_jwt_test.go index 7cc1ac2e4..eb805afb7 100644 --- a/handler/oauth2/strategy_jwt_test.go +++ b/handler/oauth2/strategy_jwt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package oauth2 diff --git a/handler/openid/errors.go b/handler/openid/errors.go index d364e8cd3..73a39ad51 100644 --- a/handler/openid/errors.go +++ b/handler/openid/errors.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_explicit_auth.go b/handler/openid/flow_explicit_auth.go index 9186bfdfc..560af1c7d 100644 --- a/handler/openid/flow_explicit_auth.go +++ b/handler/openid/flow_explicit_auth.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_explicit_auth_test.go b/handler/openid/flow_explicit_auth_test.go index a53466570..af4457660 100644 --- a/handler/openid/flow_explicit_auth_test.go +++ b/handler/openid/flow_explicit_auth_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_explicit_token.go b/handler/openid/flow_explicit_token.go index a80ffff0b..0b416d2c2 100644 --- a/handler/openid/flow_explicit_token.go +++ b/handler/openid/flow_explicit_token.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_explicit_token_test.go b/handler/openid/flow_explicit_token_test.go index 0f6425ec5..55c1d260c 100644 --- a/handler/openid/flow_explicit_token_test.go +++ b/handler/openid/flow_explicit_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_hybrid.go b/handler/openid/flow_hybrid.go index e0bdf181c..ce43496e6 100644 --- a/handler/openid/flow_hybrid.go +++ b/handler/openid/flow_hybrid.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_hybrid_test.go b/handler/openid/flow_hybrid_test.go index 4cba91839..86e84ba93 100644 --- a/handler/openid/flow_hybrid_test.go +++ b/handler/openid/flow_hybrid_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_implicit.go b/handler/openid/flow_implicit.go index 7e218bff6..5871621ba 100644 --- a/handler/openid/flow_implicit.go +++ b/handler/openid/flow_implicit.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_implicit_test.go b/handler/openid/flow_implicit_test.go index 0b8809561..26e236039 100644 --- a/handler/openid/flow_implicit_test.go +++ b/handler/openid/flow_implicit_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_refresh_token.go b/handler/openid/flow_refresh_token.go index b642e1c90..66d9c131f 100644 --- a/handler/openid/flow_refresh_token.go +++ b/handler/openid/flow_refresh_token.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/flow_refresh_token_test.go b/handler/openid/flow_refresh_token_test.go index 3499e3c4d..eac8ca338 100644 --- a/handler/openid/flow_refresh_token_test.go +++ b/handler/openid/flow_refresh_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/helper.go b/handler/openid/helper.go index f23848d25..8833b439e 100644 --- a/handler/openid/helper.go +++ b/handler/openid/helper.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/helper_test.go b/handler/openid/helper_test.go index aabbee38a..ffcd8dbc2 100644 --- a/handler/openid/helper_test.go +++ b/handler/openid/helper_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/storage.go b/handler/openid/storage.go index 1450b4aba..d29f73717 100644 --- a/handler/openid/storage.go +++ b/handler/openid/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/strategy.go b/handler/openid/strategy.go index 7749ca4dd..c61738b80 100644 --- a/handler/openid/strategy.go +++ b/handler/openid/strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/strategy_jwt.go b/handler/openid/strategy_jwt.go index 63109a2d8..66fe78143 100644 --- a/handler/openid/strategy_jwt.go +++ b/handler/openid/strategy_jwt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/strategy_jwt_test.go b/handler/openid/strategy_jwt_test.go index b7eafd0a9..889cb7d5d 100644 --- a/handler/openid/strategy_jwt_test.go +++ b/handler/openid/strategy_jwt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/validator.go b/handler/openid/validator.go index ac25dcae6..5208d039c 100644 --- a/handler/openid/validator.go +++ b/handler/openid/validator.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/openid/validator_test.go b/handler/openid/validator_test.go index f80a55ee9..a36d47826 100644 --- a/handler/openid/validator_test.go +++ b/handler/openid/validator_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package openid diff --git a/handler/par/flow_pushed_authorize.go b/handler/par/flow_pushed_authorize.go index 4cecb9b72..4abce3837 100644 --- a/handler/par/flow_pushed_authorize.go +++ b/handler/par/flow_pushed_authorize.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package par diff --git a/handler/par/flow_pushed_authorize_test.go b/handler/par/flow_pushed_authorize_test.go index de3df3473..cc8c13974 100644 --- a/handler/par/flow_pushed_authorize_test.go +++ b/handler/par/flow_pushed_authorize_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package par_test diff --git a/handler/pkce/handler.go b/handler/pkce/handler.go index 3231693d1..f457b8bea 100644 --- a/handler/pkce/handler.go +++ b/handler/pkce/handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package pkce diff --git a/handler/pkce/handler_test.go b/handler/pkce/handler_test.go index 15ea5b96e..5058cc7c2 100644 --- a/handler/pkce/handler_test.go +++ b/handler/pkce/handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package pkce diff --git a/handler/pkce/storage.go b/handler/pkce/storage.go index 0af6964f2..bc44d053a 100644 --- a/handler/pkce/storage.go +++ b/handler/pkce/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package pkce diff --git a/handler/rfc7523/handler.go b/handler/rfc7523/handler.go index 579d8c047..f0732276f 100644 --- a/handler/rfc7523/handler.go +++ b/handler/rfc7523/handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package rfc7523 diff --git a/handler/rfc7523/handler_test.go b/handler/rfc7523/handler_test.go index 920c1627d..68d333a14 100644 --- a/handler/rfc7523/handler_test.go +++ b/handler/rfc7523/handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package rfc7523 diff --git a/handler/rfc7523/session.go b/handler/rfc7523/session.go index b0c4d273b..ea347101e 100644 --- a/handler/rfc7523/session.go +++ b/handler/rfc7523/session.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package rfc7523 diff --git a/handler/rfc7523/storage.go b/handler/rfc7523/storage.go index e7a035352..4e04a63b8 100644 --- a/handler/rfc7523/storage.go +++ b/handler/rfc7523/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package rfc7523 diff --git a/hash.go b/hash.go index 49df58019..6422b5e35 100644 --- a/hash.go +++ b/hash.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/hash_bcrypt.go b/hash_bcrypt.go index d2683a4d6..44b8fcbf9 100644 --- a/hash_bcrypt.go +++ b/hash_bcrypt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/hash_bcrypt_test.go b/hash_bcrypt_test.go index 6d4c434d7..f3f5d12e4 100644 --- a/hash_bcrypt_test.go +++ b/hash_bcrypt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/helper.go b/helper.go index b3d38fc95..b1f92d451 100644 --- a/helper.go +++ b/helper.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/helper_test.go b/helper_test.go index aa6a10d4c..c004d7b9b 100644 --- a/helper_test.go +++ b/helper_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/i18n/default_catalog.go b/i18n/default_catalog.go index 30e8c1310..35132f297 100644 --- a/i18n/default_catalog.go +++ b/i18n/default_catalog.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package i18n diff --git a/i18n/i18n.go b/i18n/i18n.go index 8e1f7062d..f4553cedd 100644 --- a/i18n/i18n.go +++ b/i18n/i18n.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package i18n diff --git a/i18n/i18n_test.go b/i18n/i18n_test.go index 8c9e2db37..a711b8ea7 100644 --- a/i18n/i18n_test.go +++ b/i18n/i18n_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package i18n diff --git a/i18n_helper.go b/i18n_helper.go index 3c2b3cbc3..a92774a11 100644 --- a/i18n_helper.go +++ b/i18n_helper.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/i18n_helper_test.go b/i18n_helper_test.go index 768f578c6..6f56dd7e1 100644 --- a/i18n_helper_test.go +++ b/i18n_helper_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/integration/authorize_code_grant_public_client_pkce_test.go b/integration/authorize_code_grant_public_client_pkce_test.go index 03581182e..2af9a25d6 100644 --- a/integration/authorize_code_grant_public_client_pkce_test.go +++ b/integration/authorize_code_grant_public_client_pkce_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_code_grant_public_client_test.go b/integration/authorize_code_grant_public_client_test.go index 581812dc2..4706311e8 100644 --- a/integration/authorize_code_grant_public_client_test.go +++ b/integration/authorize_code_grant_public_client_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_code_grant_test.go b/integration/authorize_code_grant_test.go index 0c56b4f8b..caa716de0 100644 --- a/integration/authorize_code_grant_test.go +++ b/integration/authorize_code_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_form_post_test.go b/integration/authorize_form_post_test.go index 01c495691..8981a85e3 100644 --- a/integration/authorize_form_post_test.go +++ b/integration/authorize_form_post_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_implicit_grant_test.go b/integration/authorize_implicit_grant_test.go index 0c5cccfa3..f679af103 100644 --- a/integration/authorize_implicit_grant_test.go +++ b/integration/authorize_implicit_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_jwt_bearer_required_iat_test.go b/integration/authorize_jwt_bearer_required_iat_test.go index 0c5f9530c..06bd8de20 100644 --- a/integration/authorize_jwt_bearer_required_iat_test.go +++ b/integration/authorize_jwt_bearer_required_iat_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_jwt_bearer_required_jti_test.go b/integration/authorize_jwt_bearer_required_jti_test.go index 232418deb..283c13c16 100644 --- a/integration/authorize_jwt_bearer_required_jti_test.go +++ b/integration/authorize_jwt_bearer_required_jti_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_jwt_bearer_test.go b/integration/authorize_jwt_bearer_test.go index d634f1bd3..0756cfd8d 100644 --- a/integration/authorize_jwt_bearer_test.go +++ b/integration/authorize_jwt_bearer_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/authorize_response_mode_test.go b/integration/authorize_response_mode_test.go index 99ef18893..88a9071c3 100644 --- a/integration/authorize_response_mode_test.go +++ b/integration/authorize_response_mode_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/client_credentials_grant_test.go b/integration/client_credentials_grant_test.go index cca2a6e8b..7d7f5196f 100644 --- a/integration/client_credentials_grant_test.go +++ b/integration/client_credentials_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/clients/error.go b/integration/clients/error.go index 9c8b7cced..cb7876309 100644 --- a/integration/clients/error.go +++ b/integration/clients/error.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/integration/clients/introspect.go b/integration/clients/introspect.go index 791f11571..bd59577bc 100644 --- a/integration/clients/introspect.go +++ b/integration/clients/introspect.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/integration/clients/jwt_bearer.go b/integration/clients/jwt_bearer.go index 759fb66fd..eb2dc06bf 100644 --- a/integration/clients/jwt_bearer.go +++ b/integration/clients/jwt_bearer.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package clients diff --git a/integration/helper_endpoints_test.go b/integration/helper_endpoints_test.go index 72b288378..76e4b5201 100644 --- a/integration/helper_endpoints_test.go +++ b/integration/helper_endpoints_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/helper_setup_test.go b/integration/helper_setup_test.go index 176af0af3..064b67353 100644 --- a/integration/helper_setup_test.go +++ b/integration/helper_setup_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/introspect_jwt_bearer_token_test.go b/integration/introspect_jwt_bearer_token_test.go index dcc1a88f9..cc58542c0 100644 --- a/integration/introspect_jwt_bearer_token_test.go +++ b/integration/introspect_jwt_bearer_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/introspect_token_test.go b/integration/introspect_token_test.go index 88d13c0ee..b7363756b 100644 --- a/integration/introspect_token_test.go +++ b/integration/introspect_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/oidc_explicit_test.go b/integration/oidc_explicit_test.go index 70cb2a914..b9b0ee27e 100644 --- a/integration/oidc_explicit_test.go +++ b/integration/oidc_explicit_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/oidc_implicit_hybrid_public_client_pkce_test.go b/integration/oidc_implicit_hybrid_public_client_pkce_test.go index d692a72b6..431a47d3f 100644 --- a/integration/oidc_implicit_hybrid_public_client_pkce_test.go +++ b/integration/oidc_implicit_hybrid_public_client_pkce_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/oidc_implicit_hybrid_test.go b/integration/oidc_implicit_hybrid_test.go index 9bef7474b..49595be31 100644 --- a/integration/oidc_implicit_hybrid_test.go +++ b/integration/oidc_implicit_hybrid_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/placeholder.go b/integration/placeholder.go index daf5a6ab5..9d1dacff5 100644 --- a/integration/placeholder.go +++ b/integration/placeholder.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration diff --git a/integration/pushed_authorize_code_grant_test.go b/integration/pushed_authorize_code_grant_test.go index 555a05232..d438c19ab 100644 --- a/integration/pushed_authorize_code_grant_test.go +++ b/integration/pushed_authorize_code_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/refresh_token_grant_test.go b/integration/refresh_token_grant_test.go index 29b2a0fc3..89f73db39 100644 --- a/integration/refresh_token_grant_test.go +++ b/integration/refresh_token_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/resource_owner_password_credentials_grant_test.go b/integration/resource_owner_password_credentials_grant_test.go index 72683ea5d..d98ce102a 100644 --- a/integration/resource_owner_password_credentials_grant_test.go +++ b/integration/resource_owner_password_credentials_grant_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/integration/revoke_token_test.go b/integration/revoke_token_test.go index 6d176686e..31288e5e3 100644 --- a/integration/revoke_token_test.go +++ b/integration/revoke_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package integration_test diff --git a/internal/access_request.go b/internal/access_request.go index 45c505bbd..57c926fc9 100644 --- a/internal/access_request.go +++ b/internal/access_request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/access_response.go b/internal/access_response.go index 3fb3cf704..7571620ca 100644 --- a/internal/access_response.go +++ b/internal/access_response.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/access_token_storage.go b/internal/access_token_storage.go index 4a8631d9d..cefc94ae4 100644 --- a/internal/access_token_storage.go +++ b/internal/access_token_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/access_token_strategy.go b/internal/access_token_strategy.go index 6e1a37503..a1ba9473c 100644 --- a/internal/access_token_strategy.go +++ b/internal/access_token_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/authorize_code_storage.go b/internal/authorize_code_storage.go index 61bd7bc09..c9f46949d 100644 --- a/internal/authorize_code_storage.go +++ b/internal/authorize_code_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/authorize_code_strategy.go b/internal/authorize_code_strategy.go index ad224d109..dfbd414be 100644 --- a/internal/authorize_code_strategy.go +++ b/internal/authorize_code_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/authorize_handler.go b/internal/authorize_handler.go index 0c4d26a80..4468bc2ed 100644 --- a/internal/authorize_handler.go +++ b/internal/authorize_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/authorize_request.go b/internal/authorize_request.go index 464add110..d3a17ef1a 100644 --- a/internal/authorize_request.go +++ b/internal/authorize_request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/authorize_response.go b/internal/authorize_response.go index 00d6887cf..eb5098772 100644 --- a/internal/authorize_response.go +++ b/internal/authorize_response.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/client.go b/internal/client.go index 251f23aa4..bf653cc31 100644 --- a/internal/client.go +++ b/internal/client.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/gen/key.go b/internal/gen/key.go index dd434f8f8..5ebb1702b 100644 --- a/internal/gen/key.go +++ b/internal/gen/key.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package gen diff --git a/internal/hash.go b/internal/hash.go index bfab37f97..2c71db816 100644 --- a/internal/hash.go +++ b/internal/hash.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/id_token_strategy.go b/internal/id_token_strategy.go index 0e6b324fe..4b89dac1e 100644 --- a/internal/id_token_strategy.go +++ b/internal/id_token_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/introspector.go b/internal/introspector.go index 7466d3e85..875eda003 100644 --- a/internal/introspector.go +++ b/internal/introspector.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_auth_jwt_storage.go b/internal/oauth2_auth_jwt_storage.go index e068f8f67..954979af9 100644 --- a/internal/oauth2_auth_jwt_storage.go +++ b/internal/oauth2_auth_jwt_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_client_storage.go b/internal/oauth2_client_storage.go index b88465e64..3319fea90 100644 --- a/internal/oauth2_client_storage.go +++ b/internal/oauth2_client_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_explicit_storage.go b/internal/oauth2_explicit_storage.go index c691dafdb..512243d61 100644 --- a/internal/oauth2_explicit_storage.go +++ b/internal/oauth2_explicit_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Automatically generated by MockGen. DO NOT EDIT! @@ -7,11 +7,11 @@ package internal import ( - context "context" + "context" - gomock "github.com/golang/mock/gomock" + "github.com/golang/mock/gomock" - fosite "github.com/ory/fosite" + "github.com/ory/fosite" ) // Mock of AuthorizeCodeGrantStorage interface diff --git a/internal/oauth2_owner_storage.go b/internal/oauth2_owner_storage.go index 87e5d4298..94d249b43 100644 --- a/internal/oauth2_owner_storage.go +++ b/internal/oauth2_owner_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_refresh_storage.go b/internal/oauth2_refresh_storage.go index 4127f6cd5..dd559597c 100644 --- a/internal/oauth2_refresh_storage.go +++ b/internal/oauth2_refresh_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Automatically generated by MockGen. DO NOT EDIT! @@ -7,11 +7,11 @@ package internal import ( - context "context" + "context" - gomock "github.com/golang/mock/gomock" + "github.com/golang/mock/gomock" - fosite "github.com/ory/fosite" + "github.com/ory/fosite" ) // Mock of RefreshTokenGrantStorage interface diff --git a/internal/oauth2_revoke_storage.go b/internal/oauth2_revoke_storage.go index 2267cd462..c233507de 100644 --- a/internal/oauth2_revoke_storage.go +++ b/internal/oauth2_revoke_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_storage.go b/internal/oauth2_storage.go index c53afe752..50f4b3702 100644 --- a/internal/oauth2_storage.go +++ b/internal/oauth2_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/oauth2_strategy.go b/internal/oauth2_strategy.go index e6c7663cb..86314e34a 100644 --- a/internal/oauth2_strategy.go +++ b/internal/oauth2_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/openid_id_token_storage.go b/internal/openid_id_token_storage.go index 5a86bceae..4d51e318b 100644 --- a/internal/openid_id_token_storage.go +++ b/internal/openid_id_token_storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/pkce_storage_strategy.go b/internal/pkce_storage_strategy.go index 2911398af..3f831a4a1 100644 --- a/internal/pkce_storage_strategy.go +++ b/internal/pkce_storage_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/pushed_authorize_handler.go b/internal/pushed_authorize_handler.go index 6eed77a67..53d218637 100644 --- a/internal/pushed_authorize_handler.go +++ b/internal/pushed_authorize_handler.go @@ -1,15 +1,15 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package internal import ( - context "context" - reflect "reflect" + "context" + "reflect" - gomock "github.com/golang/mock/gomock" + "github.com/golang/mock/gomock" - fosite "github.com/ory/fosite" + "github.com/ory/fosite" ) // MockPushedAuthorizeEndpointHandler is a mock of PushedAuthorizeEndpointHandler interface diff --git a/internal/refresh_token_strategy.go b/internal/refresh_token_strategy.go index 6fac96ca5..350157033 100644 --- a/internal/refresh_token_strategy.go +++ b/internal/refresh_token_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/request.go b/internal/request.go index b35eae5ea..c9b55e992 100644 --- a/internal/request.go +++ b/internal/request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/revoke_handler.go b/internal/revoke_handler.go index 322aaa8cf..fb314a34a 100644 --- a/internal/revoke_handler.go +++ b/internal/revoke_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/rw.go b/internal/rw.go index 8a7bff6af..1c8924b39 100644 --- a/internal/rw.go +++ b/internal/rw.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Automatically generated by MockGen. DO NOT EDIT! @@ -7,9 +7,9 @@ package internal import ( - http "net/http" + "net/http" - gomock "github.com/golang/mock/gomock" + "github.com/golang/mock/gomock" ) // Mock of ResponseWriter interface diff --git a/internal/storage.go b/internal/storage.go index 6adbf30b1..2046b4e3a 100644 --- a/internal/storage.go +++ b/internal/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/test_helpers.go b/internal/test_helpers.go index 3f9123bef..8495433f2 100644 --- a/internal/test_helpers.go +++ b/internal/test_helpers.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package internal @@ -7,11 +7,10 @@ import ( "encoding/json" "errors" "fmt" - "net/url" - "testing" - "io" + "net/url" "strconv" + "testing" "time" cristaljwt "github.com/cristalhq/jwt/v4" @@ -19,7 +18,7 @@ import ( "golang.org/x/net/html" goauth "golang.org/x/oauth2" - fosite "github.com/ory/fosite" + "github.com/ory/fosite" ) func ptr(d time.Duration) *time.Duration { diff --git a/internal/token_handler.go b/internal/token_handler.go index 51bf732de..540e72300 100644 --- a/internal/token_handler.go +++ b/internal/token_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/internal/transactional.go b/internal/transactional.go index 7ac3e789a..d31384db9 100644 --- a/internal/transactional.go +++ b/internal/transactional.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Code generated by MockGen. DO NOT EDIT. diff --git a/introspect.go b/introspect.go index 9a0f8c9ee..a8cbeb293 100644 --- a/introspect.go +++ b/introspect.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/introspect_test.go b/introspect_test.go index 65d2ea16d..b2da2abc5 100644 --- a/introspect_test.go +++ b/introspect_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/introspection_request_handler.go b/introspection_request_handler.go index 31b0818c8..5b5163d03 100644 --- a/introspection_request_handler.go +++ b/introspection_request_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/introspection_request_handler_test.go b/introspection_request_handler_test.go index 362a1074c..206ad5ecc 100644 --- a/introspection_request_handler_test.go +++ b/introspection_request_handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/introspection_response_writer.go b/introspection_response_writer.go index 45ccae042..ac619540c 100644 --- a/introspection_response_writer.go +++ b/introspection_response_writer.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/introspection_response_writer_test.go b/introspection_response_writer_test.go index 7b42cfe4f..f8c38b973 100644 --- a/introspection_response_writer_test.go +++ b/introspection_response_writer_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/oauth2.go b/oauth2.go index 3184d39d3..c25abf65a 100644 --- a/oauth2.go +++ b/oauth2.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/pushed_authorize_request_handler.go b/pushed_authorize_request_handler.go index 56071b9fc..df8e6ce32 100644 --- a/pushed_authorize_request_handler.go +++ b/pushed_authorize_request_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/pushed_authorize_request_handler_test.go b/pushed_authorize_request_handler_test.go index 33235e41c..f2e5732b7 100644 --- a/pushed_authorize_request_handler_test.go +++ b/pushed_authorize_request_handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/pushed_authorize_response.go b/pushed_authorize_response.go index 6022c8c15..8f3815113 100644 --- a/pushed_authorize_response.go +++ b/pushed_authorize_response.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/pushed_authorize_response_writer.go b/pushed_authorize_response_writer.go index 1d80a4570..29db9cf3e 100644 --- a/pushed_authorize_response_writer.go +++ b/pushed_authorize_response_writer.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/pushed_authorize_response_writer_test.go b/pushed_authorize_response_writer_test.go index 0e7a650db..edb60d73b 100644 --- a/pushed_authorize_response_writer_test.go +++ b/pushed_authorize_response_writer_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/request.go b/request.go index 0f0bab813..e6a7540db 100644 --- a/request.go +++ b/request.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/request_test.go b/request_test.go index 858219bfc..5c4e52fb5 100644 --- a/request_test.go +++ b/request_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/response_handler.go b/response_handler.go index 8f356ea62..113e62795 100644 --- a/response_handler.go +++ b/response_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/revoke_handler.go b/revoke_handler.go index d15760f8f..7555629de 100644 --- a/revoke_handler.go +++ b/revoke_handler.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/revoke_handler_test.go b/revoke_handler_test.go index dba1619f4..94893c5c4 100644 --- a/revoke_handler_test.go +++ b/revoke_handler_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite_test diff --git a/scope_strategy.go b/scope_strategy.go index 615700e6c..2326a5a63 100644 --- a/scope_strategy.go +++ b/scope_strategy.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/scope_strategy_test.go b/scope_strategy_test.go index 0a524c367..c9c7e6463 100644 --- a/scope_strategy_test.go +++ b/scope_strategy_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/session.go b/session.go index 6c626d3a8..10d856924 100644 --- a/session.go +++ b/session.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/session_test.go b/session_test.go index 6e6bbbe81..0a4a85b8e 100644 --- a/session_test.go +++ b/session_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/storage.go b/storage.go index f84361606..b0f7a7bb1 100644 --- a/storage.go +++ b/storage.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package fosite diff --git a/storage/memory.go b/storage/memory.go index 09d8c1e77..c08a28b2a 100644 --- a/storage/memory.go +++ b/storage/memory.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/memory_test.go b/storage/memory_test.go index f21ece70d..4183fd090 100644 --- a/storage/memory_test.go +++ b/storage/memory_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/transactional.go b/storage/transactional.go index 48e6f6a5b..821df3489 100644 --- a/storage/transactional.go +++ b/storage/transactional.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package storage diff --git a/token/hmac/bytes.go b/token/hmac/bytes.go index 9eb724644..4ff445758 100644 --- a/token/hmac/bytes.go +++ b/token/hmac/bytes.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package hmac diff --git a/token/hmac/bytes_test.go b/token/hmac/bytes_test.go index 0a0472c3d..04e04bf26 100644 --- a/token/hmac/bytes_test.go +++ b/token/hmac/bytes_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package hmac diff --git a/token/hmac/hmacsha.go b/token/hmac/hmacsha.go index 3d064286f..84db7c529 100644 --- a/token/hmac/hmacsha.go +++ b/token/hmac/hmacsha.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Package hmac is the default implementation for generating and validating challenges. It uses SHA-512/256 to diff --git a/token/hmac/hmacsha_test.go b/token/hmac/hmacsha_test.go index 0f7493eb2..0df788302 100644 --- a/token/hmac/hmacsha_test.go +++ b/token/hmac/hmacsha_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package hmac diff --git a/token/jwt/claims.go b/token/jwt/claims.go index 2277c3ee6..92c39d30e 100644 --- a/token/jwt/claims.go +++ b/token/jwt/claims.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/claims_id_token.go b/token/jwt/claims_id_token.go index 8322f3c48..450edf1e9 100644 --- a/token/jwt/claims_id_token.go +++ b/token/jwt/claims_id_token.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/claims_id_token_test.go b/token/jwt/claims_id_token_test.go index 5021482da..7868037c1 100644 --- a/token/jwt/claims_id_token_test.go +++ b/token/jwt/claims_id_token_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt_test diff --git a/token/jwt/claims_jwt.go b/token/jwt/claims_jwt.go index 15ec347a0..559284589 100644 --- a/token/jwt/claims_jwt.go +++ b/token/jwt/claims_jwt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/claims_jwt_test.go b/token/jwt/claims_jwt_test.go index d5491b976..69acefbf7 100644 --- a/token/jwt/claims_jwt_test.go +++ b/token/jwt/claims_jwt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt_test diff --git a/token/jwt/claims_test.go b/token/jwt/claims_test.go index 55badb393..667de76cd 100644 --- a/token/jwt/claims_test.go +++ b/token/jwt/claims_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/header.go b/token/jwt/header.go index 4acb0305b..a91b48c75 100644 --- a/token/jwt/header.go +++ b/token/jwt/header.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/header_test.go b/token/jwt/header_test.go index 45b5d4701..28cb7a6e2 100644 --- a/token/jwt/header_test.go +++ b/token/jwt/header_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/jwt.go b/token/jwt/jwt.go index f5a5c277b..9c0a85f49 100644 --- a/token/jwt/jwt.go +++ b/token/jwt/jwt.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Package jwt is able to generate and validate json web tokens. diff --git a/token/jwt/jwt_test.go b/token/jwt/jwt_test.go index 816c0f821..db898ff19 100644 --- a/token/jwt/jwt_test.go +++ b/token/jwt/jwt_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/map_claims.go b/token/jwt/map_claims.go index 4454dd9fe..11d86d412 100644 --- a/token/jwt/map_claims.go +++ b/token/jwt/map_claims.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/map_claims_test.go b/token/jwt/map_claims_test.go index e9db182b6..62d6c5bd2 100644 --- a/token/jwt/map_claims_test.go +++ b/token/jwt/map_claims_test.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/token.go b/token/jwt/token.go index 34a0c2bcc..fec3b661c 100644 --- a/token/jwt/token.go +++ b/token/jwt/token.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/token/jwt/token_test.go b/token/jwt/token_test.go index 6f44b8cbc..c79dcc512 100644 --- a/token/jwt/token_test.go +++ b/token/jwt/token_test.go @@ -1,9 +1,14 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt import ( + "crypto/rand" + "crypto/rsa" + "crypto/x509" + "encoding/pem" + "fmt" "strings" "testing" "time" @@ -14,12 +19,6 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/square/go-jose.v2" "gopkg.in/square/go-jose.v2/jwt" - - "crypto/rand" - "crypto/rsa" - "crypto/x509" - "encoding/pem" - "fmt" ) func TestUnsignedToken(t *testing.T) { diff --git a/token/jwt/validation_error.go b/token/jwt/validation_error.go index 4f9b554b3..3d1ccd55f 100644 --- a/token/jwt/validation_error.go +++ b/token/jwt/validation_error.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package jwt diff --git a/tools.go b/tools.go index a30fb7f83..055ec4e38 100644 --- a/tools.go +++ b/tools.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Ory Corp +// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 //go:build tools