-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change errors to be inside responses instead of using gRPC codes (#8)
* Change errors to be inside responses instead of using gRPC codes This commit updates the IAM runtime spec and protobuf definitions to put results inside ValidateCredentialResponse and CheckAccessResponse objects. This allows separation of authentication/authorization of the caller from that of the subject. This is a breaking change. Signed-off-by: John Schaeffer <jschaeffer@equinix.com> * Update example code to fully conform to new spec This commit updates the hello world example to use the new runtime authentication/authorization error semantics. Signed-off-by: John Schaeffer <jschaeffer@equinix.com> --------- Signed-off-by: John Schaeffer <jschaeffer@equinix.com>
- Loading branch information
1 parent
7a8d111
commit 13fb66c
Showing
9 changed files
with
465 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.