Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrOwnership = errors.New("resource registration ownership conflict") )
Functions ¶
Types ¶
type Backend ¶
Backend holds each owner's resource servers. Ensure leaves the owner holding exactly the audiences of its Spec, so a Spec with none removes them all.
type PermissionSet ¶
func (PermissionSet) Validate ¶
func (s PermissionSet) Validate() error
type Spec ¶
type Spec struct {
Kind string `json:"kind"`
UID string `json:"uid"`
Audiences []string `json:"audiences,omitempty"`
Bindings map[string]PermissionSet `json:"bindings,omitempty"`
Scopes []string `json:"scopes,omitempty"`
}
Spec is every resource server its owner, a Kind and UID, holds. Each of Audiences is a resource indicator as RFC 8707 §2 defines it, and Scopes are the scope tokens in the RFC 6749 §3.3 grammar that each of them holds.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package conformance tests a live issuer and adapter against the rules of package profile.
|
Package conformance tests a live issuer and adapter against the rules of package profile. |
|
internal
|
|
|
Package invitation defines Holon's invitation operation.
|
Package invitation defines Holon's invitation operation. |
|
Package profile states what Holon requires of an identity backend, so a backend is built against the standards and not against one provider.
|
Package profile states what Holon requires of an identity backend, so a backend is built against the standards and not against one provider. |
|
Package scim is the part of SCIM 2.0 Holon needs from an identity backend: users, the groups that stand for permission sets, and what the backend can do.
|
Package scim is the part of SCIM 2.0 Holon needs from an identity backend: users, the groups that stand for permission sets, and what the backend can do. |