Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthorizationAPIServer(s grpc.ServiceRegistrar, srv AuthorizationAPIServer)
- type AuthorizationAPIClient
- type AuthorizationAPIServer
- type DigitalTwin
- func (*DigitalTwin) Descriptor() ([]byte, []int)deprecated
- func (x *DigitalTwin) GetId() string
- func (*DigitalTwin) ProtoMessage()
- func (x *DigitalTwin) ProtoReflect() protoreflect.Message
- func (x *DigitalTwin) Reset()
- func (x *DigitalTwin) String() string
- func (m *DigitalTwin) Validate() error
- func (m *DigitalTwin) ValidateAll() error
- type DigitalTwinMultiError
- type DigitalTwinValidationError
- func (e DigitalTwinValidationError) Cause() error
- func (e DigitalTwinValidationError) Error() string
- func (e DigitalTwinValidationError) ErrorName() string
- func (e DigitalTwinValidationError) Field() string
- func (e DigitalTwinValidationError) Key() bool
- func (e DigitalTwinValidationError) Reason() string
- type ExternalID
- func (*ExternalID) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalID) GetExternalId() string
- func (x *ExternalID) GetType() string
- func (*ExternalID) ProtoMessage()
- func (x *ExternalID) ProtoReflect() protoreflect.Message
- func (x *ExternalID) Reset()
- func (x *ExternalID) String() string
- func (m *ExternalID) Validate() error
- func (m *ExternalID) ValidateAll() error
- type ExternalIDMultiError
- type ExternalIDValidationError
- type InputParam
- func (*InputParam) Descriptor() ([]byte, []int)deprecated
- func (x *InputParam) GetBoolValue() bool
- func (x *InputParam) GetDoubleValue() float64
- func (x *InputParam) GetIntegerValue() int64
- func (x *InputParam) GetStringValue() string
- func (m *InputParam) GetValue() isInputParam_Value
- func (*InputParam) ProtoMessage()
- func (x *InputParam) ProtoReflect() protoreflect.Message
- func (x *InputParam) Reset()
- func (x *InputParam) String() string
- func (m *InputParam) Validate() error
- func (m *InputParam) ValidateAll() error
- type InputParamMultiError
- type InputParamValidationError
- type InputParam_BoolValue
- type InputParam_DoubleValue
- type InputParam_IntegerValue
- type InputParam_StringValue
- type IsAuthorizedRequest
- func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedRequest) GetInputParams() map[string]*InputParam
- func (x *IsAuthorizedRequest) GetPolicyTags() []string
- func (x *IsAuthorizedRequest) GetResources() []*IsAuthorizedRequest_Resource
- func (x *IsAuthorizedRequest) GetSubject() *Subject
- func (*IsAuthorizedRequest) ProtoMessage()
- func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedRequest) Reset()
- func (x *IsAuthorizedRequest) String() string
- func (m *IsAuthorizedRequest) Validate() error
- func (m *IsAuthorizedRequest) ValidateAll() error
- type IsAuthorizedRequestMultiError
- type IsAuthorizedRequestValidationError
- func (e IsAuthorizedRequestValidationError) Cause() error
- func (e IsAuthorizedRequestValidationError) Error() string
- func (e IsAuthorizedRequestValidationError) ErrorName() string
- func (e IsAuthorizedRequestValidationError) Field() string
- func (e IsAuthorizedRequestValidationError) Key() bool
- func (e IsAuthorizedRequestValidationError) Reason() string
- type IsAuthorizedRequest_Resource
- func (*IsAuthorizedRequest_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedRequest_Resource) GetActions() []string
- func (x *IsAuthorizedRequest_Resource) GetExternalId() string
- func (x *IsAuthorizedRequest_Resource) GetType() string
- func (*IsAuthorizedRequest_Resource) ProtoMessage()
- func (x *IsAuthorizedRequest_Resource) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedRequest_Resource) Reset()
- func (x *IsAuthorizedRequest_Resource) String() string
- func (m *IsAuthorizedRequest_Resource) Validate() error
- func (m *IsAuthorizedRequest_Resource) ValidateAll() error
- type IsAuthorizedRequest_ResourceMultiError
- type IsAuthorizedRequest_ResourceValidationError
- func (e IsAuthorizedRequest_ResourceValidationError) Cause() error
- func (e IsAuthorizedRequest_ResourceValidationError) Error() string
- func (e IsAuthorizedRequest_ResourceValidationError) ErrorName() string
- func (e IsAuthorizedRequest_ResourceValidationError) Field() string
- func (e IsAuthorizedRequest_ResourceValidationError) Key() bool
- func (e IsAuthorizedRequest_ResourceValidationError) Reason() string
- type IsAuthorizedResponse
- func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
- func (x *IsAuthorizedResponse) GetDecisions() map[string]*IsAuthorizedResponse_ResourceType
- func (*IsAuthorizedResponse) ProtoMessage()
- func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse) Reset()
- func (x *IsAuthorizedResponse) String() string
- func (m *IsAuthorizedResponse) Validate() error
- func (m *IsAuthorizedResponse) ValidateAll() error
- type IsAuthorizedResponseMultiError
- type IsAuthorizedResponseValidationError
- func (e IsAuthorizedResponseValidationError) Cause() error
- func (e IsAuthorizedResponseValidationError) Error() string
- func (e IsAuthorizedResponseValidationError) ErrorName() string
- func (e IsAuthorizedResponseValidationError) Field() string
- func (e IsAuthorizedResponseValidationError) Key() bool
- func (e IsAuthorizedResponseValidationError) Reason() string
- type IsAuthorizedResponse_Action
- func (*IsAuthorizedResponse_Action) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse_Action) GetAllow() bool
- func (*IsAuthorizedResponse_Action) ProtoMessage()
- func (x *IsAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse_Action) Reset()
- func (x *IsAuthorizedResponse_Action) String() string
- func (m *IsAuthorizedResponse_Action) Validate() error
- func (m *IsAuthorizedResponse_Action) ValidateAll() error
- type IsAuthorizedResponse_ActionMultiError
- type IsAuthorizedResponse_ActionValidationError
- func (e IsAuthorizedResponse_ActionValidationError) Cause() error
- func (e IsAuthorizedResponse_ActionValidationError) Error() string
- func (e IsAuthorizedResponse_ActionValidationError) ErrorName() string
- func (e IsAuthorizedResponse_ActionValidationError) Field() string
- func (e IsAuthorizedResponse_ActionValidationError) Key() bool
- func (e IsAuthorizedResponse_ActionValidationError) Reason() string
- type IsAuthorizedResponse_Resource
- func (*IsAuthorizedResponse_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse_Resource) GetActions() map[string]*IsAuthorizedResponse_Action
- func (*IsAuthorizedResponse_Resource) ProtoMessage()
- func (x *IsAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse_Resource) Reset()
- func (x *IsAuthorizedResponse_Resource) String() string
- func (m *IsAuthorizedResponse_Resource) Validate() error
- func (m *IsAuthorizedResponse_Resource) ValidateAll() error
- type IsAuthorizedResponse_ResourceMultiError
- type IsAuthorizedResponse_ResourceType
- func (*IsAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse_ResourceType) GetResources() map[string]*IsAuthorizedResponse_Resource
- func (*IsAuthorizedResponse_ResourceType) ProtoMessage()
- func (x *IsAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse_ResourceType) Reset()
- func (x *IsAuthorizedResponse_ResourceType) String() string
- func (m *IsAuthorizedResponse_ResourceType) Validate() error
- func (m *IsAuthorizedResponse_ResourceType) ValidateAll() error
- type IsAuthorizedResponse_ResourceTypeMultiError
- type IsAuthorizedResponse_ResourceTypeValidationError
- func (e IsAuthorizedResponse_ResourceTypeValidationError) Cause() error
- func (e IsAuthorizedResponse_ResourceTypeValidationError) Error() string
- func (e IsAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
- func (e IsAuthorizedResponse_ResourceTypeValidationError) Field() string
- func (e IsAuthorizedResponse_ResourceTypeValidationError) Key() bool
- func (e IsAuthorizedResponse_ResourceTypeValidationError) Reason() string
- type IsAuthorizedResponse_ResourceValidationError
- func (e IsAuthorizedResponse_ResourceValidationError) Cause() error
- func (e IsAuthorizedResponse_ResourceValidationError) Error() string
- func (e IsAuthorizedResponse_ResourceValidationError) ErrorName() string
- func (e IsAuthorizedResponse_ResourceValidationError) Field() string
- func (e IsAuthorizedResponse_ResourceValidationError) Key() bool
- func (e IsAuthorizedResponse_ResourceValidationError) Reason() string
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetType() string
- func (x *Property) GetValue() *v1beta1.Value
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- func (m *Property) Validate() error
- func (m *Property) ValidateAll() error
- type PropertyMultiError
- type PropertyValidationError
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetDigitalTwinId() *DigitalTwin
- func (x *Subject) GetDigitalTwinIdentifier() *v1beta2.DigitalTwinIdentifierdeprecated
- func (x *Subject) GetDigitalTwinProperty() *Property
- func (x *Subject) GetExternalId() *ExternalID
- func (x *Subject) GetIndykiteAccessToken() string
- func (m *Subject) GetSubject() isSubject_Subject
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (x *Subject) String() string
- func (m *Subject) Validate() error
- func (m *Subject) ValidateAll() error
- type SubjectMultiError
- type SubjectValidationError
- type Subject_DigitalTwinId
- type Subject_DigitalTwinIdentifier
- type Subject_DigitalTwinProperty
- type Subject_ExternalId
- type Subject_IndykiteAccessToken
- type UnimplementedAuthorizationAPIServer
- func (UnimplementedAuthorizationAPIServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
- func (UnimplementedAuthorizationAPIServer) WhatAuthorized(context.Context, *WhatAuthorizedRequest) (*WhatAuthorizedResponse, error)
- func (UnimplementedAuthorizationAPIServer) WhoAuthorized(context.Context, *WhoAuthorizedRequest) (*WhoAuthorizedResponse, error)
- type UnsafeAuthorizationAPIServer
- type WhatAuthorizedRequest
- func (*WhatAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedRequest) GetInputParams() map[string]*InputParam
- func (x *WhatAuthorizedRequest) GetPolicyTags() []string
- func (x *WhatAuthorizedRequest) GetResourceTypes() []*WhatAuthorizedRequest_ResourceType
- func (x *WhatAuthorizedRequest) GetSubject() *Subject
- func (*WhatAuthorizedRequest) ProtoMessage()
- func (x *WhatAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedRequest) Reset()
- func (x *WhatAuthorizedRequest) String() string
- func (m *WhatAuthorizedRequest) Validate() error
- func (m *WhatAuthorizedRequest) ValidateAll() error
- type WhatAuthorizedRequestMultiError
- type WhatAuthorizedRequestValidationError
- func (e WhatAuthorizedRequestValidationError) Cause() error
- func (e WhatAuthorizedRequestValidationError) Error() string
- func (e WhatAuthorizedRequestValidationError) ErrorName() string
- func (e WhatAuthorizedRequestValidationError) Field() string
- func (e WhatAuthorizedRequestValidationError) Key() bool
- func (e WhatAuthorizedRequestValidationError) Reason() string
- type WhatAuthorizedRequest_ResourceType
- func (*WhatAuthorizedRequest_ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedRequest_ResourceType) GetActions() []string
- func (x *WhatAuthorizedRequest_ResourceType) GetType() string
- func (*WhatAuthorizedRequest_ResourceType) ProtoMessage()
- func (x *WhatAuthorizedRequest_ResourceType) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedRequest_ResourceType) Reset()
- func (x *WhatAuthorizedRequest_ResourceType) String() string
- func (m *WhatAuthorizedRequest_ResourceType) Validate() error
- func (m *WhatAuthorizedRequest_ResourceType) ValidateAll() error
- type WhatAuthorizedRequest_ResourceTypeMultiError
- type WhatAuthorizedRequest_ResourceTypeValidationError
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) Cause() error
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) Error() string
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) ErrorName() string
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) Field() string
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) Key() bool
- func (e WhatAuthorizedRequest_ResourceTypeValidationError) Reason() string
- type WhatAuthorizedResponse
- func (*WhatAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
- func (x *WhatAuthorizedResponse) GetDecisions() map[string]*WhatAuthorizedResponse_ResourceType
- func (*WhatAuthorizedResponse) ProtoMessage()
- func (x *WhatAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedResponse) Reset()
- func (x *WhatAuthorizedResponse) String() string
- func (m *WhatAuthorizedResponse) Validate() error
- func (m *WhatAuthorizedResponse) ValidateAll() error
- type WhatAuthorizedResponseMultiError
- type WhatAuthorizedResponseValidationError
- func (e WhatAuthorizedResponseValidationError) Cause() error
- func (e WhatAuthorizedResponseValidationError) Error() string
- func (e WhatAuthorizedResponseValidationError) ErrorName() string
- func (e WhatAuthorizedResponseValidationError) Field() string
- func (e WhatAuthorizedResponseValidationError) Key() bool
- func (e WhatAuthorizedResponseValidationError) Reason() string
- type WhatAuthorizedResponse_Action
- func (*WhatAuthorizedResponse_Action) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedResponse_Action) GetResources() []*WhatAuthorizedResponse_Resource
- func (*WhatAuthorizedResponse_Action) ProtoMessage()
- func (x *WhatAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedResponse_Action) Reset()
- func (x *WhatAuthorizedResponse_Action) String() string
- func (m *WhatAuthorizedResponse_Action) Validate() error
- func (m *WhatAuthorizedResponse_Action) ValidateAll() error
- type WhatAuthorizedResponse_ActionMultiError
- type WhatAuthorizedResponse_ActionValidationError
- func (e WhatAuthorizedResponse_ActionValidationError) Cause() error
- func (e WhatAuthorizedResponse_ActionValidationError) Error() string
- func (e WhatAuthorizedResponse_ActionValidationError) ErrorName() string
- func (e WhatAuthorizedResponse_ActionValidationError) Field() string
- func (e WhatAuthorizedResponse_ActionValidationError) Key() bool
- func (e WhatAuthorizedResponse_ActionValidationError) Reason() string
- type WhatAuthorizedResponse_Resource
- func (*WhatAuthorizedResponse_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedResponse_Resource) GetExternalId() string
- func (*WhatAuthorizedResponse_Resource) ProtoMessage()
- func (x *WhatAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedResponse_Resource) Reset()
- func (x *WhatAuthorizedResponse_Resource) String() string
- func (m *WhatAuthorizedResponse_Resource) Validate() error
- func (m *WhatAuthorizedResponse_Resource) ValidateAll() error
- type WhatAuthorizedResponse_ResourceMultiError
- type WhatAuthorizedResponse_ResourceType
- func (*WhatAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *WhatAuthorizedResponse_ResourceType) GetActions() map[string]*WhatAuthorizedResponse_Action
- func (*WhatAuthorizedResponse_ResourceType) ProtoMessage()
- func (x *WhatAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
- func (x *WhatAuthorizedResponse_ResourceType) Reset()
- func (x *WhatAuthorizedResponse_ResourceType) String() string
- func (m *WhatAuthorizedResponse_ResourceType) Validate() error
- func (m *WhatAuthorizedResponse_ResourceType) ValidateAll() error
- type WhatAuthorizedResponse_ResourceTypeMultiError
- type WhatAuthorizedResponse_ResourceTypeValidationError
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) Cause() error
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) Error() string
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) Field() string
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) Key() bool
- func (e WhatAuthorizedResponse_ResourceTypeValidationError) Reason() string
- type WhatAuthorizedResponse_ResourceValidationError
- func (e WhatAuthorizedResponse_ResourceValidationError) Cause() error
- func (e WhatAuthorizedResponse_ResourceValidationError) Error() string
- func (e WhatAuthorizedResponse_ResourceValidationError) ErrorName() string
- func (e WhatAuthorizedResponse_ResourceValidationError) Field() string
- func (e WhatAuthorizedResponse_ResourceValidationError) Key() bool
- func (e WhatAuthorizedResponse_ResourceValidationError) Reason() string
- type WhoAuthorizedRequest
- func (*WhoAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedRequest) GetInputParams() map[string]*InputParam
- func (x *WhoAuthorizedRequest) GetPolicyTags() []string
- func (x *WhoAuthorizedRequest) GetResources() []*WhoAuthorizedRequest_Resource
- func (*WhoAuthorizedRequest) ProtoMessage()
- func (x *WhoAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedRequest) Reset()
- func (x *WhoAuthorizedRequest) String() string
- func (m *WhoAuthorizedRequest) Validate() error
- func (m *WhoAuthorizedRequest) ValidateAll() error
- type WhoAuthorizedRequestMultiError
- type WhoAuthorizedRequestValidationError
- func (e WhoAuthorizedRequestValidationError) Cause() error
- func (e WhoAuthorizedRequestValidationError) Error() string
- func (e WhoAuthorizedRequestValidationError) ErrorName() string
- func (e WhoAuthorizedRequestValidationError) Field() string
- func (e WhoAuthorizedRequestValidationError) Key() bool
- func (e WhoAuthorizedRequestValidationError) Reason() string
- type WhoAuthorizedRequest_Resource
- func (*WhoAuthorizedRequest_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedRequest_Resource) GetActions() []string
- func (x *WhoAuthorizedRequest_Resource) GetExternalId() string
- func (x *WhoAuthorizedRequest_Resource) GetType() string
- func (*WhoAuthorizedRequest_Resource) ProtoMessage()
- func (x *WhoAuthorizedRequest_Resource) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedRequest_Resource) Reset()
- func (x *WhoAuthorizedRequest_Resource) String() string
- func (m *WhoAuthorizedRequest_Resource) Validate() error
- func (m *WhoAuthorizedRequest_Resource) ValidateAll() error
- type WhoAuthorizedRequest_ResourceMultiError
- type WhoAuthorizedRequest_ResourceValidationError
- func (e WhoAuthorizedRequest_ResourceValidationError) Cause() error
- func (e WhoAuthorizedRequest_ResourceValidationError) Error() string
- func (e WhoAuthorizedRequest_ResourceValidationError) ErrorName() string
- func (e WhoAuthorizedRequest_ResourceValidationError) Field() string
- func (e WhoAuthorizedRequest_ResourceValidationError) Key() bool
- func (e WhoAuthorizedRequest_ResourceValidationError) Reason() string
- type WhoAuthorizedResponse
- func (*WhoAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
- func (x *WhoAuthorizedResponse) GetDecisions() map[string]*WhoAuthorizedResponse_ResourceType
- func (*WhoAuthorizedResponse) ProtoMessage()
- func (x *WhoAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedResponse) Reset()
- func (x *WhoAuthorizedResponse) String() string
- func (m *WhoAuthorizedResponse) Validate() error
- func (m *WhoAuthorizedResponse) ValidateAll() error
- type WhoAuthorizedResponseMultiError
- type WhoAuthorizedResponseValidationError
- func (e WhoAuthorizedResponseValidationError) Cause() error
- func (e WhoAuthorizedResponseValidationError) Error() string
- func (e WhoAuthorizedResponseValidationError) ErrorName() string
- func (e WhoAuthorizedResponseValidationError) Field() string
- func (e WhoAuthorizedResponseValidationError) Key() bool
- func (e WhoAuthorizedResponseValidationError) Reason() string
- type WhoAuthorizedResponse_Action
- func (*WhoAuthorizedResponse_Action) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedResponse_Action) GetSubjects() []*WhoAuthorizedResponse_Subject
- func (*WhoAuthorizedResponse_Action) ProtoMessage()
- func (x *WhoAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedResponse_Action) Reset()
- func (x *WhoAuthorizedResponse_Action) String() string
- func (m *WhoAuthorizedResponse_Action) Validate() error
- func (m *WhoAuthorizedResponse_Action) ValidateAll() error
- type WhoAuthorizedResponse_ActionMultiError
- type WhoAuthorizedResponse_ActionValidationError
- func (e WhoAuthorizedResponse_ActionValidationError) Cause() error
- func (e WhoAuthorizedResponse_ActionValidationError) Error() string
- func (e WhoAuthorizedResponse_ActionValidationError) ErrorName() string
- func (e WhoAuthorizedResponse_ActionValidationError) Field() string
- func (e WhoAuthorizedResponse_ActionValidationError) Key() bool
- func (e WhoAuthorizedResponse_ActionValidationError) Reason() string
- type WhoAuthorizedResponse_Resource
- func (*WhoAuthorizedResponse_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedResponse_Resource) GetActions() map[string]*WhoAuthorizedResponse_Action
- func (*WhoAuthorizedResponse_Resource) ProtoMessage()
- func (x *WhoAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedResponse_Resource) Reset()
- func (x *WhoAuthorizedResponse_Resource) String() string
- func (m *WhoAuthorizedResponse_Resource) Validate() error
- func (m *WhoAuthorizedResponse_Resource) ValidateAll() error
- type WhoAuthorizedResponse_ResourceMultiError
- type WhoAuthorizedResponse_ResourceType
- func (*WhoAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedResponse_ResourceType) GetResources() map[string]*WhoAuthorizedResponse_Resource
- func (*WhoAuthorizedResponse_ResourceType) ProtoMessage()
- func (x *WhoAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedResponse_ResourceType) Reset()
- func (x *WhoAuthorizedResponse_ResourceType) String() string
- func (m *WhoAuthorizedResponse_ResourceType) Validate() error
- func (m *WhoAuthorizedResponse_ResourceType) ValidateAll() error
- type WhoAuthorizedResponse_ResourceTypeMultiError
- type WhoAuthorizedResponse_ResourceTypeValidationError
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) Cause() error
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) Error() string
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) Field() string
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) Key() bool
- func (e WhoAuthorizedResponse_ResourceTypeValidationError) Reason() string
- type WhoAuthorizedResponse_ResourceValidationError
- func (e WhoAuthorizedResponse_ResourceValidationError) Cause() error
- func (e WhoAuthorizedResponse_ResourceValidationError) Error() string
- func (e WhoAuthorizedResponse_ResourceValidationError) ErrorName() string
- func (e WhoAuthorizedResponse_ResourceValidationError) Field() string
- func (e WhoAuthorizedResponse_ResourceValidationError) Key() bool
- func (e WhoAuthorizedResponse_ResourceValidationError) Reason() string
- type WhoAuthorizedResponse_Subject
- func (*WhoAuthorizedResponse_Subject) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAuthorizedResponse_Subject) GetExternalId() string
- func (*WhoAuthorizedResponse_Subject) ProtoMessage()
- func (x *WhoAuthorizedResponse_Subject) ProtoReflect() protoreflect.Message
- func (x *WhoAuthorizedResponse_Subject) Reset()
- func (x *WhoAuthorizedResponse_Subject) String() string
- func (m *WhoAuthorizedResponse_Subject) Validate() error
- func (m *WhoAuthorizedResponse_Subject) ValidateAll() error
- type WhoAuthorizedResponse_SubjectMultiError
- type WhoAuthorizedResponse_SubjectValidationError
- func (e WhoAuthorizedResponse_SubjectValidationError) Cause() error
- func (e WhoAuthorizedResponse_SubjectValidationError) Error() string
- func (e WhoAuthorizedResponse_SubjectValidationError) ErrorName() string
- func (e WhoAuthorizedResponse_SubjectValidationError) Field() string
- func (e WhoAuthorizedResponse_SubjectValidationError) Key() bool
- func (e WhoAuthorizedResponse_SubjectValidationError) Reason() string
Constants ¶
const ( AuthorizationAPI_IsAuthorized_FullMethodName = "/indykite.authorization.v1beta1.AuthorizationAPI/IsAuthorized" AuthorizationAPI_WhatAuthorized_FullMethodName = "/indykite.authorization.v1beta1.AuthorizationAPI/WhatAuthorized" AuthorizationAPI_WhoAuthorized_FullMethodName = "/indykite.authorization.v1beta1.AuthorizationAPI/WhoAuthorized" )
Variables ¶
var AuthorizationAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "indykite.authorization.v1beta1.AuthorizationAPI", HandlerType: (*AuthorizationAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsAuthorized", Handler: _AuthorizationAPI_IsAuthorized_Handler, }, { MethodName: "WhatAuthorized", Handler: _AuthorizationAPI_WhatAuthorized_Handler, }, { MethodName: "WhoAuthorized", Handler: _AuthorizationAPI_WhoAuthorized_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "indykite/authorization/v1beta1/authorization_service.proto", }
AuthorizationAPI_ServiceDesc is the grpc.ServiceDesc for AuthorizationAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthorizationAPIServer ¶
func RegisterAuthorizationAPIServer(s grpc.ServiceRegistrar, srv AuthorizationAPIServer)
Types ¶
type AuthorizationAPIClient ¶
type AuthorizationAPIClient interface { IsAuthorized(ctx context.Context, in *IsAuthorizedRequest, opts ...grpc.CallOption) (*IsAuthorizedResponse, error) WhatAuthorized(ctx context.Context, in *WhatAuthorizedRequest, opts ...grpc.CallOption) (*WhatAuthorizedResponse, error) WhoAuthorized(ctx context.Context, in *WhoAuthorizedRequest, opts ...grpc.CallOption) (*WhoAuthorizedResponse, error) }
AuthorizationAPIClient is the client API for AuthorizationAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthorizationAPIClient ¶
func NewAuthorizationAPIClient(cc grpc.ClientConnInterface) AuthorizationAPIClient
type AuthorizationAPIServer ¶
type AuthorizationAPIServer interface { IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error) WhatAuthorized(context.Context, *WhatAuthorizedRequest) (*WhatAuthorizedResponse, error) WhoAuthorized(context.Context, *WhoAuthorizedRequest) (*WhoAuthorizedResponse, error) }
AuthorizationAPIServer is the server API for AuthorizationAPI service. All implementations should embed UnimplementedAuthorizationAPIServer for forward compatibility
type DigitalTwin ¶ added in v0.17.0
type DigitalTwin struct { // Id the unique credential identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
DigitalTwin represents a digital entity.
func (*DigitalTwin) Descriptor
deprecated
added in
v0.17.0
func (*DigitalTwin) Descriptor() ([]byte, []int)
Deprecated: Use DigitalTwin.ProtoReflect.Descriptor instead.
func (*DigitalTwin) GetId ¶ added in v0.17.0
func (x *DigitalTwin) GetId() string
func (*DigitalTwin) ProtoMessage ¶ added in v0.17.0
func (*DigitalTwin) ProtoMessage()
func (*DigitalTwin) ProtoReflect ¶ added in v0.17.0
func (x *DigitalTwin) ProtoReflect() protoreflect.Message
func (*DigitalTwin) Reset ¶ added in v0.17.0
func (x *DigitalTwin) Reset()
func (*DigitalTwin) String ¶ added in v0.17.0
func (x *DigitalTwin) String() string
func (*DigitalTwin) Validate ¶ added in v0.17.0
func (m *DigitalTwin) Validate() error
Validate checks the field values on DigitalTwin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DigitalTwin) ValidateAll ¶ added in v0.17.0
func (m *DigitalTwin) ValidateAll() error
ValidateAll checks the field values on DigitalTwin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DigitalTwinMultiError, or nil if none found.
type DigitalTwinMultiError ¶ added in v0.17.0
type DigitalTwinMultiError []error
DigitalTwinMultiError is an error wrapping multiple validation errors returned by DigitalTwin.ValidateAll() if the designated constraints aren't met.
func (DigitalTwinMultiError) AllErrors ¶ added in v0.17.0
func (m DigitalTwinMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DigitalTwinMultiError) Error ¶ added in v0.17.0
func (m DigitalTwinMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DigitalTwinValidationError ¶ added in v0.17.0
type DigitalTwinValidationError struct {
// contains filtered or unexported fields
}
DigitalTwinValidationError is the validation error returned by DigitalTwin.Validate if the designated constraints aren't met.
func (DigitalTwinValidationError) Cause ¶ added in v0.17.0
func (e DigitalTwinValidationError) Cause() error
Cause function returns cause value.
func (DigitalTwinValidationError) Error ¶ added in v0.17.0
func (e DigitalTwinValidationError) Error() string
Error satisfies the builtin error interface
func (DigitalTwinValidationError) ErrorName ¶ added in v0.17.0
func (e DigitalTwinValidationError) ErrorName() string
ErrorName returns error name.
func (DigitalTwinValidationError) Field ¶ added in v0.17.0
func (e DigitalTwinValidationError) Field() string
Field function returns field value.
func (DigitalTwinValidationError) Key ¶ added in v0.17.0
func (e DigitalTwinValidationError) Key() bool
Key function returns key value.
func (DigitalTwinValidationError) Reason ¶ added in v0.17.0
func (e DigitalTwinValidationError) Reason() string
Reason function returns reason value.
type ExternalID ¶ added in v0.20.0
type ExternalID struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func (*ExternalID) Descriptor
deprecated
added in
v0.20.0
func (*ExternalID) Descriptor() ([]byte, []int)
Deprecated: Use ExternalID.ProtoReflect.Descriptor instead.
func (*ExternalID) GetExternalId ¶ added in v0.20.0
func (x *ExternalID) GetExternalId() string
func (*ExternalID) GetType ¶ added in v0.20.0
func (x *ExternalID) GetType() string
func (*ExternalID) ProtoMessage ¶ added in v0.20.0
func (*ExternalID) ProtoMessage()
func (*ExternalID) ProtoReflect ¶ added in v0.20.0
func (x *ExternalID) ProtoReflect() protoreflect.Message
func (*ExternalID) Reset ¶ added in v0.20.0
func (x *ExternalID) Reset()
func (*ExternalID) String ¶ added in v0.20.0
func (x *ExternalID) String() string
func (*ExternalID) Validate ¶ added in v0.20.0
func (m *ExternalID) Validate() error
Validate checks the field values on ExternalID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExternalID) ValidateAll ¶ added in v0.20.0
func (m *ExternalID) ValidateAll() error
ValidateAll checks the field values on ExternalID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExternalIDMultiError, or nil if none found.
type ExternalIDMultiError ¶ added in v0.20.0
type ExternalIDMultiError []error
ExternalIDMultiError is an error wrapping multiple validation errors returned by ExternalID.ValidateAll() if the designated constraints aren't met.
func (ExternalIDMultiError) AllErrors ¶ added in v0.20.0
func (m ExternalIDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExternalIDMultiError) Error ¶ added in v0.20.0
func (m ExternalIDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExternalIDValidationError ¶ added in v0.20.0
type ExternalIDValidationError struct {
// contains filtered or unexported fields
}
ExternalIDValidationError is the validation error returned by ExternalID.Validate if the designated constraints aren't met.
func (ExternalIDValidationError) Cause ¶ added in v0.20.0
func (e ExternalIDValidationError) Cause() error
Cause function returns cause value.
func (ExternalIDValidationError) Error ¶ added in v0.20.0
func (e ExternalIDValidationError) Error() string
Error satisfies the builtin error interface
func (ExternalIDValidationError) ErrorName ¶ added in v0.20.0
func (e ExternalIDValidationError) ErrorName() string
ErrorName returns error name.
func (ExternalIDValidationError) Field ¶ added in v0.20.0
func (e ExternalIDValidationError) Field() string
Field function returns field value.
func (ExternalIDValidationError) Key ¶ added in v0.20.0
func (e ExternalIDValidationError) Key() bool
Key function returns key value.
func (ExternalIDValidationError) Reason ¶ added in v0.20.0
func (e ExternalIDValidationError) Reason() string
Reason function returns reason value.
type InputParam ¶
type InputParam struct { // Types that are assignable to Value: // // *InputParam_StringValue // *InputParam_BoolValue // *InputParam_IntegerValue // *InputParam_DoubleValue Value isInputParam_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*InputParam) Descriptor
deprecated
func (*InputParam) Descriptor() ([]byte, []int)
Deprecated: Use InputParam.ProtoReflect.Descriptor instead.
func (*InputParam) GetBoolValue ¶
func (x *InputParam) GetBoolValue() bool
func (*InputParam) GetDoubleValue ¶
func (x *InputParam) GetDoubleValue() float64
func (*InputParam) GetIntegerValue ¶
func (x *InputParam) GetIntegerValue() int64
func (*InputParam) GetStringValue ¶
func (x *InputParam) GetStringValue() string
func (*InputParam) GetValue ¶
func (m *InputParam) GetValue() isInputParam_Value
func (*InputParam) ProtoMessage ¶
func (*InputParam) ProtoMessage()
func (*InputParam) ProtoReflect ¶
func (x *InputParam) ProtoReflect() protoreflect.Message
func (*InputParam) Reset ¶
func (x *InputParam) Reset()
func (*InputParam) String ¶
func (x *InputParam) String() string
func (*InputParam) Validate ¶
func (m *InputParam) Validate() error
Validate checks the field values on InputParam with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InputParam) ValidateAll ¶
func (m *InputParam) ValidateAll() error
ValidateAll checks the field values on InputParam with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InputParamMultiError, or nil if none found.
type InputParamMultiError ¶
type InputParamMultiError []error
InputParamMultiError is an error wrapping multiple validation errors returned by InputParam.ValidateAll() if the designated constraints aren't met.
func (InputParamMultiError) AllErrors ¶
func (m InputParamMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InputParamMultiError) Error ¶
func (m InputParamMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InputParamValidationError ¶
type InputParamValidationError struct {
// contains filtered or unexported fields
}
InputParamValidationError is the validation error returned by InputParam.Validate if the designated constraints aren't met.
func (InputParamValidationError) Cause ¶
func (e InputParamValidationError) Cause() error
Cause function returns cause value.
func (InputParamValidationError) Error ¶
func (e InputParamValidationError) Error() string
Error satisfies the builtin error interface
func (InputParamValidationError) ErrorName ¶
func (e InputParamValidationError) ErrorName() string
ErrorName returns error name.
func (InputParamValidationError) Field ¶
func (e InputParamValidationError) Field() string
Field function returns field value.
func (InputParamValidationError) Key ¶
func (e InputParamValidationError) Key() bool
Key function returns key value.
func (InputParamValidationError) Reason ¶
func (e InputParamValidationError) Reason() string
Reason function returns reason value.
type InputParam_BoolValue ¶
type InputParam_BoolValue struct { // A boolean value. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` }
type InputParam_DoubleValue ¶
type InputParam_DoubleValue struct { // A double value. DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type InputParam_IntegerValue ¶
type InputParam_IntegerValue struct { // An integer value. IntegerValue int64 `protobuf:"varint,3,opt,name=integer_value,json=integerValue,proto3,oneof"` }
type InputParam_StringValue ¶
type InputParam_StringValue struct { // A string value. StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` }
type IsAuthorizedRequest ¶
type IsAuthorizedRequest struct { // Subject to check if is authorized to perform given actions. Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // A list of resources to authorize against. Resources []*IsAuthorizedRequest_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // Policy input params InputParams map[string]*InputParam `` /* 182-byte string literal not displayed */ // Only evaluate polices containing provided tags PolicyTags []string `protobuf:"bytes,4,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedRequest) Descriptor
deprecated
func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedRequest) GetInputParams ¶
func (x *IsAuthorizedRequest) GetInputParams() map[string]*InputParam
func (*IsAuthorizedRequest) GetPolicyTags ¶
func (x *IsAuthorizedRequest) GetPolicyTags() []string
func (*IsAuthorizedRequest) GetResources ¶
func (x *IsAuthorizedRequest) GetResources() []*IsAuthorizedRequest_Resource
func (*IsAuthorizedRequest) GetSubject ¶
func (x *IsAuthorizedRequest) GetSubject() *Subject
func (*IsAuthorizedRequest) ProtoMessage ¶
func (*IsAuthorizedRequest) ProtoMessage()
func (*IsAuthorizedRequest) ProtoReflect ¶
func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedRequest) Reset ¶
func (x *IsAuthorizedRequest) Reset()
func (*IsAuthorizedRequest) String ¶
func (x *IsAuthorizedRequest) String() string
func (*IsAuthorizedRequest) Validate ¶
func (m *IsAuthorizedRequest) Validate() error
Validate checks the field values on IsAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedRequest) ValidateAll ¶
func (m *IsAuthorizedRequest) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedRequestMultiError, or nil if none found.
type IsAuthorizedRequestMultiError ¶
type IsAuthorizedRequestMultiError []error
IsAuthorizedRequestMultiError is an error wrapping multiple validation errors returned by IsAuthorizedRequest.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedRequestMultiError) AllErrors ¶
func (m IsAuthorizedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedRequestMultiError) Error ¶
func (m IsAuthorizedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedRequestValidationError ¶
type IsAuthorizedRequestValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedRequestValidationError is the validation error returned by IsAuthorizedRequest.Validate if the designated constraints aren't met.
func (IsAuthorizedRequestValidationError) Cause ¶
func (e IsAuthorizedRequestValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedRequestValidationError) Error ¶
func (e IsAuthorizedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedRequestValidationError) ErrorName ¶
func (e IsAuthorizedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedRequestValidationError) Field ¶
func (e IsAuthorizedRequestValidationError) Field() string
Field function returns field value.
func (IsAuthorizedRequestValidationError) Key ¶
func (e IsAuthorizedRequestValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedRequestValidationError) Reason ¶
func (e IsAuthorizedRequestValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedRequest_Resource ¶
type IsAuthorizedRequest_Resource struct { // Resource external id. ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // Resource type. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // A list of actions the subject want to perform. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
Resource to authorize against.
func (*IsAuthorizedRequest_Resource) Descriptor
deprecated
func (*IsAuthorizedRequest_Resource) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedRequest_Resource.ProtoReflect.Descriptor instead.
func (*IsAuthorizedRequest_Resource) GetActions ¶
func (x *IsAuthorizedRequest_Resource) GetActions() []string
func (*IsAuthorizedRequest_Resource) GetExternalId ¶ added in v0.17.1
func (x *IsAuthorizedRequest_Resource) GetExternalId() string
func (*IsAuthorizedRequest_Resource) GetType ¶
func (x *IsAuthorizedRequest_Resource) GetType() string
func (*IsAuthorizedRequest_Resource) ProtoMessage ¶
func (*IsAuthorizedRequest_Resource) ProtoMessage()
func (*IsAuthorizedRequest_Resource) ProtoReflect ¶
func (x *IsAuthorizedRequest_Resource) ProtoReflect() protoreflect.Message
func (*IsAuthorizedRequest_Resource) Reset ¶
func (x *IsAuthorizedRequest_Resource) Reset()
func (*IsAuthorizedRequest_Resource) String ¶
func (x *IsAuthorizedRequest_Resource) String() string
func (*IsAuthorizedRequest_Resource) Validate ¶
func (m *IsAuthorizedRequest_Resource) Validate() error
Validate checks the field values on IsAuthorizedRequest_Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedRequest_Resource) ValidateAll ¶
func (m *IsAuthorizedRequest_Resource) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedRequest_Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedRequest_ResourceMultiError, or nil if none found.
type IsAuthorizedRequest_ResourceMultiError ¶
type IsAuthorizedRequest_ResourceMultiError []error
IsAuthorizedRequest_ResourceMultiError is an error wrapping multiple validation errors returned by IsAuthorizedRequest_Resource.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedRequest_ResourceMultiError) AllErrors ¶
func (m IsAuthorizedRequest_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedRequest_ResourceMultiError) Error ¶
func (m IsAuthorizedRequest_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedRequest_ResourceValidationError ¶
type IsAuthorizedRequest_ResourceValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedRequest_ResourceValidationError is the validation error returned by IsAuthorizedRequest_Resource.Validate if the designated constraints aren't met.
func (IsAuthorizedRequest_ResourceValidationError) Cause ¶
func (e IsAuthorizedRequest_ResourceValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedRequest_ResourceValidationError) Error ¶
func (e IsAuthorizedRequest_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedRequest_ResourceValidationError) ErrorName ¶
func (e IsAuthorizedRequest_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedRequest_ResourceValidationError) Field ¶
func (e IsAuthorizedRequest_ResourceValidationError) Field() string
Field function returns field value.
func (IsAuthorizedRequest_ResourceValidationError) Key ¶
func (e IsAuthorizedRequest_ResourceValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedRequest_ResourceValidationError) Reason ¶
func (e IsAuthorizedRequest_ResourceValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedResponse ¶
type IsAuthorizedResponse struct { // Time the decision was made. DecisionTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=decision_time,json=decisionTime,proto3" json:"decision_time,omitempty"` // Map with resource type as key. Decisions map[string]*IsAuthorizedResponse_ResourceType `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IsAuthorizedResponse) Descriptor
deprecated
func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse) GetDecisionTime ¶
func (x *IsAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
func (*IsAuthorizedResponse) GetDecisions ¶
func (x *IsAuthorizedResponse) GetDecisions() map[string]*IsAuthorizedResponse_ResourceType
func (*IsAuthorizedResponse) ProtoMessage ¶
func (*IsAuthorizedResponse) ProtoMessage()
func (*IsAuthorizedResponse) ProtoReflect ¶
func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse) Reset ¶
func (x *IsAuthorizedResponse) Reset()
func (*IsAuthorizedResponse) String ¶
func (x *IsAuthorizedResponse) String() string
func (*IsAuthorizedResponse) Validate ¶
func (m *IsAuthorizedResponse) Validate() error
Validate checks the field values on IsAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedResponse) ValidateAll ¶
func (m *IsAuthorizedResponse) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedResponseMultiError, or nil if none found.
type IsAuthorizedResponseMultiError ¶
type IsAuthorizedResponseMultiError []error
IsAuthorizedResponseMultiError is an error wrapping multiple validation errors returned by IsAuthorizedResponse.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedResponseMultiError) AllErrors ¶
func (m IsAuthorizedResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedResponseMultiError) Error ¶
func (m IsAuthorizedResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedResponseValidationError ¶
type IsAuthorizedResponseValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedResponseValidationError is the validation error returned by IsAuthorizedResponse.Validate if the designated constraints aren't met.
func (IsAuthorizedResponseValidationError) Cause ¶
func (e IsAuthorizedResponseValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedResponseValidationError) Error ¶
func (e IsAuthorizedResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedResponseValidationError) ErrorName ¶
func (e IsAuthorizedResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedResponseValidationError) Field ¶
func (e IsAuthorizedResponseValidationError) Field() string
Field function returns field value.
func (IsAuthorizedResponseValidationError) Key ¶
func (e IsAuthorizedResponseValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedResponseValidationError) Reason ¶
func (e IsAuthorizedResponseValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedResponse_Action ¶
type IsAuthorizedResponse_Action struct { Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedResponse_Action) Descriptor
deprecated
func (*IsAuthorizedResponse_Action) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse_Action.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse_Action) GetAllow ¶
func (x *IsAuthorizedResponse_Action) GetAllow() bool
func (*IsAuthorizedResponse_Action) ProtoMessage ¶
func (*IsAuthorizedResponse_Action) ProtoMessage()
func (*IsAuthorizedResponse_Action) ProtoReflect ¶
func (x *IsAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse_Action) Reset ¶
func (x *IsAuthorizedResponse_Action) Reset()
func (*IsAuthorizedResponse_Action) String ¶
func (x *IsAuthorizedResponse_Action) String() string
func (*IsAuthorizedResponse_Action) Validate ¶
func (m *IsAuthorizedResponse_Action) Validate() error
Validate checks the field values on IsAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedResponse_Action) ValidateAll ¶
func (m *IsAuthorizedResponse_Action) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedResponse_ActionMultiError, or nil if none found.
type IsAuthorizedResponse_ActionMultiError ¶
type IsAuthorizedResponse_ActionMultiError []error
IsAuthorizedResponse_ActionMultiError is an error wrapping multiple validation errors returned by IsAuthorizedResponse_Action.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedResponse_ActionMultiError) AllErrors ¶
func (m IsAuthorizedResponse_ActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedResponse_ActionMultiError) Error ¶
func (m IsAuthorizedResponse_ActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedResponse_ActionValidationError ¶
type IsAuthorizedResponse_ActionValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedResponse_ActionValidationError is the validation error returned by IsAuthorizedResponse_Action.Validate if the designated constraints aren't met.
func (IsAuthorizedResponse_ActionValidationError) Cause ¶
func (e IsAuthorizedResponse_ActionValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedResponse_ActionValidationError) Error ¶
func (e IsAuthorizedResponse_ActionValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedResponse_ActionValidationError) ErrorName ¶
func (e IsAuthorizedResponse_ActionValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedResponse_ActionValidationError) Field ¶
func (e IsAuthorizedResponse_ActionValidationError) Field() string
Field function returns field value.
func (IsAuthorizedResponse_ActionValidationError) Key ¶
func (e IsAuthorizedResponse_ActionValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedResponse_ActionValidationError) Reason ¶
func (e IsAuthorizedResponse_ActionValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedResponse_Resource ¶
type IsAuthorizedResponse_Resource struct { // Map with action as key. Actions map[string]*IsAuthorizedResponse_Action `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IsAuthorizedResponse_Resource) Descriptor
deprecated
func (*IsAuthorizedResponse_Resource) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse_Resource.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse_Resource) GetActions ¶
func (x *IsAuthorizedResponse_Resource) GetActions() map[string]*IsAuthorizedResponse_Action
func (*IsAuthorizedResponse_Resource) ProtoMessage ¶
func (*IsAuthorizedResponse_Resource) ProtoMessage()
func (*IsAuthorizedResponse_Resource) ProtoReflect ¶
func (x *IsAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse_Resource) Reset ¶
func (x *IsAuthorizedResponse_Resource) Reset()
func (*IsAuthorizedResponse_Resource) String ¶
func (x *IsAuthorizedResponse_Resource) String() string
func (*IsAuthorizedResponse_Resource) Validate ¶
func (m *IsAuthorizedResponse_Resource) Validate() error
Validate checks the field values on IsAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedResponse_Resource) ValidateAll ¶
func (m *IsAuthorizedResponse_Resource) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedResponse_ResourceMultiError, or nil if none found.
type IsAuthorizedResponse_ResourceMultiError ¶
type IsAuthorizedResponse_ResourceMultiError []error
IsAuthorizedResponse_ResourceMultiError is an error wrapping multiple validation errors returned by IsAuthorizedResponse_Resource.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedResponse_ResourceMultiError) AllErrors ¶
func (m IsAuthorizedResponse_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedResponse_ResourceMultiError) Error ¶
func (m IsAuthorizedResponse_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedResponse_ResourceType ¶
type IsAuthorizedResponse_ResourceType struct { // Map with resource external id as key. Resources map[string]*IsAuthorizedResponse_Resource `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IsAuthorizedResponse_ResourceType) Descriptor
deprecated
func (*IsAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse_ResourceType.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse_ResourceType) GetResources ¶
func (x *IsAuthorizedResponse_ResourceType) GetResources() map[string]*IsAuthorizedResponse_Resource
func (*IsAuthorizedResponse_ResourceType) ProtoMessage ¶
func (*IsAuthorizedResponse_ResourceType) ProtoMessage()
func (*IsAuthorizedResponse_ResourceType) ProtoReflect ¶
func (x *IsAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse_ResourceType) Reset ¶
func (x *IsAuthorizedResponse_ResourceType) Reset()
func (*IsAuthorizedResponse_ResourceType) String ¶
func (x *IsAuthorizedResponse_ResourceType) String() string
func (*IsAuthorizedResponse_ResourceType) Validate ¶
func (m *IsAuthorizedResponse_ResourceType) Validate() error
Validate checks the field values on IsAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsAuthorizedResponse_ResourceType) ValidateAll ¶
func (m *IsAuthorizedResponse_ResourceType) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthorizedResponse_ResourceTypeMultiError, or nil if none found.
type IsAuthorizedResponse_ResourceTypeMultiError ¶
type IsAuthorizedResponse_ResourceTypeMultiError []error
IsAuthorizedResponse_ResourceTypeMultiError is an error wrapping multiple validation errors returned by IsAuthorizedResponse_ResourceType.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedResponse_ResourceTypeMultiError) AllErrors ¶
func (m IsAuthorizedResponse_ResourceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedResponse_ResourceTypeMultiError) Error ¶
func (m IsAuthorizedResponse_ResourceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedResponse_ResourceTypeValidationError ¶
type IsAuthorizedResponse_ResourceTypeValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedResponse_ResourceTypeValidationError is the validation error returned by IsAuthorizedResponse_ResourceType.Validate if the designated constraints aren't met.
func (IsAuthorizedResponse_ResourceTypeValidationError) Cause ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedResponse_ResourceTypeValidationError) Error ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedResponse_ResourceTypeValidationError) ErrorName ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedResponse_ResourceTypeValidationError) Field ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) Field() string
Field function returns field value.
func (IsAuthorizedResponse_ResourceTypeValidationError) Key ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedResponse_ResourceTypeValidationError) Reason ¶
func (e IsAuthorizedResponse_ResourceTypeValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedResponse_ResourceValidationError ¶
type IsAuthorizedResponse_ResourceValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedResponse_ResourceValidationError is the validation error returned by IsAuthorizedResponse_Resource.Validate if the designated constraints aren't met.
func (IsAuthorizedResponse_ResourceValidationError) Cause ¶
func (e IsAuthorizedResponse_ResourceValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedResponse_ResourceValidationError) Error ¶
func (e IsAuthorizedResponse_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedResponse_ResourceValidationError) ErrorName ¶
func (e IsAuthorizedResponse_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedResponse_ResourceValidationError) Field ¶
func (e IsAuthorizedResponse_ResourceValidationError) Field() string
Field function returns field value.
func (IsAuthorizedResponse_ResourceValidationError) Key ¶
func (e IsAuthorizedResponse_ResourceValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedResponse_ResourceValidationError) Reason ¶
func (e IsAuthorizedResponse_ResourceValidationError) Reason() string
Reason function returns reason value.
type Property ¶ added in v0.17.0
type Property struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value *v1beta1.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
added in
v0.17.0
func (*Property) ProtoMessage ¶ added in v0.17.0
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶ added in v0.17.0
func (x *Property) ProtoReflect() protoreflect.Message
func (*Property) Validate ¶ added in v0.17.0
Validate checks the field values on Property with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Property) ValidateAll ¶ added in v0.17.0
ValidateAll checks the field values on Property with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PropertyMultiError, or nil if none found.
type PropertyMultiError ¶ added in v0.17.0
type PropertyMultiError []error
PropertyMultiError is an error wrapping multiple validation errors returned by Property.ValidateAll() if the designated constraints aren't met.
func (PropertyMultiError) AllErrors ¶ added in v0.17.0
func (m PropertyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertyMultiError) Error ¶ added in v0.17.0
func (m PropertyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertyValidationError ¶ added in v0.17.0
type PropertyValidationError struct {
// contains filtered or unexported fields
}
PropertyValidationError is the validation error returned by Property.Validate if the designated constraints aren't met.
func (PropertyValidationError) Cause ¶ added in v0.17.0
func (e PropertyValidationError) Cause() error
Cause function returns cause value.
func (PropertyValidationError) Error ¶ added in v0.17.0
func (e PropertyValidationError) Error() string
Error satisfies the builtin error interface
func (PropertyValidationError) ErrorName ¶ added in v0.17.0
func (e PropertyValidationError) ErrorName() string
ErrorName returns error name.
func (PropertyValidationError) Field ¶ added in v0.17.0
func (e PropertyValidationError) Field() string
Field function returns field value.
func (PropertyValidationError) Key ¶ added in v0.17.0
func (e PropertyValidationError) Key() bool
Key function returns key value.
func (PropertyValidationError) Reason ¶ added in v0.17.0
func (e PropertyValidationError) Reason() string
Reason function returns reason value.
type Subject ¶
type Subject struct { // Types that are assignable to Subject: // // *Subject_DigitalTwinIdentifier // *Subject_DigitalTwinId // *Subject_DigitalTwinProperty // *Subject_IndykiteAccessToken // *Subject_ExternalId Subject isSubject_Subject `protobuf_oneof:"subject"` // contains filtered or unexported fields }
Subject to check if is authorized.
func (*Subject) Descriptor
deprecated
func (*Subject) GetDigitalTwinId ¶ added in v0.17.0
func (x *Subject) GetDigitalTwinId() *DigitalTwin
func (*Subject) GetDigitalTwinIdentifier
deprecated
func (x *Subject) GetDigitalTwinIdentifier() *v1beta2.DigitalTwinIdentifier
Deprecated: Marked as deprecated in indykite/authorization/v1beta1/model.proto.
func (*Subject) GetDigitalTwinProperty ¶ added in v0.17.0
func (*Subject) GetExternalId ¶ added in v0.20.0
func (x *Subject) GetExternalId() *ExternalID
func (*Subject) GetIndykiteAccessToken ¶ added in v0.17.0
func (*Subject) GetSubject ¶
func (m *Subject) GetSubject() isSubject_Subject
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
func (*Subject) Validate ¶
Validate checks the field values on Subject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Subject) ValidateAll ¶
ValidateAll checks the field values on Subject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectMultiError, or nil if none found.
type SubjectMultiError ¶
type SubjectMultiError []error
SubjectMultiError is an error wrapping multiple validation errors returned by Subject.ValidateAll() if the designated constraints aren't met.
func (SubjectMultiError) AllErrors ¶
func (m SubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectMultiError) Error ¶
func (m SubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectValidationError ¶
type SubjectValidationError struct {
// contains filtered or unexported fields
}
SubjectValidationError is the validation error returned by Subject.Validate if the designated constraints aren't met.
func (SubjectValidationError) Cause ¶
func (e SubjectValidationError) Cause() error
Cause function returns cause value.
func (SubjectValidationError) Error ¶
func (e SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectValidationError) ErrorName ¶
func (e SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectValidationError) Field ¶
func (e SubjectValidationError) Field() string
Field function returns field value.
func (SubjectValidationError) Key ¶
func (e SubjectValidationError) Key() bool
Key function returns key value.
func (SubjectValidationError) Reason ¶
func (e SubjectValidationError) Reason() string
Reason function returns reason value.
type Subject_DigitalTwinId ¶ added in v0.17.0
type Subject_DigitalTwinId struct {
DigitalTwinId *DigitalTwin `protobuf:"bytes,2,opt,name=digital_twin_id,json=digitalTwinId,proto3,oneof"`
}
type Subject_DigitalTwinIdentifier ¶
type Subject_DigitalTwinIdentifier struct { // Deprecated: Marked as deprecated in indykite/authorization/v1beta1/model.proto. DigitalTwinIdentifier *v1beta2.DigitalTwinIdentifier `protobuf:"bytes,1,opt,name=digital_twin_identifier,json=digitalTwinIdentifier,proto3,oneof"` }
type Subject_DigitalTwinProperty ¶ added in v0.17.0
type Subject_DigitalTwinProperty struct {
DigitalTwinProperty *Property `protobuf:"bytes,3,opt,name=digital_twin_property,json=digitalTwinProperty,proto3,oneof"`
}
type Subject_ExternalId ¶ added in v0.20.0
type Subject_ExternalId struct {
ExternalId *ExternalID `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3,oneof"`
}
type Subject_IndykiteAccessToken ¶ added in v0.17.0
type Subject_IndykiteAccessToken struct {
IndykiteAccessToken string `protobuf:"bytes,4,opt,name=indykite_access_token,json=indykiteAccessToken,proto3,oneof"`
}
type UnimplementedAuthorizationAPIServer ¶
type UnimplementedAuthorizationAPIServer struct { }
UnimplementedAuthorizationAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthorizationAPIServer) IsAuthorized ¶
func (UnimplementedAuthorizationAPIServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
func (UnimplementedAuthorizationAPIServer) WhatAuthorized ¶
func (UnimplementedAuthorizationAPIServer) WhatAuthorized(context.Context, *WhatAuthorizedRequest) (*WhatAuthorizedResponse, error)
func (UnimplementedAuthorizationAPIServer) WhoAuthorized ¶
func (UnimplementedAuthorizationAPIServer) WhoAuthorized(context.Context, *WhoAuthorizedRequest) (*WhoAuthorizedResponse, error)
type UnsafeAuthorizationAPIServer ¶
type UnsafeAuthorizationAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAuthorizationAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthorizationAPIServer will result in compilation errors.
type WhatAuthorizedRequest ¶
type WhatAuthorizedRequest struct { // Subject to check if is authorized to perform given actions. Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // A list of resources types that should be checked against. ResourceTypes []*WhatAuthorizedRequest_ResourceType `protobuf:"bytes,2,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"` // Policy input params InputParams map[string]*InputParam `` /* 182-byte string literal not displayed */ // Only evaluate polices containing provided tags PolicyTags []string `protobuf:"bytes,4,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"` // contains filtered or unexported fields }
func (*WhatAuthorizedRequest) Descriptor
deprecated
func (*WhatAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedRequest) GetInputParams ¶
func (x *WhatAuthorizedRequest) GetInputParams() map[string]*InputParam
func (*WhatAuthorizedRequest) GetPolicyTags ¶
func (x *WhatAuthorizedRequest) GetPolicyTags() []string
func (*WhatAuthorizedRequest) GetResourceTypes ¶
func (x *WhatAuthorizedRequest) GetResourceTypes() []*WhatAuthorizedRequest_ResourceType
func (*WhatAuthorizedRequest) GetSubject ¶
func (x *WhatAuthorizedRequest) GetSubject() *Subject
func (*WhatAuthorizedRequest) ProtoMessage ¶
func (*WhatAuthorizedRequest) ProtoMessage()
func (*WhatAuthorizedRequest) ProtoReflect ¶
func (x *WhatAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedRequest) Reset ¶
func (x *WhatAuthorizedRequest) Reset()
func (*WhatAuthorizedRequest) String ¶
func (x *WhatAuthorizedRequest) String() string
func (*WhatAuthorizedRequest) Validate ¶
func (m *WhatAuthorizedRequest) Validate() error
Validate checks the field values on WhatAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedRequest) ValidateAll ¶
func (m *WhatAuthorizedRequest) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedRequestMultiError, or nil if none found.
type WhatAuthorizedRequestMultiError ¶
type WhatAuthorizedRequestMultiError []error
WhatAuthorizedRequestMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedRequest.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedRequestMultiError) AllErrors ¶
func (m WhatAuthorizedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedRequestMultiError) Error ¶
func (m WhatAuthorizedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedRequestValidationError ¶
type WhatAuthorizedRequestValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedRequestValidationError is the validation error returned by WhatAuthorizedRequest.Validate if the designated constraints aren't met.
func (WhatAuthorizedRequestValidationError) Cause ¶
func (e WhatAuthorizedRequestValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedRequestValidationError) Error ¶
func (e WhatAuthorizedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedRequestValidationError) ErrorName ¶
func (e WhatAuthorizedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedRequestValidationError) Field ¶
func (e WhatAuthorizedRequestValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedRequestValidationError) Key ¶
func (e WhatAuthorizedRequestValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedRequestValidationError) Reason ¶
func (e WhatAuthorizedRequestValidationError) Reason() string
Reason function returns reason value.
type WhatAuthorizedRequest_ResourceType ¶
type WhatAuthorizedRequest_ResourceType struct { // Resource type Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Optional - A list of actions the subject want to perform. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
Resource type to authorize against.
func (*WhatAuthorizedRequest_ResourceType) Descriptor
deprecated
func (*WhatAuthorizedRequest_ResourceType) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedRequest_ResourceType.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedRequest_ResourceType) GetActions ¶
func (x *WhatAuthorizedRequest_ResourceType) GetActions() []string
func (*WhatAuthorizedRequest_ResourceType) GetType ¶
func (x *WhatAuthorizedRequest_ResourceType) GetType() string
func (*WhatAuthorizedRequest_ResourceType) ProtoMessage ¶
func (*WhatAuthorizedRequest_ResourceType) ProtoMessage()
func (*WhatAuthorizedRequest_ResourceType) ProtoReflect ¶
func (x *WhatAuthorizedRequest_ResourceType) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedRequest_ResourceType) Reset ¶
func (x *WhatAuthorizedRequest_ResourceType) Reset()
func (*WhatAuthorizedRequest_ResourceType) String ¶
func (x *WhatAuthorizedRequest_ResourceType) String() string
func (*WhatAuthorizedRequest_ResourceType) Validate ¶
func (m *WhatAuthorizedRequest_ResourceType) Validate() error
Validate checks the field values on WhatAuthorizedRequest_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedRequest_ResourceType) ValidateAll ¶
func (m *WhatAuthorizedRequest_ResourceType) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedRequest_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedRequest_ResourceTypeMultiError, or nil if none found.
type WhatAuthorizedRequest_ResourceTypeMultiError ¶
type WhatAuthorizedRequest_ResourceTypeMultiError []error
WhatAuthorizedRequest_ResourceTypeMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedRequest_ResourceType.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedRequest_ResourceTypeMultiError) AllErrors ¶
func (m WhatAuthorizedRequest_ResourceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedRequest_ResourceTypeMultiError) Error ¶
func (m WhatAuthorizedRequest_ResourceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedRequest_ResourceTypeValidationError ¶
type WhatAuthorizedRequest_ResourceTypeValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedRequest_ResourceTypeValidationError is the validation error returned by WhatAuthorizedRequest_ResourceType.Validate if the designated constraints aren't met.
func (WhatAuthorizedRequest_ResourceTypeValidationError) Cause ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedRequest_ResourceTypeValidationError) Error ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedRequest_ResourceTypeValidationError) ErrorName ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedRequest_ResourceTypeValidationError) Field ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedRequest_ResourceTypeValidationError) Key ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedRequest_ResourceTypeValidationError) Reason ¶
func (e WhatAuthorizedRequest_ResourceTypeValidationError) Reason() string
Reason function returns reason value.
type WhatAuthorizedResponse ¶
type WhatAuthorizedResponse struct { // Time the decision was made DecisionTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=decision_time,json=decisionTime,proto3" json:"decision_time,omitempty"` // Map with resource type as key Decisions map[string]*WhatAuthorizedResponse_ResourceType `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WhatAuthorizedResponse) Descriptor
deprecated
func (*WhatAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedResponse) GetDecisionTime ¶
func (x *WhatAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
func (*WhatAuthorizedResponse) GetDecisions ¶
func (x *WhatAuthorizedResponse) GetDecisions() map[string]*WhatAuthorizedResponse_ResourceType
func (*WhatAuthorizedResponse) ProtoMessage ¶
func (*WhatAuthorizedResponse) ProtoMessage()
func (*WhatAuthorizedResponse) ProtoReflect ¶
func (x *WhatAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedResponse) Reset ¶
func (x *WhatAuthorizedResponse) Reset()
func (*WhatAuthorizedResponse) String ¶
func (x *WhatAuthorizedResponse) String() string
func (*WhatAuthorizedResponse) Validate ¶
func (m *WhatAuthorizedResponse) Validate() error
Validate checks the field values on WhatAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedResponse) ValidateAll ¶
func (m *WhatAuthorizedResponse) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedResponseMultiError, or nil if none found.
type WhatAuthorizedResponseMultiError ¶
type WhatAuthorizedResponseMultiError []error
WhatAuthorizedResponseMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedResponse.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedResponseMultiError) AllErrors ¶
func (m WhatAuthorizedResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedResponseMultiError) Error ¶
func (m WhatAuthorizedResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedResponseValidationError ¶
type WhatAuthorizedResponseValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedResponseValidationError is the validation error returned by WhatAuthorizedResponse.Validate if the designated constraints aren't met.
func (WhatAuthorizedResponseValidationError) Cause ¶
func (e WhatAuthorizedResponseValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedResponseValidationError) Error ¶
func (e WhatAuthorizedResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedResponseValidationError) ErrorName ¶
func (e WhatAuthorizedResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedResponseValidationError) Field ¶
func (e WhatAuthorizedResponseValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedResponseValidationError) Key ¶
func (e WhatAuthorizedResponseValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedResponseValidationError) Reason ¶
func (e WhatAuthorizedResponseValidationError) Reason() string
Reason function returns reason value.
type WhatAuthorizedResponse_Action ¶
type WhatAuthorizedResponse_Action struct { // List of resources Resources []*WhatAuthorizedResponse_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*WhatAuthorizedResponse_Action) Descriptor
deprecated
func (*WhatAuthorizedResponse_Action) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedResponse_Action.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedResponse_Action) GetResources ¶
func (x *WhatAuthorizedResponse_Action) GetResources() []*WhatAuthorizedResponse_Resource
func (*WhatAuthorizedResponse_Action) ProtoMessage ¶
func (*WhatAuthorizedResponse_Action) ProtoMessage()
func (*WhatAuthorizedResponse_Action) ProtoReflect ¶
func (x *WhatAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedResponse_Action) Reset ¶
func (x *WhatAuthorizedResponse_Action) Reset()
func (*WhatAuthorizedResponse_Action) String ¶
func (x *WhatAuthorizedResponse_Action) String() string
func (*WhatAuthorizedResponse_Action) Validate ¶
func (m *WhatAuthorizedResponse_Action) Validate() error
Validate checks the field values on WhatAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedResponse_Action) ValidateAll ¶
func (m *WhatAuthorizedResponse_Action) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedResponse_ActionMultiError, or nil if none found.
type WhatAuthorizedResponse_ActionMultiError ¶
type WhatAuthorizedResponse_ActionMultiError []error
WhatAuthorizedResponse_ActionMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedResponse_Action.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedResponse_ActionMultiError) AllErrors ¶
func (m WhatAuthorizedResponse_ActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedResponse_ActionMultiError) Error ¶
func (m WhatAuthorizedResponse_ActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedResponse_ActionValidationError ¶
type WhatAuthorizedResponse_ActionValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedResponse_ActionValidationError is the validation error returned by WhatAuthorizedResponse_Action.Validate if the designated constraints aren't met.
func (WhatAuthorizedResponse_ActionValidationError) Cause ¶
func (e WhatAuthorizedResponse_ActionValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedResponse_ActionValidationError) Error ¶
func (e WhatAuthorizedResponse_ActionValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedResponse_ActionValidationError) ErrorName ¶
func (e WhatAuthorizedResponse_ActionValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedResponse_ActionValidationError) Field ¶
func (e WhatAuthorizedResponse_ActionValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedResponse_ActionValidationError) Key ¶
func (e WhatAuthorizedResponse_ActionValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedResponse_ActionValidationError) Reason ¶
func (e WhatAuthorizedResponse_ActionValidationError) Reason() string
Reason function returns reason value.
type WhatAuthorizedResponse_Resource ¶
type WhatAuthorizedResponse_Resource struct { // Resource external identifier ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func (*WhatAuthorizedResponse_Resource) Descriptor
deprecated
func (*WhatAuthorizedResponse_Resource) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedResponse_Resource.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedResponse_Resource) GetExternalId ¶
func (x *WhatAuthorizedResponse_Resource) GetExternalId() string
func (*WhatAuthorizedResponse_Resource) ProtoMessage ¶
func (*WhatAuthorizedResponse_Resource) ProtoMessage()
func (*WhatAuthorizedResponse_Resource) ProtoReflect ¶
func (x *WhatAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedResponse_Resource) Reset ¶
func (x *WhatAuthorizedResponse_Resource) Reset()
func (*WhatAuthorizedResponse_Resource) String ¶
func (x *WhatAuthorizedResponse_Resource) String() string
func (*WhatAuthorizedResponse_Resource) Validate ¶
func (m *WhatAuthorizedResponse_Resource) Validate() error
Validate checks the field values on WhatAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedResponse_Resource) ValidateAll ¶
func (m *WhatAuthorizedResponse_Resource) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedResponse_ResourceMultiError, or nil if none found.
type WhatAuthorizedResponse_ResourceMultiError ¶
type WhatAuthorizedResponse_ResourceMultiError []error
WhatAuthorizedResponse_ResourceMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedResponse_Resource.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedResponse_ResourceMultiError) AllErrors ¶
func (m WhatAuthorizedResponse_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedResponse_ResourceMultiError) Error ¶
func (m WhatAuthorizedResponse_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedResponse_ResourceType ¶
type WhatAuthorizedResponse_ResourceType struct { // Map with action as key Actions map[string]*WhatAuthorizedResponse_Action `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WhatAuthorizedResponse_ResourceType) Descriptor
deprecated
func (*WhatAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)
Deprecated: Use WhatAuthorizedResponse_ResourceType.ProtoReflect.Descriptor instead.
func (*WhatAuthorizedResponse_ResourceType) GetActions ¶
func (x *WhatAuthorizedResponse_ResourceType) GetActions() map[string]*WhatAuthorizedResponse_Action
func (*WhatAuthorizedResponse_ResourceType) ProtoMessage ¶
func (*WhatAuthorizedResponse_ResourceType) ProtoMessage()
func (*WhatAuthorizedResponse_ResourceType) ProtoReflect ¶
func (x *WhatAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
func (*WhatAuthorizedResponse_ResourceType) Reset ¶
func (x *WhatAuthorizedResponse_ResourceType) Reset()
func (*WhatAuthorizedResponse_ResourceType) String ¶
func (x *WhatAuthorizedResponse_ResourceType) String() string
func (*WhatAuthorizedResponse_ResourceType) Validate ¶
func (m *WhatAuthorizedResponse_ResourceType) Validate() error
Validate checks the field values on WhatAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhatAuthorizedResponse_ResourceType) ValidateAll ¶
func (m *WhatAuthorizedResponse_ResourceType) ValidateAll() error
ValidateAll checks the field values on WhatAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhatAuthorizedResponse_ResourceTypeMultiError, or nil if none found.
type WhatAuthorizedResponse_ResourceTypeMultiError ¶
type WhatAuthorizedResponse_ResourceTypeMultiError []error
WhatAuthorizedResponse_ResourceTypeMultiError is an error wrapping multiple validation errors returned by WhatAuthorizedResponse_ResourceType.ValidateAll() if the designated constraints aren't met.
func (WhatAuthorizedResponse_ResourceTypeMultiError) AllErrors ¶
func (m WhatAuthorizedResponse_ResourceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhatAuthorizedResponse_ResourceTypeMultiError) Error ¶
func (m WhatAuthorizedResponse_ResourceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhatAuthorizedResponse_ResourceTypeValidationError ¶
type WhatAuthorizedResponse_ResourceTypeValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedResponse_ResourceTypeValidationError is the validation error returned by WhatAuthorizedResponse_ResourceType.Validate if the designated constraints aren't met.
func (WhatAuthorizedResponse_ResourceTypeValidationError) Cause ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedResponse_ResourceTypeValidationError) Error ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedResponse_ResourceTypeValidationError) ErrorName ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedResponse_ResourceTypeValidationError) Field ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedResponse_ResourceTypeValidationError) Key ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedResponse_ResourceTypeValidationError) Reason ¶
func (e WhatAuthorizedResponse_ResourceTypeValidationError) Reason() string
Reason function returns reason value.
type WhatAuthorizedResponse_ResourceValidationError ¶
type WhatAuthorizedResponse_ResourceValidationError struct {
// contains filtered or unexported fields
}
WhatAuthorizedResponse_ResourceValidationError is the validation error returned by WhatAuthorizedResponse_Resource.Validate if the designated constraints aren't met.
func (WhatAuthorizedResponse_ResourceValidationError) Cause ¶
func (e WhatAuthorizedResponse_ResourceValidationError) Cause() error
Cause function returns cause value.
func (WhatAuthorizedResponse_ResourceValidationError) Error ¶
func (e WhatAuthorizedResponse_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (WhatAuthorizedResponse_ResourceValidationError) ErrorName ¶
func (e WhatAuthorizedResponse_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (WhatAuthorizedResponse_ResourceValidationError) Field ¶
func (e WhatAuthorizedResponse_ResourceValidationError) Field() string
Field function returns field value.
func (WhatAuthorizedResponse_ResourceValidationError) Key ¶
func (e WhatAuthorizedResponse_ResourceValidationError) Key() bool
Key function returns key value.
func (WhatAuthorizedResponse_ResourceValidationError) Reason ¶
func (e WhatAuthorizedResponse_ResourceValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedRequest ¶
type WhoAuthorizedRequest struct { // A list of resources to authorize against. Resources []*WhoAuthorizedRequest_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // Policy input params InputParams map[string]*InputParam `` /* 182-byte string literal not displayed */ // Only evaluate polices containing provided tags PolicyTags []string `protobuf:"bytes,3,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"` // contains filtered or unexported fields }
func (*WhoAuthorizedRequest) Descriptor
deprecated
func (*WhoAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedRequest) GetInputParams ¶
func (x *WhoAuthorizedRequest) GetInputParams() map[string]*InputParam
func (*WhoAuthorizedRequest) GetPolicyTags ¶
func (x *WhoAuthorizedRequest) GetPolicyTags() []string
func (*WhoAuthorizedRequest) GetResources ¶
func (x *WhoAuthorizedRequest) GetResources() []*WhoAuthorizedRequest_Resource
func (*WhoAuthorizedRequest) ProtoMessage ¶
func (*WhoAuthorizedRequest) ProtoMessage()
func (*WhoAuthorizedRequest) ProtoReflect ¶
func (x *WhoAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedRequest) Reset ¶
func (x *WhoAuthorizedRequest) Reset()
func (*WhoAuthorizedRequest) String ¶
func (x *WhoAuthorizedRequest) String() string
func (*WhoAuthorizedRequest) Validate ¶
func (m *WhoAuthorizedRequest) Validate() error
Validate checks the field values on WhoAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedRequest) ValidateAll ¶
func (m *WhoAuthorizedRequest) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedRequestMultiError, or nil if none found.
type WhoAuthorizedRequestMultiError ¶
type WhoAuthorizedRequestMultiError []error
WhoAuthorizedRequestMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedRequest.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedRequestMultiError) AllErrors ¶
func (m WhoAuthorizedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedRequestMultiError) Error ¶
func (m WhoAuthorizedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedRequestValidationError ¶
type WhoAuthorizedRequestValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedRequestValidationError is the validation error returned by WhoAuthorizedRequest.Validate if the designated constraints aren't met.
func (WhoAuthorizedRequestValidationError) Cause ¶
func (e WhoAuthorizedRequestValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedRequestValidationError) Error ¶
func (e WhoAuthorizedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedRequestValidationError) ErrorName ¶
func (e WhoAuthorizedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedRequestValidationError) Field ¶
func (e WhoAuthorizedRequestValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedRequestValidationError) Key ¶
func (e WhoAuthorizedRequestValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedRequestValidationError) Reason ¶
func (e WhoAuthorizedRequestValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedRequest_Resource ¶
type WhoAuthorizedRequest_Resource struct { // Resource external id. ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // Resource type. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // A list of actions the subject want to perform. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
Resource to authorize against.
func (*WhoAuthorizedRequest_Resource) Descriptor
deprecated
func (*WhoAuthorizedRequest_Resource) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedRequest_Resource.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedRequest_Resource) GetActions ¶
func (x *WhoAuthorizedRequest_Resource) GetActions() []string
func (*WhoAuthorizedRequest_Resource) GetExternalId ¶ added in v0.17.1
func (x *WhoAuthorizedRequest_Resource) GetExternalId() string
func (*WhoAuthorizedRequest_Resource) GetType ¶
func (x *WhoAuthorizedRequest_Resource) GetType() string
func (*WhoAuthorizedRequest_Resource) ProtoMessage ¶
func (*WhoAuthorizedRequest_Resource) ProtoMessage()
func (*WhoAuthorizedRequest_Resource) ProtoReflect ¶
func (x *WhoAuthorizedRequest_Resource) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedRequest_Resource) Reset ¶
func (x *WhoAuthorizedRequest_Resource) Reset()
func (*WhoAuthorizedRequest_Resource) String ¶
func (x *WhoAuthorizedRequest_Resource) String() string
func (*WhoAuthorizedRequest_Resource) Validate ¶
func (m *WhoAuthorizedRequest_Resource) Validate() error
Validate checks the field values on WhoAuthorizedRequest_Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedRequest_Resource) ValidateAll ¶
func (m *WhoAuthorizedRequest_Resource) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedRequest_Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedRequest_ResourceMultiError, or nil if none found.
type WhoAuthorizedRequest_ResourceMultiError ¶
type WhoAuthorizedRequest_ResourceMultiError []error
WhoAuthorizedRequest_ResourceMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedRequest_Resource.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedRequest_ResourceMultiError) AllErrors ¶
func (m WhoAuthorizedRequest_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedRequest_ResourceMultiError) Error ¶
func (m WhoAuthorizedRequest_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedRequest_ResourceValidationError ¶
type WhoAuthorizedRequest_ResourceValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedRequest_ResourceValidationError is the validation error returned by WhoAuthorizedRequest_Resource.Validate if the designated constraints aren't met.
func (WhoAuthorizedRequest_ResourceValidationError) Cause ¶
func (e WhoAuthorizedRequest_ResourceValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedRequest_ResourceValidationError) Error ¶
func (e WhoAuthorizedRequest_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedRequest_ResourceValidationError) ErrorName ¶
func (e WhoAuthorizedRequest_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedRequest_ResourceValidationError) Field ¶
func (e WhoAuthorizedRequest_ResourceValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedRequest_ResourceValidationError) Key ¶
func (e WhoAuthorizedRequest_ResourceValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedRequest_ResourceValidationError) Reason ¶
func (e WhoAuthorizedRequest_ResourceValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedResponse ¶
type WhoAuthorizedResponse struct { // Time the decision was made. DecisionTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=decision_time,json=decisionTime,proto3" json:"decision_time,omitempty"` // Map with resource type as key. Decisions map[string]*WhoAuthorizedResponse_ResourceType `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WhoAuthorizedResponse) Descriptor
deprecated
func (*WhoAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedResponse) GetDecisionTime ¶
func (x *WhoAuthorizedResponse) GetDecisionTime() *timestamppb.Timestamp
func (*WhoAuthorizedResponse) GetDecisions ¶
func (x *WhoAuthorizedResponse) GetDecisions() map[string]*WhoAuthorizedResponse_ResourceType
func (*WhoAuthorizedResponse) ProtoMessage ¶
func (*WhoAuthorizedResponse) ProtoMessage()
func (*WhoAuthorizedResponse) ProtoReflect ¶
func (x *WhoAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedResponse) Reset ¶
func (x *WhoAuthorizedResponse) Reset()
func (*WhoAuthorizedResponse) String ¶
func (x *WhoAuthorizedResponse) String() string
func (*WhoAuthorizedResponse) Validate ¶
func (m *WhoAuthorizedResponse) Validate() error
Validate checks the field values on WhoAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedResponse) ValidateAll ¶
func (m *WhoAuthorizedResponse) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedResponseMultiError, or nil if none found.
type WhoAuthorizedResponseMultiError ¶
type WhoAuthorizedResponseMultiError []error
WhoAuthorizedResponseMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedResponse.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedResponseMultiError) AllErrors ¶
func (m WhoAuthorizedResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedResponseMultiError) Error ¶
func (m WhoAuthorizedResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedResponseValidationError ¶
type WhoAuthorizedResponseValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedResponseValidationError is the validation error returned by WhoAuthorizedResponse.Validate if the designated constraints aren't met.
func (WhoAuthorizedResponseValidationError) Cause ¶
func (e WhoAuthorizedResponseValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedResponseValidationError) Error ¶
func (e WhoAuthorizedResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedResponseValidationError) ErrorName ¶
func (e WhoAuthorizedResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedResponseValidationError) Field ¶
func (e WhoAuthorizedResponseValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedResponseValidationError) Key ¶
func (e WhoAuthorizedResponseValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedResponseValidationError) Reason ¶
func (e WhoAuthorizedResponseValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedResponse_Action ¶
type WhoAuthorizedResponse_Action struct { // List of subjects. Subjects []*WhoAuthorizedResponse_Subject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
func (*WhoAuthorizedResponse_Action) Descriptor
deprecated
func (*WhoAuthorizedResponse_Action) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedResponse_Action.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedResponse_Action) GetSubjects ¶
func (x *WhoAuthorizedResponse_Action) GetSubjects() []*WhoAuthorizedResponse_Subject
func (*WhoAuthorizedResponse_Action) ProtoMessage ¶
func (*WhoAuthorizedResponse_Action) ProtoMessage()
func (*WhoAuthorizedResponse_Action) ProtoReflect ¶
func (x *WhoAuthorizedResponse_Action) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedResponse_Action) Reset ¶
func (x *WhoAuthorizedResponse_Action) Reset()
func (*WhoAuthorizedResponse_Action) String ¶
func (x *WhoAuthorizedResponse_Action) String() string
func (*WhoAuthorizedResponse_Action) Validate ¶
func (m *WhoAuthorizedResponse_Action) Validate() error
Validate checks the field values on WhoAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedResponse_Action) ValidateAll ¶
func (m *WhoAuthorizedResponse_Action) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedResponse_Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedResponse_ActionMultiError, or nil if none found.
type WhoAuthorizedResponse_ActionMultiError ¶
type WhoAuthorizedResponse_ActionMultiError []error
WhoAuthorizedResponse_ActionMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedResponse_Action.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedResponse_ActionMultiError) AllErrors ¶
func (m WhoAuthorizedResponse_ActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedResponse_ActionMultiError) Error ¶
func (m WhoAuthorizedResponse_ActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedResponse_ActionValidationError ¶
type WhoAuthorizedResponse_ActionValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedResponse_ActionValidationError is the validation error returned by WhoAuthorizedResponse_Action.Validate if the designated constraints aren't met.
func (WhoAuthorizedResponse_ActionValidationError) Cause ¶
func (e WhoAuthorizedResponse_ActionValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedResponse_ActionValidationError) Error ¶
func (e WhoAuthorizedResponse_ActionValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedResponse_ActionValidationError) ErrorName ¶
func (e WhoAuthorizedResponse_ActionValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedResponse_ActionValidationError) Field ¶
func (e WhoAuthorizedResponse_ActionValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedResponse_ActionValidationError) Key ¶
func (e WhoAuthorizedResponse_ActionValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedResponse_ActionValidationError) Reason ¶
func (e WhoAuthorizedResponse_ActionValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedResponse_Resource ¶
type WhoAuthorizedResponse_Resource struct { // Map with actions as key. Actions map[string]*WhoAuthorizedResponse_Action `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WhoAuthorizedResponse_Resource) Descriptor
deprecated
func (*WhoAuthorizedResponse_Resource) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedResponse_Resource.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedResponse_Resource) GetActions ¶
func (x *WhoAuthorizedResponse_Resource) GetActions() map[string]*WhoAuthorizedResponse_Action
func (*WhoAuthorizedResponse_Resource) ProtoMessage ¶
func (*WhoAuthorizedResponse_Resource) ProtoMessage()
func (*WhoAuthorizedResponse_Resource) ProtoReflect ¶
func (x *WhoAuthorizedResponse_Resource) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedResponse_Resource) Reset ¶
func (x *WhoAuthorizedResponse_Resource) Reset()
func (*WhoAuthorizedResponse_Resource) String ¶
func (x *WhoAuthorizedResponse_Resource) String() string
func (*WhoAuthorizedResponse_Resource) Validate ¶
func (m *WhoAuthorizedResponse_Resource) Validate() error
Validate checks the field values on WhoAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedResponse_Resource) ValidateAll ¶
func (m *WhoAuthorizedResponse_Resource) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedResponse_Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedResponse_ResourceMultiError, or nil if none found.
type WhoAuthorizedResponse_ResourceMultiError ¶
type WhoAuthorizedResponse_ResourceMultiError []error
WhoAuthorizedResponse_ResourceMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedResponse_Resource.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedResponse_ResourceMultiError) AllErrors ¶
func (m WhoAuthorizedResponse_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedResponse_ResourceMultiError) Error ¶
func (m WhoAuthorizedResponse_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedResponse_ResourceType ¶
type WhoAuthorizedResponse_ResourceType struct { // Map with resource external id as key. Resources map[string]*WhoAuthorizedResponse_Resource `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WhoAuthorizedResponse_ResourceType) Descriptor
deprecated
func (*WhoAuthorizedResponse_ResourceType) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedResponse_ResourceType.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedResponse_ResourceType) GetResources ¶
func (x *WhoAuthorizedResponse_ResourceType) GetResources() map[string]*WhoAuthorizedResponse_Resource
func (*WhoAuthorizedResponse_ResourceType) ProtoMessage ¶
func (*WhoAuthorizedResponse_ResourceType) ProtoMessage()
func (*WhoAuthorizedResponse_ResourceType) ProtoReflect ¶
func (x *WhoAuthorizedResponse_ResourceType) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedResponse_ResourceType) Reset ¶
func (x *WhoAuthorizedResponse_ResourceType) Reset()
func (*WhoAuthorizedResponse_ResourceType) String ¶
func (x *WhoAuthorizedResponse_ResourceType) String() string
func (*WhoAuthorizedResponse_ResourceType) Validate ¶
func (m *WhoAuthorizedResponse_ResourceType) Validate() error
Validate checks the field values on WhoAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedResponse_ResourceType) ValidateAll ¶
func (m *WhoAuthorizedResponse_ResourceType) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedResponse_ResourceType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedResponse_ResourceTypeMultiError, or nil if none found.
type WhoAuthorizedResponse_ResourceTypeMultiError ¶
type WhoAuthorizedResponse_ResourceTypeMultiError []error
WhoAuthorizedResponse_ResourceTypeMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedResponse_ResourceType.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedResponse_ResourceTypeMultiError) AllErrors ¶
func (m WhoAuthorizedResponse_ResourceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedResponse_ResourceTypeMultiError) Error ¶
func (m WhoAuthorizedResponse_ResourceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedResponse_ResourceTypeValidationError ¶
type WhoAuthorizedResponse_ResourceTypeValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedResponse_ResourceTypeValidationError is the validation error returned by WhoAuthorizedResponse_ResourceType.Validate if the designated constraints aren't met.
func (WhoAuthorizedResponse_ResourceTypeValidationError) Cause ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedResponse_ResourceTypeValidationError) Error ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedResponse_ResourceTypeValidationError) ErrorName ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedResponse_ResourceTypeValidationError) Field ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedResponse_ResourceTypeValidationError) Key ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedResponse_ResourceTypeValidationError) Reason ¶
func (e WhoAuthorizedResponse_ResourceTypeValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedResponse_ResourceValidationError ¶
type WhoAuthorizedResponse_ResourceValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedResponse_ResourceValidationError is the validation error returned by WhoAuthorizedResponse_Resource.Validate if the designated constraints aren't met.
func (WhoAuthorizedResponse_ResourceValidationError) Cause ¶
func (e WhoAuthorizedResponse_ResourceValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedResponse_ResourceValidationError) Error ¶
func (e WhoAuthorizedResponse_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedResponse_ResourceValidationError) ErrorName ¶
func (e WhoAuthorizedResponse_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedResponse_ResourceValidationError) Field ¶
func (e WhoAuthorizedResponse_ResourceValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedResponse_ResourceValidationError) Key ¶
func (e WhoAuthorizedResponse_ResourceValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedResponse_ResourceValidationError) Reason ¶
func (e WhoAuthorizedResponse_ResourceValidationError) Reason() string
Reason function returns reason value.
type WhoAuthorizedResponse_Subject ¶
type WhoAuthorizedResponse_Subject struct { // Resource external identifier. ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func (*WhoAuthorizedResponse_Subject) Descriptor
deprecated
func (*WhoAuthorizedResponse_Subject) Descriptor() ([]byte, []int)
Deprecated: Use WhoAuthorizedResponse_Subject.ProtoReflect.Descriptor instead.
func (*WhoAuthorizedResponse_Subject) GetExternalId ¶
func (x *WhoAuthorizedResponse_Subject) GetExternalId() string
func (*WhoAuthorizedResponse_Subject) ProtoMessage ¶
func (*WhoAuthorizedResponse_Subject) ProtoMessage()
func (*WhoAuthorizedResponse_Subject) ProtoReflect ¶
func (x *WhoAuthorizedResponse_Subject) ProtoReflect() protoreflect.Message
func (*WhoAuthorizedResponse_Subject) Reset ¶
func (x *WhoAuthorizedResponse_Subject) Reset()
func (*WhoAuthorizedResponse_Subject) String ¶
func (x *WhoAuthorizedResponse_Subject) String() string
func (*WhoAuthorizedResponse_Subject) Validate ¶
func (m *WhoAuthorizedResponse_Subject) Validate() error
Validate checks the field values on WhoAuthorizedResponse_Subject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WhoAuthorizedResponse_Subject) ValidateAll ¶
func (m *WhoAuthorizedResponse_Subject) ValidateAll() error
ValidateAll checks the field values on WhoAuthorizedResponse_Subject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhoAuthorizedResponse_SubjectMultiError, or nil if none found.
type WhoAuthorizedResponse_SubjectMultiError ¶
type WhoAuthorizedResponse_SubjectMultiError []error
WhoAuthorizedResponse_SubjectMultiError is an error wrapping multiple validation errors returned by WhoAuthorizedResponse_Subject.ValidateAll() if the designated constraints aren't met.
func (WhoAuthorizedResponse_SubjectMultiError) AllErrors ¶
func (m WhoAuthorizedResponse_SubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhoAuthorizedResponse_SubjectMultiError) Error ¶
func (m WhoAuthorizedResponse_SubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhoAuthorizedResponse_SubjectValidationError ¶
type WhoAuthorizedResponse_SubjectValidationError struct {
// contains filtered or unexported fields
}
WhoAuthorizedResponse_SubjectValidationError is the validation error returned by WhoAuthorizedResponse_Subject.Validate if the designated constraints aren't met.
func (WhoAuthorizedResponse_SubjectValidationError) Cause ¶
func (e WhoAuthorizedResponse_SubjectValidationError) Cause() error
Cause function returns cause value.
func (WhoAuthorizedResponse_SubjectValidationError) Error ¶
func (e WhoAuthorizedResponse_SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (WhoAuthorizedResponse_SubjectValidationError) ErrorName ¶
func (e WhoAuthorizedResponse_SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (WhoAuthorizedResponse_SubjectValidationError) Field ¶
func (e WhoAuthorizedResponse_SubjectValidationError) Field() string
Field function returns field value.
func (WhoAuthorizedResponse_SubjectValidationError) Key ¶
func (e WhoAuthorizedResponse_SubjectValidationError) Key() bool
Key function returns key value.
func (WhoAuthorizedResponse_SubjectValidationError) Reason ¶
func (e WhoAuthorizedResponse_SubjectValidationError) Reason() string
Reason function returns reason value.