Skip to content

Commit

Permalink
feat(runtime): add new Go-specific API level feature
Browse files Browse the repository at this point in the history
- Introduce new GoFeatures API level setting for protobuf
- Add renamed_services map to GoSettings for service name customization
- Update enum deprecation warnings and improve documentation links
- Refactor error_details.proto to enhance field-level error handlingrefactor(runtime): remove unused keyfunc field from JWT config

- Remove keyfunc field from Config struct
- Delete GetKeyfunc method
- Update validation logic to remove keyfunc checks
- Remove keyfunc from protobuf descriptor
  • Loading branch information
godcong committed Dec 20, 2024
1 parent 2656d17 commit e2f86e0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 86 deletions.
106 changes: 46 additions & 60 deletions gen/go/security/jwt/v1/config.pb.go

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

22 changes: 1 addition & 21 deletions gen/go/security/jwt/v1/config.pb.validate.go

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

5 changes: 0 additions & 5 deletions proto/security/jwt/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ message Config {
json_name = "key2",
(gnostic.openapi.v3.property) = {description: "The secondary key used for signing the token."}
];
string keyfunc = 4 [
json_name = "keyfunc",
(validate.rules).string.min_len = 1,
(gnostic.openapi.v3.property) = {description: "The function used to retrieve the key for validation."}
];
int64 access_token_lifetime = 5 [
json_name = "access_token_lifetime",
(validate.rules).int64.gt = 0,
Expand Down

0 comments on commit e2f86e0

Please sign in to comment.