tdav1beta1

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrustedDataAccessAPI_DataAccess_FullMethodName    = "/indykite.tda.v1beta1.TrustedDataAccessAPI/DataAccess"
	TrustedDataAccessAPI_GrantConsent_FullMethodName  = "/indykite.tda.v1beta1.TrustedDataAccessAPI/GrantConsent"
	TrustedDataAccessAPI_RevokeConsent_FullMethodName = "/indykite.tda.v1beta1.TrustedDataAccessAPI/RevokeConsent"
	TrustedDataAccessAPI_ListConsents_FullMethodName  = "/indykite.tda.v1beta1.TrustedDataAccessAPI/ListConsents"
)

Variables

View Source
var File_indykite_tda_v1beta1_model_proto protoreflect.FileDescriptor
View Source
var File_indykite_tda_v1beta1_trusted_data_access_api_proto protoreflect.FileDescriptor
View Source
var TrustedDataAccessAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "indykite.tda.v1beta1.TrustedDataAccessAPI",
	HandlerType: (*TrustedDataAccessAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DataAccess",
			Handler:    _TrustedDataAccessAPI_DataAccess_Handler,
		},
		{
			MethodName: "GrantConsent",
			Handler:    _TrustedDataAccessAPI_GrantConsent_Handler,
		},
		{
			MethodName: "RevokeConsent",
			Handler:    _TrustedDataAccessAPI_RevokeConsent_Handler,
		},
		{
			MethodName: "ListConsents",
			Handler:    _TrustedDataAccessAPI_ListConsents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "indykite/tda/v1beta1/trusted_data_access_api.proto",
}

TrustedDataAccessAPI_ServiceDesc is the grpc.ServiceDesc for TrustedDataAccessAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTrustedDataAccessAPIServer

func RegisterTrustedDataAccessAPIServer(s grpc.ServiceRegistrar, srv TrustedDataAccessAPIServer)

Types

type Consent struct {

	// Unique identifier for the consent
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Consent) Descriptor deprecated

func (*Consent) Descriptor() ([]byte, []int)

Deprecated: Use Consent.ProtoReflect.Descriptor instead.

func (*Consent) GetId

func (x *Consent) GetId() string

func (*Consent) GetProperties

func (x *Consent) GetProperties() []string

func (*Consent) ProtoMessage

func (*Consent) ProtoMessage()

func (*Consent) ProtoReflect

func (x *Consent) ProtoReflect() protoreflect.Message

func (*Consent) Reset

func (x *Consent) Reset()

func (*Consent) String

func (x *Consent) String() string

func (*Consent) Validate

func (m *Consent) Validate() error

Validate checks the field values on Consent 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 (*Consent) ValidateAll

func (m *Consent) ValidateAll() error

ValidateAll checks the field values on Consent 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 ConsentMultiError, or nil if none found.

type ConsentMultiError

type ConsentMultiError []error

ConsentMultiError is an error wrapping multiple validation errors returned by Consent.ValidateAll() if the designated constraints aren't met.

func (ConsentMultiError) AllErrors

func (m ConsentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConsentMultiError) Error

func (m ConsentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConsentValidationError

type ConsentValidationError struct {
	// contains filtered or unexported fields
}

ConsentValidationError is the validation error returned by Consent.Validate if the designated constraints aren't met.

func (ConsentValidationError) Cause

func (e ConsentValidationError) Cause() error

Cause function returns cause value.

func (ConsentValidationError) Error

func (e ConsentValidationError) Error() string

Error satisfies the builtin error interface

func (ConsentValidationError) ErrorName

func (e ConsentValidationError) ErrorName() string

ErrorName returns error name.

func (ConsentValidationError) Field

func (e ConsentValidationError) Field() string

Field function returns field value.

func (ConsentValidationError) Key

func (e ConsentValidationError) Key() bool

Key function returns key value.

func (ConsentValidationError) Reason

func (e ConsentValidationError) Reason() string

Reason function returns reason value.

type DataAccessRequest

type DataAccessRequest struct {

	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,1,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// ApplicationId is the id of the application that the consent is for.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Optional, unique identifier for the user.
	User *v1beta1.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*DataAccessRequest) Descriptor deprecated

func (*DataAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use DataAccessRequest.ProtoReflect.Descriptor instead.

func (*DataAccessRequest) GetApplicationId

func (x *DataAccessRequest) GetApplicationId() string

func (*DataAccessRequest) GetConsentId

func (x *DataAccessRequest) GetConsentId() string

func (*DataAccessRequest) GetUser

func (x *DataAccessRequest) GetUser() *v1beta1.User

func (*DataAccessRequest) ProtoMessage

func (*DataAccessRequest) ProtoMessage()

func (*DataAccessRequest) ProtoReflect

func (x *DataAccessRequest) ProtoReflect() protoreflect.Message

func (*DataAccessRequest) Reset

func (x *DataAccessRequest) Reset()

func (*DataAccessRequest) String

func (x *DataAccessRequest) String() string

func (*DataAccessRequest) Validate

func (m *DataAccessRequest) Validate() error

Validate checks the field values on DataAccessRequest 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 (*DataAccessRequest) ValidateAll

func (m *DataAccessRequest) ValidateAll() error

ValidateAll checks the field values on DataAccessRequest 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 DataAccessRequestMultiError, or nil if none found.

type DataAccessRequestMultiError

type DataAccessRequestMultiError []error

DataAccessRequestMultiError is an error wrapping multiple validation errors returned by DataAccessRequest.ValidateAll() if the designated constraints aren't met.

func (DataAccessRequestMultiError) AllErrors

func (m DataAccessRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataAccessRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataAccessRequestValidationError

type DataAccessRequestValidationError struct {
	// contains filtered or unexported fields
}

DataAccessRequestValidationError is the validation error returned by DataAccessRequest.Validate if the designated constraints aren't met.

func (DataAccessRequestValidationError) Cause

Cause function returns cause value.

func (DataAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (DataAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (DataAccessRequestValidationError) Field

Field function returns field value.

func (DataAccessRequestValidationError) Key

Key function returns key value.

func (DataAccessRequestValidationError) Reason

Reason function returns reason value.

type DataAccessResponse

type DataAccessResponse struct {
	Nodes []*v1beta1.Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*DataAccessResponse) Descriptor deprecated

func (*DataAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use DataAccessResponse.ProtoReflect.Descriptor instead.

func (*DataAccessResponse) GetNodes

func (x *DataAccessResponse) GetNodes() []*v1beta1.Node

func (*DataAccessResponse) ProtoMessage

func (*DataAccessResponse) ProtoMessage()

func (*DataAccessResponse) ProtoReflect

func (x *DataAccessResponse) ProtoReflect() protoreflect.Message

func (*DataAccessResponse) Reset

func (x *DataAccessResponse) Reset()

func (*DataAccessResponse) String

func (x *DataAccessResponse) String() string

func (*DataAccessResponse) Validate

func (m *DataAccessResponse) Validate() error

Validate checks the field values on DataAccessResponse 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 (*DataAccessResponse) ValidateAll

func (m *DataAccessResponse) ValidateAll() error

ValidateAll checks the field values on DataAccessResponse 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 DataAccessResponseMultiError, or nil if none found.

type DataAccessResponseMultiError

type DataAccessResponseMultiError []error

DataAccessResponseMultiError is an error wrapping multiple validation errors returned by DataAccessResponse.ValidateAll() if the designated constraints aren't met.

func (DataAccessResponseMultiError) AllErrors

func (m DataAccessResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataAccessResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataAccessResponseValidationError

type DataAccessResponseValidationError struct {
	// contains filtered or unexported fields
}

DataAccessResponseValidationError is the validation error returned by DataAccessResponse.Validate if the designated constraints aren't met.

func (DataAccessResponseValidationError) Cause

Cause function returns cause value.

func (DataAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (DataAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (DataAccessResponseValidationError) Field

Field function returns field value.

func (DataAccessResponseValidationError) Key

Key function returns key value.

func (DataAccessResponseValidationError) Reason

Reason function returns reason value.

type GrantConsentRequest

type GrantConsentRequest struct {

	// Unique identifier for the user
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,2,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// Optional: The consent will be revoked after the data has been fetched.
	RevokeAfterUse bool `protobuf:"varint,3,opt,name=revoke_after_use,json=revokeAfterUse,proto3" json:"revoke_after_use,omitempty"`
	// contains filtered or unexported fields
}

The request to grant consent

func (*GrantConsentRequest) Descriptor deprecated

func (*GrantConsentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GrantConsentRequest.ProtoReflect.Descriptor instead.

func (*GrantConsentRequest) GetConsentId

func (x *GrantConsentRequest) GetConsentId() string

func (*GrantConsentRequest) GetRevokeAfterUse

func (x *GrantConsentRequest) GetRevokeAfterUse() bool

func (*GrantConsentRequest) GetUser

func (x *GrantConsentRequest) GetUser() *v1beta1.User

func (*GrantConsentRequest) ProtoMessage

func (*GrantConsentRequest) ProtoMessage()

func (*GrantConsentRequest) ProtoReflect

func (x *GrantConsentRequest) ProtoReflect() protoreflect.Message

func (*GrantConsentRequest) Reset

func (x *GrantConsentRequest) Reset()

func (*GrantConsentRequest) String

func (x *GrantConsentRequest) String() string

func (*GrantConsentRequest) Validate

func (m *GrantConsentRequest) Validate() error

Validate checks the field values on GrantConsentRequest 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 (*GrantConsentRequest) ValidateAll

func (m *GrantConsentRequest) ValidateAll() error

ValidateAll checks the field values on GrantConsentRequest 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 GrantConsentRequestMultiError, or nil if none found.

type GrantConsentRequestMultiError

type GrantConsentRequestMultiError []error

GrantConsentRequestMultiError is an error wrapping multiple validation errors returned by GrantConsentRequest.ValidateAll() if the designated constraints aren't met.

func (GrantConsentRequestMultiError) AllErrors

func (m GrantConsentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantConsentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantConsentRequestValidationError

type GrantConsentRequestValidationError struct {
	// contains filtered or unexported fields
}

GrantConsentRequestValidationError is the validation error returned by GrantConsentRequest.Validate if the designated constraints aren't met.

func (GrantConsentRequestValidationError) Cause

Cause function returns cause value.

func (GrantConsentRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantConsentRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantConsentRequestValidationError) Field

Field function returns field value.

func (GrantConsentRequestValidationError) Key

Key function returns key value.

func (GrantConsentRequestValidationError) Reason

Reason function returns reason value.

type GrantConsentResponse

type GrantConsentResponse struct {
	// contains filtered or unexported fields
}

func (*GrantConsentResponse) Descriptor deprecated

func (*GrantConsentResponse) Descriptor() ([]byte, []int)

Deprecated: Use GrantConsentResponse.ProtoReflect.Descriptor instead.

func (*GrantConsentResponse) ProtoMessage

func (*GrantConsentResponse) ProtoMessage()

func (*GrantConsentResponse) ProtoReflect

func (x *GrantConsentResponse) ProtoReflect() protoreflect.Message

func (*GrantConsentResponse) Reset

func (x *GrantConsentResponse) Reset()

func (*GrantConsentResponse) String

func (x *GrantConsentResponse) String() string

func (*GrantConsentResponse) Validate

func (m *GrantConsentResponse) Validate() error

Validate checks the field values on GrantConsentResponse 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 (*GrantConsentResponse) ValidateAll

func (m *GrantConsentResponse) ValidateAll() error

ValidateAll checks the field values on GrantConsentResponse 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 GrantConsentResponseMultiError, or nil if none found.

type GrantConsentResponseMultiError

type GrantConsentResponseMultiError []error

GrantConsentResponseMultiError is an error wrapping multiple validation errors returned by GrantConsentResponse.ValidateAll() if the designated constraints aren't met.

func (GrantConsentResponseMultiError) AllErrors

func (m GrantConsentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantConsentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantConsentResponseValidationError

type GrantConsentResponseValidationError struct {
	// contains filtered or unexported fields
}

GrantConsentResponseValidationError is the validation error returned by GrantConsentResponse.Validate if the designated constraints aren't met.

func (GrantConsentResponseValidationError) Cause

Cause function returns cause value.

func (GrantConsentResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantConsentResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantConsentResponseValidationError) Field

Field function returns field value.

func (GrantConsentResponseValidationError) Key

Key function returns key value.

func (GrantConsentResponseValidationError) Reason

Reason function returns reason value.

type ListConsentsRequest

type ListConsentsRequest struct {

	// Unique identifier for the user.
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// ApplicationId is the id of the application that the consent is for.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsentsRequest) Descriptor deprecated

func (*ListConsentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConsentsRequest.ProtoReflect.Descriptor instead.

func (*ListConsentsRequest) GetApplicationId

func (x *ListConsentsRequest) GetApplicationId() string

func (*ListConsentsRequest) GetUser

func (x *ListConsentsRequest) GetUser() *v1beta1.User

func (*ListConsentsRequest) ProtoMessage

func (*ListConsentsRequest) ProtoMessage()

func (*ListConsentsRequest) ProtoReflect

func (x *ListConsentsRequest) ProtoReflect() protoreflect.Message

func (*ListConsentsRequest) Reset

func (x *ListConsentsRequest) Reset()

func (*ListConsentsRequest) String

func (x *ListConsentsRequest) String() string

func (*ListConsentsRequest) Validate

func (m *ListConsentsRequest) Validate() error

Validate checks the field values on ListConsentsRequest 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 (*ListConsentsRequest) ValidateAll

func (m *ListConsentsRequest) ValidateAll() error

ValidateAll checks the field values on ListConsentsRequest 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 ListConsentsRequestMultiError, or nil if none found.

type ListConsentsRequestMultiError

type ListConsentsRequestMultiError []error

ListConsentsRequestMultiError is an error wrapping multiple validation errors returned by ListConsentsRequest.ValidateAll() if the designated constraints aren't met.

func (ListConsentsRequestMultiError) AllErrors

func (m ListConsentsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConsentsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConsentsRequestValidationError

type ListConsentsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListConsentsRequestValidationError is the validation error returned by ListConsentsRequest.Validate if the designated constraints aren't met.

func (ListConsentsRequestValidationError) Cause

Cause function returns cause value.

func (ListConsentsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConsentsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConsentsRequestValidationError) Field

Field function returns field value.

func (ListConsentsRequestValidationError) Key

Key function returns key value.

func (ListConsentsRequestValidationError) Reason

Reason function returns reason value.

type ListConsentsResponse

type ListConsentsResponse struct {
	Consents []*Consent `protobuf:"bytes,1,rep,name=consents,proto3" json:"consents,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsentsResponse) Descriptor deprecated

func (*ListConsentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConsentsResponse.ProtoReflect.Descriptor instead.

func (*ListConsentsResponse) GetConsents

func (x *ListConsentsResponse) GetConsents() []*Consent

func (*ListConsentsResponse) ProtoMessage

func (*ListConsentsResponse) ProtoMessage()

func (*ListConsentsResponse) ProtoReflect

func (x *ListConsentsResponse) ProtoReflect() protoreflect.Message

func (*ListConsentsResponse) Reset

func (x *ListConsentsResponse) Reset()

func (*ListConsentsResponse) String

func (x *ListConsentsResponse) String() string

func (*ListConsentsResponse) Validate

func (m *ListConsentsResponse) Validate() error

Validate checks the field values on ListConsentsResponse 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 (*ListConsentsResponse) ValidateAll

func (m *ListConsentsResponse) ValidateAll() error

ValidateAll checks the field values on ListConsentsResponse 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 ListConsentsResponseMultiError, or nil if none found.

type ListConsentsResponseMultiError

type ListConsentsResponseMultiError []error

ListConsentsResponseMultiError is an error wrapping multiple validation errors returned by ListConsentsResponse.ValidateAll() if the designated constraints aren't met.

func (ListConsentsResponseMultiError) AllErrors

func (m ListConsentsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConsentsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConsentsResponseValidationError

type ListConsentsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListConsentsResponseValidationError is the validation error returned by ListConsentsResponse.Validate if the designated constraints aren't met.

func (ListConsentsResponseValidationError) Cause

Cause function returns cause value.

func (ListConsentsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConsentsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConsentsResponseValidationError) Field

Field function returns field value.

func (ListConsentsResponseValidationError) Key

Key function returns key value.

func (ListConsentsResponseValidationError) Reason

Reason function returns reason value.

type RevokeConsentRequest

type RevokeConsentRequest struct {

	// Unique identifier for the user
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,2,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeConsentRequest) Descriptor deprecated

func (*RevokeConsentRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeConsentRequest.ProtoReflect.Descriptor instead.

func (*RevokeConsentRequest) GetConsentId

func (x *RevokeConsentRequest) GetConsentId() string

func (*RevokeConsentRequest) GetUser

func (x *RevokeConsentRequest) GetUser() *v1beta1.User

func (*RevokeConsentRequest) ProtoMessage

func (*RevokeConsentRequest) ProtoMessage()

func (*RevokeConsentRequest) ProtoReflect

func (x *RevokeConsentRequest) ProtoReflect() protoreflect.Message

func (*RevokeConsentRequest) Reset

func (x *RevokeConsentRequest) Reset()

func (*RevokeConsentRequest) String

func (x *RevokeConsentRequest) String() string

func (*RevokeConsentRequest) Validate

func (m *RevokeConsentRequest) Validate() error

Validate checks the field values on RevokeConsentRequest 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 (*RevokeConsentRequest) ValidateAll

func (m *RevokeConsentRequest) ValidateAll() error

ValidateAll checks the field values on RevokeConsentRequest 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 RevokeConsentRequestMultiError, or nil if none found.

type RevokeConsentRequestMultiError

type RevokeConsentRequestMultiError []error

RevokeConsentRequestMultiError is an error wrapping multiple validation errors returned by RevokeConsentRequest.ValidateAll() if the designated constraints aren't met.

func (RevokeConsentRequestMultiError) AllErrors

func (m RevokeConsentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeConsentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevokeConsentRequestValidationError

type RevokeConsentRequestValidationError struct {
	// contains filtered or unexported fields
}

RevokeConsentRequestValidationError is the validation error returned by RevokeConsentRequest.Validate if the designated constraints aren't met.

func (RevokeConsentRequestValidationError) Cause

Cause function returns cause value.

func (RevokeConsentRequestValidationError) Error

Error satisfies the builtin error interface

func (RevokeConsentRequestValidationError) ErrorName

ErrorName returns error name.

func (RevokeConsentRequestValidationError) Field

Field function returns field value.

func (RevokeConsentRequestValidationError) Key

Key function returns key value.

func (RevokeConsentRequestValidationError) Reason

Reason function returns reason value.

type RevokeConsentResponse

type RevokeConsentResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeConsentResponse) Descriptor deprecated

func (*RevokeConsentResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeConsentResponse.ProtoReflect.Descriptor instead.

func (*RevokeConsentResponse) ProtoMessage

func (*RevokeConsentResponse) ProtoMessage()

func (*RevokeConsentResponse) ProtoReflect

func (x *RevokeConsentResponse) ProtoReflect() protoreflect.Message

func (*RevokeConsentResponse) Reset

func (x *RevokeConsentResponse) Reset()

func (*RevokeConsentResponse) String

func (x *RevokeConsentResponse) String() string

func (*RevokeConsentResponse) Validate

func (m *RevokeConsentResponse) Validate() error

Validate checks the field values on RevokeConsentResponse 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 (*RevokeConsentResponse) ValidateAll

func (m *RevokeConsentResponse) ValidateAll() error

ValidateAll checks the field values on RevokeConsentResponse 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 RevokeConsentResponseMultiError, or nil if none found.

type RevokeConsentResponseMultiError

type RevokeConsentResponseMultiError []error

RevokeConsentResponseMultiError is an error wrapping multiple validation errors returned by RevokeConsentResponse.ValidateAll() if the designated constraints aren't met.

func (RevokeConsentResponseMultiError) AllErrors

func (m RevokeConsentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeConsentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevokeConsentResponseValidationError

type RevokeConsentResponseValidationError struct {
	// contains filtered or unexported fields
}

RevokeConsentResponseValidationError is the validation error returned by RevokeConsentResponse.Validate if the designated constraints aren't met.

func (RevokeConsentResponseValidationError) Cause

Cause function returns cause value.

func (RevokeConsentResponseValidationError) Error

Error satisfies the builtin error interface

func (RevokeConsentResponseValidationError) ErrorName

ErrorName returns error name.

func (RevokeConsentResponseValidationError) Field

Field function returns field value.

func (RevokeConsentResponseValidationError) Key

Key function returns key value.

func (RevokeConsentResponseValidationError) Reason

Reason function returns reason value.

type TrustedDataAccessAPIClient

type TrustedDataAccessAPIClient interface {
	DataAccess(ctx context.Context, in *DataAccessRequest, opts ...grpc.CallOption) (*DataAccessResponse, error)
	GrantConsent(ctx context.Context, in *GrantConsentRequest, opts ...grpc.CallOption) (*GrantConsentResponse, error)
	RevokeConsent(ctx context.Context, in *RevokeConsentRequest, opts ...grpc.CallOption) (*RevokeConsentResponse, error)
	// ListConsents returns all Consents (and the consented properties) between the specified application and user.
	ListConsents(ctx context.Context, in *ListConsentsRequest, opts ...grpc.CallOption) (*ListConsentsResponse, error)
}

TrustedDataAccessAPIClient is the client API for TrustedDataAccessAPI 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.

type TrustedDataAccessAPIServer

type TrustedDataAccessAPIServer interface {
	DataAccess(context.Context, *DataAccessRequest) (*DataAccessResponse, error)
	GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error)
	RevokeConsent(context.Context, *RevokeConsentRequest) (*RevokeConsentResponse, error)
	// ListConsents returns all Consents (and the consented properties) between the specified application and user.
	ListConsents(context.Context, *ListConsentsRequest) (*ListConsentsResponse, error)
}

TrustedDataAccessAPIServer is the server API for TrustedDataAccessAPI service. All implementations should embed UnimplementedTrustedDataAccessAPIServer for forward compatibility

type UnimplementedTrustedDataAccessAPIServer

type UnimplementedTrustedDataAccessAPIServer struct {
}

UnimplementedTrustedDataAccessAPIServer should be embedded to have forward compatible implementations.

func (UnimplementedTrustedDataAccessAPIServer) DataAccess

func (UnimplementedTrustedDataAccessAPIServer) GrantConsent

func (UnimplementedTrustedDataAccessAPIServer) ListConsents

func (UnimplementedTrustedDataAccessAPIServer) RevokeConsent

type UnsafeTrustedDataAccessAPIServer

type UnsafeTrustedDataAccessAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeTrustedDataAccessAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrustedDataAccessAPIServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL