Documentation
¶
Index ¶
- func Grant(agentID, itemID string) string
- func NewApproval() (string, error)
- func NewGroup() (string, error)
- func NewItem() (string, error)
- func NewOrg() (string, error)
- func NewRequest() (string, error)
- func NewSession() (string, error)
- func Principal(s string) bool
- func UUID(s string) bool
- func Valid(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrg ¶
NewOrg is a uuid v4 — the same join-key shape Kratos organization_id and the Keto object use.
func NewRequest ¶
NewRequest is a random approval-request row id — names must survive same-nanosecond files and clock rewinds, so time is not the entropy.
func NewSession ¶
NewSession is a random row id for a sandbox session. Not the bearer token.
Types ¶
This section is empty.