Skip to content

Commit 8e49652

Browse files
authored
Update spec.md (#9)
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.
1 parent 13fb66c commit 8e49652

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ service Authentication {
9494
##### `ValidateCredential`
9595

9696
```proto
97+
message Subject {
98+
// subject_id is the ID of the subject.
99+
string subject_id = 1;
100+
101+
// claims is a set of claims about the subject.
102+
google.protobuf.Struct claims = 2;
103+
}
104+
97105
message ValidateCredentialRequest {
98106
// credential is the literal credential for a subject (such as a bearer token) passed to the
99107
// application with no transformations applied.

0 commit comments

Comments
 (0)