Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOwnership = errors.New("resource registration ownership conflict") )
Functions ¶
Types ¶
type PermissionSet ¶
func (PermissionSet) Validate ¶
func (s PermissionSet) Validate() error
type Spec ¶
type Spec struct {
Kind string `json:"kind"`
UID string `json:"uid"`
Audience string `json:"audience"`
Bindings map[string]PermissionSet `json:"bindings,omitempty"`
Scopes []string `json:"scopes,omitempty"`
}
Spec is one resource server to register. Audience is a resource indicator as RFC 8707 §2 defines it, and Scopes are scope tokens in the RFC 6749 §3.3 grammar.
Click to show internal directories.
Click to hide internal directories.