Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct {
Active bool `json:"active"`
TokenType string `json:"token_type,omitempty"`
Issuer string `json:"iss,omitempty"`
Subject string `json:"sub,omitempty"`
ClientID string `json:"client_id,omitempty"`
Expiry int64 `json:"exp,omitempty"`
NotBefore int64 `json:"nbf,omitempty"`
Audience []string `json:"aud,omitempty"`
Scope string `json:"scope,omitempty"`
Act json.RawMessage `json:"act,omitempty"`
Claims map[string]json.RawMessage `json:"-"`
}
Result uses RFC 7662 §2.2 introspection fields; only active is universally required. The act extension is defined by RFC 8693 §4.1.
func (Result) MarshalJSON ¶
func (*Result) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.