Skip to content

Commit

Permalink
fix(frontier): rename shield file to frontier
Browse files Browse the repository at this point in the history
- add bearer jwt as security defination

Signed-off-by: Kush Sharma <[email protected]>
  • Loading branch information
kushsharma committed Aug 1, 2023
1 parent 6b20a5b commit 44452f2
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,19 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
description: "Client ID/Secret authentication";
}
}
security: {
key: "Bearer";
value: {
type: TYPE_API_KEY
in: IN_HEADER
description: "The Authorization header must be set to Bearer followed by a space and a token."
name: "Authorization"
}
}
}
security: {
security_requirement: {key: "Basic"}
security_requirement: {key: "Bearer"}
}
};
service FrontierService {
Expand Down

0 comments on commit 44452f2

Please sign in to comment.