oidc: add standard references

- IDTokenClaims
- IntrospectionResponse
- UserInfo
This commit is contained in:
Tim Möhlmann 2023-03-06 12:55:26 +02:00
parent 54eae928c9
commit c7f1319b39
3 changed files with 10 additions and 0 deletions

View file

@ -11,6 +11,10 @@ type ClientAssertionParams struct {
ClientAssertionType string `schema:"client_assertion_type"`
}
// IntrospectionResponse implements RFC 7662, section 2.2 and
// OpenID Connect Core 1.0, section 5.1 (UserInfo).
// https://www.rfc-editor.org/rfc/rfc7662.html#section-2.2.
// https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims.
type IntrospectionResponse struct {
Active bool `json:"active"`
Scope SpaceDelimitedArray `json:"scope,omitempty"`