Skip to content

Commit

Permalink
Update spec.md (#9)
Browse files Browse the repository at this point in the history
Add the `Subject` message definition to the spec.md file where it is referenced by `ValidateCredentialResponse` so that you don't have to go to the protobuf to look it up.
  • Loading branch information
jacobsee authored Feb 29, 2024
1 parent 13fb66c commit 8e49652
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ service Authentication {
##### `ValidateCredential`

```proto
message Subject {
// subject_id is the ID of the subject.
string subject_id = 1;
// claims is a set of claims about the subject.
google.protobuf.Struct claims = 2;
}
message ValidateCredentialRequest {
// credential is the literal credential for a subject (such as a bearer token) passed to the
// application with no transformations applied.
Expand Down

0 comments on commit 8e49652

Please sign in to comment.