Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2021 Changes in this version + var ContextReference_name = map[int32]string + var ContextReference_value = map[string]int32 + var Direction_name = map[int32]string + var Direction_value = map[string]int32 + var E_FieldRule = &file_capabilities_proto_extTypes[1] + var E_MethodRule = &file_capabilities_proto_extTypes[2] + var E_MsgRule = &file_capabilities_proto_extTypes[0] + var File_capabilities_proto protoreflect.FileDescriptor + var Rule_AuthStatus_name = map[int32]string + var Rule_AuthStatus_value = map[string]int32 + type Capabilities struct + Delegate bool + Fetch bool + Pii bool + Read bool + Write bool + func All() *Capabilities + func Parse(x []string) (*Capabilities, error) + func (*Capabilities) Descriptor() ([]byte, []int) + func (*Capabilities) ProtoMessage() + func (x *Capabilities) AsBits() int64 + func (x *Capabilities) GetDelegate() bool + func (x *Capabilities) GetFetch() bool + func (x *Capabilities) GetPii() bool + func (x *Capabilities) GetRead() bool + func (x *Capabilities) GetWrite() bool + func (x *Capabilities) IsSubsetOf(other *Capabilities) bool + func (x *Capabilities) Pretty() string + func (x *Capabilities) ProtoReflect() protoreflect.Message + func (x *Capabilities) Reset() + func (x *Capabilities) Scan(v interface{}) error + func (x *Capabilities) String() string + func (x *Capabilities) Value() (driver.Value, error) + func (x *Capabilities) Zero() bool + type ContextReference int32 + const ContextReference_INVALID_CONTEXT + const ContextReference_SCOPE_PRINCIPAL + const ContextReference_SCOPE_TENANT + const ContextReference_SESSION_PRINCIPAL + const ContextReference_UNAUTHENTICATED_PRINCIPAL + const ContextReference_VHOST_TENANT + func (ContextReference) Descriptor() protoreflect.EnumDescriptor + func (ContextReference) EnumDescriptor() ([]byte, []int) + func (ContextReference) Type() protoreflect.EnumType + func (x ContextReference) Enum() *ContextReference + func (x ContextReference) Number() protoreflect.EnumNumber + func (x ContextReference) String() string + type Direction int32 + const Direction_INVALID_DIRECTION + const Direction_REQUEST + const Direction_RESPONSE + func (Direction) Descriptor() protoreflect.EnumDescriptor + func (Direction) EnumDescriptor() ([]byte, []int) + func (Direction) Type() protoreflect.EnumType + func (x Direction) Enum() *Direction + func (x Direction) Number() protoreflect.EnumNumber + func (x Direction) String() string + type LocationReference struct + Path *Reference + TenantId *Reference + func (*LocationReference) Descriptor() ([]byte, []int) + func (*LocationReference) ProtoMessage() + func (x *LocationReference) GetPath() *Reference + func (x *LocationReference) GetTenantId() *Reference + func (x *LocationReference) ProtoReflect() protoreflect.Message + func (x *LocationReference) Reset() + func (x *LocationReference) String() string + type Reference struct + Kind isReference_Kind + func (*Reference) Descriptor() ([]byte, []int) + func (*Reference) ProtoMessage() + func (m *Reference) GetKind() isReference_Kind + func (x *Reference) GetContext() ContextReference + func (x *Reference) GetField() int32 + func (x *Reference) GetStringValue() string + func (x *Reference) ProtoReflect() protoreflect.Message + func (x *Reference) Reset() + func (x *Reference) String() string + type Reference_Context struct + Context ContextReference + type Reference_Field struct + Field int32 + type Reference_StringValue struct + StringValue string + type Rule struct + Kind isRule_Kind + Message string + func (*Rule) Descriptor() ([]byte, []int) + func (*Rule) ProtoMessage() + func (m *Rule) GetKind() isRule_Kind + func (x *Rule) GetAnd() *Rule_And + func (x *Rule) GetAuthStatus() Rule_AuthStatus + func (x *Rule) GetDirection() Direction + func (x *Rule) GetEq() *Rule_Eq + func (x *Rule) GetIsSubset() bool + func (x *Rule) GetMay() *SessionReference + func (x *Rule) GetMessage() string + func (x *Rule) GetNever() bool + func (x *Rule) GetNot() *Rule + func (x *Rule) GetOr() *Rule_Or + func (x *Rule) ProtoReflect() protoreflect.Message + func (x *Rule) Reset() + func (x *Rule) String() string + type Rule_And struct + Rule []*Rule + func (*Rule_And) Descriptor() ([]byte, []int) + func (*Rule_And) ProtoMessage() + func (x *Rule_And) GetRule() []*Rule + func (x *Rule_And) ProtoReflect() protoreflect.Message + func (x *Rule_And) Reset() + func (x *Rule_And) String() string + type Rule_And_ struct + And *Rule_And + type Rule_AuthStatus int32 + const Rule_LOGGED_IN + const Rule_PUBLIC + const Rule_SUPER + func (Rule_AuthStatus) Descriptor() protoreflect.EnumDescriptor + func (Rule_AuthStatus) EnumDescriptor() ([]byte, []int) + func (Rule_AuthStatus) Type() protoreflect.EnumType + func (x Rule_AuthStatus) Enum() *Rule_AuthStatus + func (x Rule_AuthStatus) Number() protoreflect.EnumNumber + func (x Rule_AuthStatus) String() string + type Rule_AuthStatus_ struct + AuthStatus Rule_AuthStatus + type Rule_Direction struct + Direction Direction + type Rule_Eq struct + A *Reference + B *Reference + func (*Rule_Eq) Descriptor() ([]byte, []int) + func (*Rule_Eq) ProtoMessage() + func (x *Rule_Eq) GetA() *Reference + func (x *Rule_Eq) GetB() *Reference + func (x *Rule_Eq) ProtoReflect() protoreflect.Message + func (x *Rule_Eq) Reset() + func (x *Rule_Eq) String() string + type Rule_Eq_ struct + Eq *Rule_Eq + type Rule_IsSubset struct + IsSubset bool + type Rule_May struct + May *SessionReference + type Rule_Never struct + Never bool + type Rule_Not struct + Not *Rule + type Rule_Or struct + Rule []*Rule + func (*Rule_Or) Descriptor() ([]byte, []int) + func (*Rule_Or) ProtoMessage() + func (x *Rule_Or) GetRule() []*Rule + func (x *Rule_Or) ProtoReflect() protoreflect.Message + func (x *Rule_Or) Reset() + func (x *Rule_Or) String() string + type Rule_Or_ struct + Or *Rule_Or + type ScopeReference struct + Kind isScopeReference_Kind + func (*ScopeReference) Descriptor() ([]byte, []int) + func (*ScopeReference) ProtoMessage() + func (m *ScopeReference) GetKind() isScopeReference_Kind + func (x *ScopeReference) GetOnLocation() *LocationReference + func (x *ScopeReference) GetOnPrincipal() *Reference + func (x *ScopeReference) GetSuperToken() bool + func (x *ScopeReference) ProtoReflect() protoreflect.Message + func (x *ScopeReference) Reset() + func (x *ScopeReference) String() string + type ScopeReference_OnLocation struct + OnLocation *LocationReference + type ScopeReference_OnPrincipal struct + OnPrincipal *Reference + type ScopeReference_SuperToken struct + SuperToken bool + type SessionReference struct + Capabilities *Capabilities + Scope *ScopeReference + func (*SessionReference) Descriptor() ([]byte, []int) + func (*SessionReference) ProtoMessage() + func (x *SessionReference) GetCapabilities() *Capabilities + func (x *SessionReference) GetScope() *ScopeReference + func (x *SessionReference) ProtoReflect() protoreflect.Message + func (x *SessionReference) Reset() + func (x *SessionReference) String() string