iam_v1beta

package
v0.0.0-...-783094c Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 31 Imported by: 1

Documentation

Overview

Package iam_v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package iam_v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package iam_v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package iam_v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package iam_v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	RealmsService_CreateRealm_FullMethodName = "/gommerce.iam.v1beta.RealmsService/CreateRealm"
	RealmsService_GetRealm_FullMethodName    = "/gommerce.iam.v1beta.RealmsService/GetRealm"
	RealmsService_ListRealms_FullMethodName  = "/gommerce.iam.v1beta.RealmsService/ListRealms"
	RealmsService_UpdateRealm_FullMethodName = "/gommerce.iam.v1beta.RealmsService/UpdateRealm"
	RealmsService_DeleteRealm_FullMethodName = "/gommerce.iam.v1beta.RealmsService/DeleteRealm"
)
View Source
const (
	UserStateService_GetState_FullMethodName = "/gommerce.iam.v1beta.UserStateService/GetState"
	UserStateService_SetState_FullMethodName = "/gommerce.iam.v1beta.UserStateService/SetState"
)
View Source
const (
	TokensService_CreateToken_FullMethodName  = "/gommerce.iam.v1beta.TokensService/CreateToken"
	TokensService_RevokeToken_FullMethodName  = "/gommerce.iam.v1beta.TokensService/RevokeToken"
	TokensService_RefreshToken_FullMethodName = "/gommerce.iam.v1beta.TokensService/RefreshToken"
)
View Source
const (
	UsersService_Register_FullMethodName    = "/gommerce.iam.v1beta.UsersService/Register"
	UsersService_ListUsers_FullMethodName   = "/gommerce.iam.v1beta.UsersService/ListUsers"
	UsersService_GetIdentity_FullMethodName = "/gommerce.iam.v1beta.UsersService/GetIdentity"
)
View Source
const (
	DevicesService_PatchDevice_FullMethodName = "/gommerce.iam.v1beta.DevicesService/PatchDevice"
)

Variables

View Source
var DevicesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.iam.v1beta.DevicesService",
	HandlerType: (*DevicesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PatchDevice",
			Handler:    _DevicesService_PatchDevice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/iam/v1beta/devices.proto",
}

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

View Source
var File_gommerce_iam_v1beta_devices_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_events_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_iam_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_realms_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_state_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_tokens_proto protoreflect.FileDescriptor
View Source
var File_gommerce_iam_v1beta_users_proto protoreflect.FileDescriptor
View Source
var RealmsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.iam.v1beta.RealmsService",
	HandlerType: (*RealmsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRealm",
			Handler:    _RealmsService_CreateRealm_Handler,
		},
		{
			MethodName: "GetRealm",
			Handler:    _RealmsService_GetRealm_Handler,
		},
		{
			MethodName: "ListRealms",
			Handler:    _RealmsService_ListRealms_Handler,
		},
		{
			MethodName: "UpdateRealm",
			Handler:    _RealmsService_UpdateRealm_Handler,
		},
		{
			MethodName: "DeleteRealm",
			Handler:    _RealmsService_DeleteRealm_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/iam/v1beta/realms.proto",
}

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

View Source
var TokensService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.iam.v1beta.TokensService",
	HandlerType: (*TokensServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateToken",
			Handler:    _TokensService_CreateToken_Handler,
		},
		{
			MethodName: "RevokeToken",
			Handler:    _TokensService_RevokeToken_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _TokensService_RefreshToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/iam/v1beta/tokens.proto",
}

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

View Source
var UserStateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.iam.v1beta.UserStateService",
	HandlerType: (*UserStateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetState",
			Handler:    _UserStateService_GetState_Handler,
		},
		{
			MethodName: "SetState",
			Handler:    _UserStateService_SetState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/iam/v1beta/state.proto",
}

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

View Source
var UsersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gommerce.iam.v1beta.UsersService",
	HandlerType: (*UsersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _UsersService_Register_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UsersService_ListUsers_Handler,
		},
		{
			MethodName: "GetIdentity",
			Handler:    _UsersService_GetIdentity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gommerce/iam/v1beta/users.proto",
}

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

Functions

func RegisterDevicesServiceHandler

func RegisterDevicesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDevicesServiceHandler registers the http handlers for service DevicesService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDevicesServiceHandlerClient

func RegisterDevicesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DevicesServiceClient) error

RegisterDevicesServiceHandlerClient registers the http handlers for service DevicesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DevicesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DevicesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DevicesServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterDevicesServiceHandlerFromEndpoint

func RegisterDevicesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDevicesServiceHandlerFromEndpoint is same as RegisterDevicesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDevicesServiceHandlerServer

func RegisterDevicesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DevicesServiceServer) error

RegisterDevicesServiceHandlerServer registers the http handlers for service DevicesService to "mux". UnaryRPC :call DevicesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDevicesServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterDevicesServiceServer

func RegisterDevicesServiceServer(s grpc.ServiceRegistrar, srv DevicesServiceServer)

func RegisterRealmsServiceHandler

func RegisterRealmsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRealmsServiceHandler registers the http handlers for service RealmsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRealmsServiceHandlerClient

func RegisterRealmsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RealmsServiceClient) error

RegisterRealmsServiceHandlerClient registers the http handlers for service RealmsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RealmsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RealmsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RealmsServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterRealmsServiceHandlerFromEndpoint

func RegisterRealmsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRealmsServiceHandlerFromEndpoint is same as RegisterRealmsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRealmsServiceHandlerServer

func RegisterRealmsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RealmsServiceServer) error

RegisterRealmsServiceHandlerServer registers the http handlers for service RealmsService to "mux". UnaryRPC :call RealmsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRealmsServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterRealmsServiceServer

func RegisterRealmsServiceServer(s grpc.ServiceRegistrar, srv RealmsServiceServer)

func RegisterTokensServiceHandler

func RegisterTokensServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTokensServiceHandler registers the http handlers for service TokensService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTokensServiceHandlerClient

func RegisterTokensServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TokensServiceClient) error

RegisterTokensServiceHandlerClient registers the http handlers for service TokensService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TokensServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TokensServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TokensServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterTokensServiceHandlerFromEndpoint

func RegisterTokensServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTokensServiceHandlerFromEndpoint is same as RegisterTokensServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTokensServiceHandlerServer

func RegisterTokensServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TokensServiceServer) error

RegisterTokensServiceHandlerServer registers the http handlers for service TokensService to "mux". UnaryRPC :call TokensServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTokensServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterTokensServiceServer

func RegisterTokensServiceServer(s grpc.ServiceRegistrar, srv TokensServiceServer)

func RegisterUserStateServiceHandler

func RegisterUserStateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserStateServiceHandler registers the http handlers for service UserStateService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserStateServiceHandlerClient

func RegisterUserStateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserStateServiceClient) error

RegisterUserStateServiceHandlerClient registers the http handlers for service UserStateService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserStateServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserStateServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserStateServiceClient" to call the correct interceptors.

func RegisterUserStateServiceHandlerFromEndpoint

func RegisterUserStateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserStateServiceHandlerFromEndpoint is same as RegisterUserStateServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserStateServiceHandlerServer

func RegisterUserStateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserStateServiceServer) error

RegisterUserStateServiceHandlerServer registers the http handlers for service UserStateService to "mux". UnaryRPC :call UserStateServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserStateServiceHandlerFromEndpoint instead.

func RegisterUserStateServiceServer

func RegisterUserStateServiceServer(s grpc.ServiceRegistrar, srv UserStateServiceServer)

func RegisterUsersServiceHandler

func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUsersServiceHandler registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUsersServiceHandlerClient

func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error

RegisterUsersServiceHandlerClient registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterUsersServiceHandlerFromEndpoint

func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUsersServiceHandlerFromEndpoint is same as RegisterUsersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUsersServiceHandlerServer

func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error

RegisterUsersServiceHandlerServer registers the http handlers for service UsersService to "mux". UnaryRPC :call UsersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUsersServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterUsersServiceServer

func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)

Types

type CreateRealmRequest

type CreateRealmRequest struct {
	Disabled    bool                    `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Name        string                  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Title       string                  `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Description *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRealmRequest) Descriptor deprecated

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

Deprecated: Use CreateRealmRequest.ProtoReflect.Descriptor instead.

func (*CreateRealmRequest) GetDescription

func (x *CreateRealmRequest) GetDescription() *wrapperspb.StringValue

func (*CreateRealmRequest) GetDisabled

func (x *CreateRealmRequest) GetDisabled() bool

func (*CreateRealmRequest) GetName

func (x *CreateRealmRequest) GetName() string

func (*CreateRealmRequest) GetTitle

func (x *CreateRealmRequest) GetTitle() string

func (*CreateRealmRequest) ProtoMessage

func (*CreateRealmRequest) ProtoMessage()

func (*CreateRealmRequest) ProtoReflect

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

func (*CreateRealmRequest) Reset

func (x *CreateRealmRequest) Reset()

func (*CreateRealmRequest) String

func (x *CreateRealmRequest) String() string

func (*CreateRealmRequest) Validate

func (m *CreateRealmRequest) Validate() error

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

func (m *CreateRealmRequest) ValidateAll() error

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

type CreateRealmRequestMultiError

type CreateRealmRequestMultiError []error

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

func (CreateRealmRequestMultiError) AllErrors

func (m CreateRealmRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRealmRequestMultiError) Error

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

type CreateRealmRequestValidationError

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

CreateRealmRequestValidationError is the validation error returned by CreateRealmRequest.Validate if the designated constraints aren't met.

func (CreateRealmRequestValidationError) Cause

Cause function returns cause value.

func (CreateRealmRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRealmRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateRealmRequestValidationError) Field

Field function returns field value.

func (CreateRealmRequestValidationError) Key

Key function returns key value.

func (CreateRealmRequestValidationError) Reason

Reason function returns reason value.

type CreateRealmResponse

type CreateRealmResponse struct {
	Value *Realm `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRealmResponse) Descriptor deprecated

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

Deprecated: Use CreateRealmResponse.ProtoReflect.Descriptor instead.

func (*CreateRealmResponse) GetValue

func (x *CreateRealmResponse) GetValue() *Realm

func (*CreateRealmResponse) ProtoMessage

func (*CreateRealmResponse) ProtoMessage()

func (*CreateRealmResponse) ProtoReflect

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

func (*CreateRealmResponse) Reset

func (x *CreateRealmResponse) Reset()

func (*CreateRealmResponse) String

func (x *CreateRealmResponse) String() string

func (*CreateRealmResponse) Validate

func (m *CreateRealmResponse) Validate() error

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

func (m *CreateRealmResponse) ValidateAll() error

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

type CreateRealmResponseMultiError

type CreateRealmResponseMultiError []error

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

func (CreateRealmResponseMultiError) AllErrors

func (m CreateRealmResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRealmResponseMultiError) Error

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

type CreateRealmResponseValidationError

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

CreateRealmResponseValidationError is the validation error returned by CreateRealmResponse.Validate if the designated constraints aren't met.

func (CreateRealmResponseValidationError) Cause

Cause function returns cause value.

func (CreateRealmResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateRealmResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateRealmResponseValidationError) Field

Field function returns field value.

func (CreateRealmResponseValidationError) Key

Key function returns key value.

func (CreateRealmResponseValidationError) Reason

Reason function returns reason value.

type CreateTokenRequest

type CreateTokenRequest struct {
	Scope     []string                `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
	Realm     string                  `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"`
	Provider  string                  `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Username  *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password  *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	IdToken   *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
	Signature *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetIdToken

func (x *CreateTokenRequest) GetIdToken() *wrapperspb.StringValue

func (*CreateTokenRequest) GetPassword

func (x *CreateTokenRequest) GetPassword() *wrapperspb.StringValue

func (*CreateTokenRequest) GetProvider

func (x *CreateTokenRequest) GetProvider() string

func (*CreateTokenRequest) GetRealm

func (x *CreateTokenRequest) GetRealm() string

func (*CreateTokenRequest) GetScope

func (x *CreateTokenRequest) GetScope() []string

func (*CreateTokenRequest) GetSignature

func (x *CreateTokenRequest) GetSignature() *wrapperspb.StringValue

func (*CreateTokenRequest) GetUsername

func (x *CreateTokenRequest) GetUsername() *wrapperspb.StringValue

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect

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

func (*CreateTokenRequest) Reset

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (x *CreateTokenRequest) String() string

func (*CreateTokenRequest) Validate

func (m *CreateTokenRequest) Validate() error

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

func (m *CreateTokenRequest) ValidateAll() error

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

type CreateTokenRequestMultiError

type CreateTokenRequestMultiError []error

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

func (CreateTokenRequestMultiError) AllErrors

func (m CreateTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTokenRequestMultiError) Error

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

type CreateTokenRequestValidationError

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

CreateTokenRequestValidationError is the validation error returned by CreateTokenRequest.Validate if the designated constraints aren't met.

func (CreateTokenRequestValidationError) Cause

Cause function returns cause value.

func (CreateTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTokenRequestValidationError) Field

Field function returns field value.

func (CreateTokenRequestValidationError) Key

Key function returns key value.

func (CreateTokenRequestValidationError) Reason

Reason function returns reason value.

type CreateTokenResponse

type CreateTokenResponse struct {
	TokenType    string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ExpiresIn    int32  `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetAccessToken

func (x *CreateTokenResponse) GetAccessToken() string

func (*CreateTokenResponse) GetExpiresIn

func (x *CreateTokenResponse) GetExpiresIn() int32

func (*CreateTokenResponse) GetRefreshToken

func (x *CreateTokenResponse) GetRefreshToken() string

func (*CreateTokenResponse) GetTokenType

func (x *CreateTokenResponse) GetTokenType() string

func (*CreateTokenResponse) ProtoMessage

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect

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

func (*CreateTokenResponse) Reset

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String

func (x *CreateTokenResponse) String() string

func (*CreateTokenResponse) Validate

func (m *CreateTokenResponse) Validate() error

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

func (m *CreateTokenResponse) ValidateAll() error

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

type CreateTokenResponseMultiError

type CreateTokenResponseMultiError []error

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

func (CreateTokenResponseMultiError) AllErrors

func (m CreateTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTokenResponseMultiError) Error

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

type CreateTokenResponseValidationError

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

CreateTokenResponseValidationError is the validation error returned by CreateTokenResponse.Validate if the designated constraints aren't met.

func (CreateTokenResponseValidationError) Cause

Cause function returns cause value.

func (CreateTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateTokenResponseValidationError) Field

Field function returns field value.

func (CreateTokenResponseValidationError) Key

Key function returns key value.

func (CreateTokenResponseValidationError) Reason

Reason function returns reason value.

type DeleteRealmRequest

type DeleteRealmRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRealmRequest) Descriptor deprecated

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

Deprecated: Use DeleteRealmRequest.ProtoReflect.Descriptor instead.

func (*DeleteRealmRequest) GetId

func (x *DeleteRealmRequest) GetId() string

func (*DeleteRealmRequest) ProtoMessage

func (*DeleteRealmRequest) ProtoMessage()

func (*DeleteRealmRequest) ProtoReflect

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

func (*DeleteRealmRequest) Reset

func (x *DeleteRealmRequest) Reset()

func (*DeleteRealmRequest) String

func (x *DeleteRealmRequest) String() string

func (*DeleteRealmRequest) Validate

func (m *DeleteRealmRequest) Validate() error

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

func (m *DeleteRealmRequest) ValidateAll() error

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

type DeleteRealmRequestMultiError

type DeleteRealmRequestMultiError []error

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

func (DeleteRealmRequestMultiError) AllErrors

func (m DeleteRealmRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRealmRequestMultiError) Error

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

type DeleteRealmRequestValidationError

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

DeleteRealmRequestValidationError is the validation error returned by DeleteRealmRequest.Validate if the designated constraints aren't met.

func (DeleteRealmRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRealmRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRealmRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteRealmRequestValidationError) Field

Field function returns field value.

func (DeleteRealmRequestValidationError) Key

Key function returns key value.

func (DeleteRealmRequestValidationError) Reason

Reason function returns reason value.

type DeleteRealmResponse

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

func (*DeleteRealmResponse) Descriptor deprecated

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

Deprecated: Use DeleteRealmResponse.ProtoReflect.Descriptor instead.

func (*DeleteRealmResponse) ProtoMessage

func (*DeleteRealmResponse) ProtoMessage()

func (*DeleteRealmResponse) ProtoReflect

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

func (*DeleteRealmResponse) Reset

func (x *DeleteRealmResponse) Reset()

func (*DeleteRealmResponse) String

func (x *DeleteRealmResponse) String() string

func (*DeleteRealmResponse) Validate

func (m *DeleteRealmResponse) Validate() error

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

func (m *DeleteRealmResponse) ValidateAll() error

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

type DeleteRealmResponseMultiError

type DeleteRealmResponseMultiError []error

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

func (DeleteRealmResponseMultiError) AllErrors

func (m DeleteRealmResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRealmResponseMultiError) Error

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

type DeleteRealmResponseValidationError

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

DeleteRealmResponseValidationError is the validation error returned by DeleteRealmResponse.Validate if the designated constraints aren't met.

func (DeleteRealmResponseValidationError) Cause

Cause function returns cause value.

func (DeleteRealmResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteRealmResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteRealmResponseValidationError) Field

Field function returns field value.

func (DeleteRealmResponseValidationError) Key

Key function returns key value.

func (DeleteRealmResponseValidationError) Reason

Reason function returns reason value.

type DevicesServiceClient

type DevicesServiceClient interface {
	PatchDevice(ctx context.Context, in *PatchDeviceRequest, opts ...grpc.CallOption) (*PatchDeviceResponse, error)
}

DevicesServiceClient is the client API for DevicesService 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 DevicesServiceServer

type DevicesServiceServer interface {
	PatchDevice(context.Context, *PatchDeviceRequest) (*PatchDeviceResponse, error)
	// contains filtered or unexported methods
}

DevicesServiceServer is the server API for DevicesService service. All implementations must embed UnimplementedDevicesServiceServer for forward compatibility.

type GetIdentityRequest

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

func (*GetIdentityRequest) Descriptor deprecated

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

Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityRequest) ProtoMessage

func (*GetIdentityRequest) ProtoMessage()

func (*GetIdentityRequest) ProtoReflect

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

func (*GetIdentityRequest) Reset

func (x *GetIdentityRequest) Reset()

func (*GetIdentityRequest) String

func (x *GetIdentityRequest) String() string

func (*GetIdentityRequest) Validate

func (m *GetIdentityRequest) Validate() error

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

func (m *GetIdentityRequest) ValidateAll() error

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

type GetIdentityRequestMultiError

type GetIdentityRequestMultiError []error

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

func (GetIdentityRequestMultiError) AllErrors

func (m GetIdentityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetIdentityRequestMultiError) Error

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

type GetIdentityRequestValidationError

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

GetIdentityRequestValidationError is the validation error returned by GetIdentityRequest.Validate if the designated constraints aren't met.

func (GetIdentityRequestValidationError) Cause

Cause function returns cause value.

func (GetIdentityRequestValidationError) Error

Error satisfies the builtin error interface

func (GetIdentityRequestValidationError) ErrorName

ErrorName returns error name.

func (GetIdentityRequestValidationError) Field

Field function returns field value.

func (GetIdentityRequestValidationError) Key

Key function returns key value.

func (GetIdentityRequestValidationError) Reason

Reason function returns reason value.

type GetIdentityResponse

type GetIdentityResponse struct {
	User  *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityResponse) Descriptor deprecated

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

Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetIdentityResponse) GetScope

func (x *GetIdentityResponse) GetScope() []string

func (*GetIdentityResponse) GetUser

func (x *GetIdentityResponse) GetUser() *User

func (*GetIdentityResponse) ProtoMessage

func (*GetIdentityResponse) ProtoMessage()

func (*GetIdentityResponse) ProtoReflect

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

func (*GetIdentityResponse) Reset

func (x *GetIdentityResponse) Reset()

func (*GetIdentityResponse) String

func (x *GetIdentityResponse) String() string

func (*GetIdentityResponse) Validate

func (m *GetIdentityResponse) Validate() error

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

func (m *GetIdentityResponse) ValidateAll() error

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

type GetIdentityResponseMultiError

type GetIdentityResponseMultiError []error

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

func (GetIdentityResponseMultiError) AllErrors

func (m GetIdentityResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetIdentityResponseMultiError) Error

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

type GetIdentityResponseValidationError

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

GetIdentityResponseValidationError is the validation error returned by GetIdentityResponse.Validate if the designated constraints aren't met.

func (GetIdentityResponseValidationError) Cause

Cause function returns cause value.

func (GetIdentityResponseValidationError) Error

Error satisfies the builtin error interface

func (GetIdentityResponseValidationError) ErrorName

ErrorName returns error name.

func (GetIdentityResponseValidationError) Field

Field function returns field value.

func (GetIdentityResponseValidationError) Key

Key function returns key value.

func (GetIdentityResponseValidationError) Reason

Reason function returns reason value.

type GetRealmRequest

type GetRealmRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRealmRequest) Descriptor deprecated

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

Deprecated: Use GetRealmRequest.ProtoReflect.Descriptor instead.

func (*GetRealmRequest) GetId

func (x *GetRealmRequest) GetId() string

func (*GetRealmRequest) ProtoMessage

func (*GetRealmRequest) ProtoMessage()

func (*GetRealmRequest) ProtoReflect

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

func (*GetRealmRequest) Reset

func (x *GetRealmRequest) Reset()

func (*GetRealmRequest) String

func (x *GetRealmRequest) String() string

func (*GetRealmRequest) Validate

func (m *GetRealmRequest) Validate() error

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

func (m *GetRealmRequest) ValidateAll() error

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

type GetRealmRequestMultiError

type GetRealmRequestMultiError []error

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

func (GetRealmRequestMultiError) AllErrors

func (m GetRealmRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRealmRequestMultiError) Error

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

type GetRealmRequestValidationError

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

GetRealmRequestValidationError is the validation error returned by GetRealmRequest.Validate if the designated constraints aren't met.

func (GetRealmRequestValidationError) Cause

Cause function returns cause value.

func (GetRealmRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRealmRequestValidationError) ErrorName

func (e GetRealmRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRealmRequestValidationError) Field

Field function returns field value.

func (GetRealmRequestValidationError) Key

Key function returns key value.

func (GetRealmRequestValidationError) Reason

Reason function returns reason value.

type GetRealmResponse

type GetRealmResponse struct {
	Value *Realm `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRealmResponse) Descriptor deprecated

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

Deprecated: Use GetRealmResponse.ProtoReflect.Descriptor instead.

func (*GetRealmResponse) GetValue

func (x *GetRealmResponse) GetValue() *Realm

func (*GetRealmResponse) ProtoMessage

func (*GetRealmResponse) ProtoMessage()

func (*GetRealmResponse) ProtoReflect

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

func (*GetRealmResponse) Reset

func (x *GetRealmResponse) Reset()

func (*GetRealmResponse) String

func (x *GetRealmResponse) String() string

func (*GetRealmResponse) Validate

func (m *GetRealmResponse) Validate() error

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

func (m *GetRealmResponse) ValidateAll() error

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

type GetRealmResponseMultiError

type GetRealmResponseMultiError []error

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

func (GetRealmResponseMultiError) AllErrors

func (m GetRealmResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRealmResponseMultiError) Error

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

type GetRealmResponseValidationError

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

GetRealmResponseValidationError is the validation error returned by GetRealmResponse.Validate if the designated constraints aren't met.

func (GetRealmResponseValidationError) Cause

Cause function returns cause value.

func (GetRealmResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRealmResponseValidationError) ErrorName

ErrorName returns error name.

func (GetRealmResponseValidationError) Field

Field function returns field value.

func (GetRealmResponseValidationError) Key

Key function returns key value.

func (GetRealmResponseValidationError) Reason

Reason function returns reason value.

type GetStateRequest

type GetStateRequest struct {
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStateRequest) Descriptor deprecated

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

Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead.

func (*GetStateRequest) GetPattern

func (x *GetStateRequest) GetPattern() string

func (*GetStateRequest) ProtoMessage

func (*GetStateRequest) ProtoMessage()

func (*GetStateRequest) ProtoReflect

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

func (*GetStateRequest) Reset

func (x *GetStateRequest) Reset()

func (*GetStateRequest) String

func (x *GetStateRequest) String() string

func (*GetStateRequest) Validate

func (m *GetStateRequest) Validate() error

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

func (m *GetStateRequest) ValidateAll() error

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

type GetStateRequestMultiError

type GetStateRequestMultiError []error

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

func (GetStateRequestMultiError) AllErrors

func (m GetStateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStateRequestMultiError) Error

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

type GetStateRequestValidationError

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

GetStateRequestValidationError is the validation error returned by GetStateRequest.Validate if the designated constraints aren't met.

func (GetStateRequestValidationError) Cause

Cause function returns cause value.

func (GetStateRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStateRequestValidationError) ErrorName

func (e GetStateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetStateRequestValidationError) Field

Field function returns field value.

func (GetStateRequestValidationError) Key

Key function returns key value.

func (GetStateRequestValidationError) Reason

Reason function returns reason value.

type GetStateResponse

type GetStateResponse struct {
	State map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetStateResponse) Descriptor deprecated

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

Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.

func (*GetStateResponse) GetState

func (x *GetStateResponse) GetState() map[string]string

func (*GetStateResponse) ProtoMessage

func (*GetStateResponse) ProtoMessage()

func (*GetStateResponse) ProtoReflect

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

func (*GetStateResponse) Reset

func (x *GetStateResponse) Reset()

func (*GetStateResponse) String

func (x *GetStateResponse) String() string

func (*GetStateResponse) Validate

func (m *GetStateResponse) Validate() error

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

func (m *GetStateResponse) ValidateAll() error

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

type GetStateResponseMultiError

type GetStateResponseMultiError []error

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

func (GetStateResponseMultiError) AllErrors

func (m GetStateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStateResponseMultiError) Error

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

type GetStateResponseValidationError

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

GetStateResponseValidationError is the validation error returned by GetStateResponse.Validate if the designated constraints aren't met.

func (GetStateResponseValidationError) Cause

Cause function returns cause value.

func (GetStateResponseValidationError) Error

Error satisfies the builtin error interface

func (GetStateResponseValidationError) ErrorName

ErrorName returns error name.

func (GetStateResponseValidationError) Field

Field function returns field value.

func (GetStateResponseValidationError) Key

Key function returns key value.

func (GetStateResponseValidationError) Reason

Reason function returns reason value.

type ListRealmsRequest

type ListRealmsRequest struct {
	Page int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size int32  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRealmsRequest) Descriptor deprecated

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

Deprecated: Use ListRealmsRequest.ProtoReflect.Descriptor instead.

func (*ListRealmsRequest) GetPage

func (x *ListRealmsRequest) GetPage() int32

func (*ListRealmsRequest) GetSize

func (x *ListRealmsRequest) GetSize() int32

func (*ListRealmsRequest) GetSort

func (x *ListRealmsRequest) GetSort() string

func (*ListRealmsRequest) ProtoMessage

func (*ListRealmsRequest) ProtoMessage()

func (*ListRealmsRequest) ProtoReflect

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

func (*ListRealmsRequest) Reset

func (x *ListRealmsRequest) Reset()

func (*ListRealmsRequest) String

func (x *ListRealmsRequest) String() string

func (*ListRealmsRequest) Validate

func (m *ListRealmsRequest) Validate() error

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

func (m *ListRealmsRequest) ValidateAll() error

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

type ListRealmsRequestMultiError

type ListRealmsRequestMultiError []error

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

func (ListRealmsRequestMultiError) AllErrors

func (m ListRealmsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRealmsRequestMultiError) Error

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

type ListRealmsRequestValidationError

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

ListRealmsRequestValidationError is the validation error returned by ListRealmsRequest.Validate if the designated constraints aren't met.

func (ListRealmsRequestValidationError) Cause

Cause function returns cause value.

func (ListRealmsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRealmsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListRealmsRequestValidationError) Field

Field function returns field value.

func (ListRealmsRequestValidationError) Key

Key function returns key value.

func (ListRealmsRequestValidationError) Reason

Reason function returns reason value.

type ListRealmsResponse

type ListRealmsResponse struct {
	Items []*Realm `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Page  int32    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Size  int32    `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Total int64    `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRealmsResponse) Descriptor deprecated

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

Deprecated: Use ListRealmsResponse.ProtoReflect.Descriptor instead.

func (*ListRealmsResponse) GetItems

func (x *ListRealmsResponse) GetItems() []*Realm

func (*ListRealmsResponse) GetPage

func (x *ListRealmsResponse) GetPage() int32

func (*ListRealmsResponse) GetSize

func (x *ListRealmsResponse) GetSize() int32

func (*ListRealmsResponse) GetTotal

func (x *ListRealmsResponse) GetTotal() int64

func (*ListRealmsResponse) ProtoMessage

func (*ListRealmsResponse) ProtoMessage()

func (*ListRealmsResponse) ProtoReflect

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

func (*ListRealmsResponse) Reset

func (x *ListRealmsResponse) Reset()

func (*ListRealmsResponse) String

func (x *ListRealmsResponse) String() string

func (*ListRealmsResponse) Validate

func (m *ListRealmsResponse) Validate() error

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

func (m *ListRealmsResponse) ValidateAll() error

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

type ListRealmsResponseMultiError

type ListRealmsResponseMultiError []error

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

func (ListRealmsResponseMultiError) AllErrors

func (m ListRealmsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRealmsResponseMultiError) Error

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

type ListRealmsResponseValidationError

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

ListRealmsResponseValidationError is the validation error returned by ListRealmsResponse.Validate if the designated constraints aren't met.

func (ListRealmsResponseValidationError) Cause

Cause function returns cause value.

func (ListRealmsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListRealmsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListRealmsResponseValidationError) Field

Field function returns field value.

func (ListRealmsResponseValidationError) Key

Key function returns key value.

func (ListRealmsResponseValidationError) Reason

Reason function returns reason value.

type ListUsersRequest

type ListUsersRequest struct {
	Page int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size int32  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetPage

func (x *ListUsersRequest) GetPage() int32

func (*ListUsersRequest) GetSize

func (x *ListUsersRequest) GetSize() int32

func (*ListUsersRequest) GetSort

func (x *ListUsersRequest) GetSort() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate() error

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

func (m *ListUsersRequest) ValidateAll() error

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

type ListUsersRequestMultiError

type ListUsersRequestMultiError []error

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

func (ListUsersRequestMultiError) AllErrors

func (m ListUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersRequestMultiError) Error

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

type ListUsersRequestValidationError

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

ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.

func (ListUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUsersRequestValidationError) Field

Field function returns field value.

func (ListUsersRequestValidationError) Key

Key function returns key value.

func (ListUsersRequestValidationError) Reason

Reason function returns reason value.

type ListUsersResponse

type ListUsersResponse struct {
	Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Page  int32   `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Size  int32   `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Total int64   `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetItems

func (x *ListUsersResponse) GetItems() []*User

func (*ListUsersResponse) GetPage

func (x *ListUsersResponse) GetPage() int32

func (*ListUsersResponse) GetSize

func (x *ListUsersResponse) GetSize() int32

func (*ListUsersResponse) GetTotal

func (x *ListUsersResponse) GetTotal() int64

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

func (*ListUsersResponse) Validate

func (m *ListUsersResponse) Validate() error

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

func (m *ListUsersResponse) ValidateAll() error

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

type ListUsersResponseMultiError

type ListUsersResponseMultiError []error

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

func (ListUsersResponseMultiError) AllErrors

func (m ListUsersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersResponseMultiError) Error

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

type ListUsersResponseValidationError

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

ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.

func (ListUsersResponseValidationError) Cause

Cause function returns cause value.

func (ListUsersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUsersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUsersResponseValidationError) Field

Field function returns field value.

func (ListUsersResponseValidationError) Key

Key function returns key value.

func (ListUsersResponseValidationError) Reason

Reason function returns reason value.

type PatchDeviceRequest

type PatchDeviceRequest struct {
	TraceCode string                  `protobuf:"bytes,1,opt,name=trace_code,json=traceCode,proto3" json:"trace_code,omitempty"`
	PushToken *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=push_token,json=pushToken,proto3" json:"push_token,omitempty"`
	Metadata  map[string]string       `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PatchDeviceRequest) Descriptor deprecated

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

Deprecated: Use PatchDeviceRequest.ProtoReflect.Descriptor instead.

func (*PatchDeviceRequest) GetMetadata

func (x *PatchDeviceRequest) GetMetadata() map[string]string

func (*PatchDeviceRequest) GetPushToken

func (x *PatchDeviceRequest) GetPushToken() *wrapperspb.StringValue

func (*PatchDeviceRequest) GetTraceCode

func (x *PatchDeviceRequest) GetTraceCode() string

func (*PatchDeviceRequest) ProtoMessage

func (*PatchDeviceRequest) ProtoMessage()

func (*PatchDeviceRequest) ProtoReflect

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

func (*PatchDeviceRequest) Reset

func (x *PatchDeviceRequest) Reset()

func (*PatchDeviceRequest) String

func (x *PatchDeviceRequest) String() string

func (*PatchDeviceRequest) Validate

func (m *PatchDeviceRequest) Validate() error

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

func (m *PatchDeviceRequest) ValidateAll() error

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

type PatchDeviceRequestMultiError

type PatchDeviceRequestMultiError []error

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

func (PatchDeviceRequestMultiError) AllErrors

func (m PatchDeviceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PatchDeviceRequestMultiError) Error

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

type PatchDeviceRequestValidationError

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

PatchDeviceRequestValidationError is the validation error returned by PatchDeviceRequest.Validate if the designated constraints aren't met.

func (PatchDeviceRequestValidationError) Cause

Cause function returns cause value.

func (PatchDeviceRequestValidationError) Error

Error satisfies the builtin error interface

func (PatchDeviceRequestValidationError) ErrorName

ErrorName returns error name.

func (PatchDeviceRequestValidationError) Field

Field function returns field value.

func (PatchDeviceRequestValidationError) Key

Key function returns key value.

func (PatchDeviceRequestValidationError) Reason

Reason function returns reason value.

type PatchDeviceResponse

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

func (*PatchDeviceResponse) Descriptor deprecated

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

Deprecated: Use PatchDeviceResponse.ProtoReflect.Descriptor instead.

func (*PatchDeviceResponse) ProtoMessage

func (*PatchDeviceResponse) ProtoMessage()

func (*PatchDeviceResponse) ProtoReflect

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

func (*PatchDeviceResponse) Reset

func (x *PatchDeviceResponse) Reset()

func (*PatchDeviceResponse) String

func (x *PatchDeviceResponse) String() string

func (*PatchDeviceResponse) Validate

func (m *PatchDeviceResponse) Validate() error

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

func (m *PatchDeviceResponse) ValidateAll() error

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

type PatchDeviceResponseMultiError

type PatchDeviceResponseMultiError []error

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

func (PatchDeviceResponseMultiError) AllErrors

func (m PatchDeviceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PatchDeviceResponseMultiError) Error

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

type PatchDeviceResponseValidationError

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

PatchDeviceResponseValidationError is the validation error returned by PatchDeviceResponse.Validate if the designated constraints aren't met.

func (PatchDeviceResponseValidationError) Cause

Cause function returns cause value.

func (PatchDeviceResponseValidationError) Error

Error satisfies the builtin error interface

func (PatchDeviceResponseValidationError) ErrorName

ErrorName returns error name.

func (PatchDeviceResponseValidationError) Field

Field function returns field value.

func (PatchDeviceResponseValidationError) Key

Key function returns key value.

func (PatchDeviceResponseValidationError) Reason

Reason function returns reason value.

type Realm

type Realm struct {
	Id          string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Disabled    bool                    `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Immutable   bool                    `protobuf:"varint,3,opt,name=immutable,proto3" json:"immutable,omitempty"`
	CreatedAt   *timestamppb.Timestamp  `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp  `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp  `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	Name        string                  `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Title       string                  `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	Description *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Realm) Descriptor deprecated

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

Deprecated: Use Realm.ProtoReflect.Descriptor instead.

func (*Realm) GetCreatedAt

func (x *Realm) GetCreatedAt() *timestamppb.Timestamp

func (*Realm) GetDeletedAt

func (x *Realm) GetDeletedAt() *timestamppb.Timestamp

func (*Realm) GetDescription

func (x *Realm) GetDescription() *wrapperspb.StringValue

func (*Realm) GetDisabled

func (x *Realm) GetDisabled() bool

func (*Realm) GetId

func (x *Realm) GetId() string

func (*Realm) GetImmutable

func (x *Realm) GetImmutable() bool

func (*Realm) GetName

func (x *Realm) GetName() string

func (*Realm) GetTitle

func (x *Realm) GetTitle() string

func (*Realm) GetUpdatedAt

func (x *Realm) GetUpdatedAt() *timestamppb.Timestamp

func (*Realm) ProtoMessage

func (*Realm) ProtoMessage()

func (*Realm) ProtoReflect

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

func (*Realm) Reset

func (x *Realm) Reset()

func (*Realm) String

func (x *Realm) String() string

func (*Realm) Validate

func (m *Realm) Validate() error

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

func (m *Realm) ValidateAll() error

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

type RealmMultiError

type RealmMultiError []error

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

func (RealmMultiError) AllErrors

func (m RealmMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RealmMultiError) Error

func (m RealmMultiError) Error() string

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

type RealmValidationError

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

RealmValidationError is the validation error returned by Realm.Validate if the designated constraints aren't met.

func (RealmValidationError) Cause

func (e RealmValidationError) Cause() error

Cause function returns cause value.

func (RealmValidationError) Error

func (e RealmValidationError) Error() string

Error satisfies the builtin error interface

func (RealmValidationError) ErrorName

func (e RealmValidationError) ErrorName() string

ErrorName returns error name.

func (RealmValidationError) Field

func (e RealmValidationError) Field() string

Field function returns field value.

func (RealmValidationError) Key

func (e RealmValidationError) Key() bool

Key function returns key value.

func (RealmValidationError) Reason

func (e RealmValidationError) Reason() string

Reason function returns reason value.

type RealmsServiceClient

type RealmsServiceClient interface {
	CreateRealm(ctx context.Context, in *CreateRealmRequest, opts ...grpc.CallOption) (*CreateRealmResponse, error)
	GetRealm(ctx context.Context, in *GetRealmRequest, opts ...grpc.CallOption) (*GetRealmResponse, error)
	ListRealms(ctx context.Context, in *ListRealmsRequest, opts ...grpc.CallOption) (*ListRealmsResponse, error)
	UpdateRealm(ctx context.Context, in *UpdateRealmRequest, opts ...grpc.CallOption) (*UpdateRealmResponse, error)
	DeleteRealm(ctx context.Context, in *DeleteRealmRequest, opts ...grpc.CallOption) (*DeleteRealmResponse, error)
}

RealmsServiceClient is the client API for RealmsService 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 RealmsServiceServer

type RealmsServiceServer interface {
	CreateRealm(context.Context, *CreateRealmRequest) (*CreateRealmResponse, error)
	GetRealm(context.Context, *GetRealmRequest) (*GetRealmResponse, error)
	ListRealms(context.Context, *ListRealmsRequest) (*ListRealmsResponse, error)
	UpdateRealm(context.Context, *UpdateRealmRequest) (*UpdateRealmResponse, error)
	DeleteRealm(context.Context, *DeleteRealmRequest) (*DeleteRealmResponse, error)
	// contains filtered or unexported methods
}

RealmsServiceServer is the server API for RealmsService service. All implementations must embed UnimplementedRealmsServiceServer for forward compatibility.

type RefreshTokenRequest

type RefreshTokenRequest struct {
	Scope        []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
	Realm        string   `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"`
	RefreshToken string   `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRealm

func (x *RefreshTokenRequest) GetRealm() string

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) GetScope

func (x *RefreshTokenRequest) GetScope() []string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

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

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

func (*RefreshTokenRequest) Validate

func (m *RefreshTokenRequest) Validate() error

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

func (m *RefreshTokenRequest) ValidateAll() error

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

type RefreshTokenRequestMultiError

type RefreshTokenRequestMultiError []error

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

func (RefreshTokenRequestMultiError) AllErrors

func (m RefreshTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshTokenRequestMultiError) Error

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

type RefreshTokenRequestValidationError

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

RefreshTokenRequestValidationError is the validation error returned by RefreshTokenRequest.Validate if the designated constraints aren't met.

func (RefreshTokenRequestValidationError) Cause

Cause function returns cause value.

func (RefreshTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenRequestValidationError) Field

Field function returns field value.

func (RefreshTokenRequestValidationError) Key

Key function returns key value.

func (RefreshTokenRequestValidationError) Reason

Reason function returns reason value.

type RefreshTokenResponse

type RefreshTokenResponse struct {
	TokenType    string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ExpiresIn    int32  `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetExpiresIn

func (x *RefreshTokenResponse) GetExpiresIn() int32

func (*RefreshTokenResponse) GetRefreshToken

func (x *RefreshTokenResponse) GetRefreshToken() string

func (*RefreshTokenResponse) GetTokenType

func (x *RefreshTokenResponse) GetTokenType() string

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

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

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

func (*RefreshTokenResponse) Validate

func (m *RefreshTokenResponse) Validate() error

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

func (m *RefreshTokenResponse) ValidateAll() error

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

type RefreshTokenResponseMultiError

type RefreshTokenResponseMultiError []error

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

func (RefreshTokenResponseMultiError) AllErrors

func (m RefreshTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshTokenResponseMultiError) Error

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

type RefreshTokenResponseValidationError

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

RefreshTokenResponseValidationError is the validation error returned by RefreshTokenResponse.Validate if the designated constraints aren't met.

func (RefreshTokenResponseValidationError) Cause

Cause function returns cause value.

func (RefreshTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenResponseValidationError) Field

Field function returns field value.

func (RefreshTokenResponseValidationError) Key

Key function returns key value.

func (RefreshTokenResponseValidationError) Reason

Reason function returns reason value.

type RegisterRequest

type RegisterRequest struct {
	Realm       string                  `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	Username    string                  `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password    string                  `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	DisplayName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	AvatarUrl   *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Gender      gender.Gender           `protobuf:"varint,6,opt,name=gender,proto3,enum=gommerce.types.v1.Gender" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAvatarUrl

func (x *RegisterRequest) GetAvatarUrl() *wrapperspb.StringValue

func (*RegisterRequest) GetDisplayName

func (x *RegisterRequest) GetDisplayName() *wrapperspb.StringValue

func (*RegisterRequest) GetGender

func (x *RegisterRequest) GetGender() gender.Gender

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetRealm

func (x *RegisterRequest) GetRealm() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate() error

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

func (m *RegisterRequest) ValidateAll() error

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

type RegisterRequestMultiError

type RegisterRequestMultiError []error

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

func (RegisterRequestMultiError) AllErrors

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error

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

type RegisterRequestValidationError

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

RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type RegisterResponse

type RegisterResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetUser

func (x *RegisterResponse) GetUser() *User

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

func (*RegisterResponse) Validate

func (m *RegisterResponse) Validate() error

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

func (m *RegisterResponse) ValidateAll() error

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

type RegisterResponseMultiError

type RegisterResponseMultiError []error

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

func (RegisterResponseMultiError) AllErrors

func (m RegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterResponseMultiError) Error

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

type RegisterResponseValidationError

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

RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.

func (RegisterResponseValidationError) Cause

Cause function returns cause value.

func (RegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterResponseValidationError) Field

Field function returns field value.

func (RegisterResponseValidationError) Key

Key function returns key value.

func (RegisterResponseValidationError) Reason

Reason function returns reason value.

type RevokeTokenRequest

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

func (*RevokeTokenRequest) Descriptor deprecated

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

Deprecated: Use RevokeTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeTokenRequest) ProtoMessage

func (*RevokeTokenRequest) ProtoMessage()

func (*RevokeTokenRequest) ProtoReflect

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

func (*RevokeTokenRequest) Reset

func (x *RevokeTokenRequest) Reset()

func (*RevokeTokenRequest) String

func (x *RevokeTokenRequest) String() string

func (*RevokeTokenRequest) Validate

func (m *RevokeTokenRequest) Validate() error

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

func (m *RevokeTokenRequest) ValidateAll() error

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

type RevokeTokenRequestMultiError

type RevokeTokenRequestMultiError []error

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

func (RevokeTokenRequestMultiError) AllErrors

func (m RevokeTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeTokenRequestMultiError) Error

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

type RevokeTokenRequestValidationError

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

RevokeTokenRequestValidationError is the validation error returned by RevokeTokenRequest.Validate if the designated constraints aren't met.

func (RevokeTokenRequestValidationError) Cause

Cause function returns cause value.

func (RevokeTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (RevokeTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (RevokeTokenRequestValidationError) Field

Field function returns field value.

func (RevokeTokenRequestValidationError) Key

Key function returns key value.

func (RevokeTokenRequestValidationError) Reason

Reason function returns reason value.

type RevokeTokenResponse

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

func (*RevokeTokenResponse) Descriptor deprecated

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

Deprecated: Use RevokeTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeTokenResponse) ProtoMessage

func (*RevokeTokenResponse) ProtoMessage()

func (*RevokeTokenResponse) ProtoReflect

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

func (*RevokeTokenResponse) Reset

func (x *RevokeTokenResponse) Reset()

func (*RevokeTokenResponse) String

func (x *RevokeTokenResponse) String() string

func (*RevokeTokenResponse) Validate

func (m *RevokeTokenResponse) Validate() error

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

func (m *RevokeTokenResponse) ValidateAll() error

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

type RevokeTokenResponseMultiError

type RevokeTokenResponseMultiError []error

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

func (RevokeTokenResponseMultiError) AllErrors

func (m RevokeTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeTokenResponseMultiError) Error

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

type RevokeTokenResponseValidationError

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

RevokeTokenResponseValidationError is the validation error returned by RevokeTokenResponse.Validate if the designated constraints aren't met.

func (RevokeTokenResponseValidationError) Cause

Cause function returns cause value.

func (RevokeTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (RevokeTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (RevokeTokenResponseValidationError) Field

Field function returns field value.

func (RevokeTokenResponseValidationError) Key

Key function returns key value.

func (RevokeTokenResponseValidationError) Reason

Reason function returns reason value.

type SetStateRequest

type SetStateRequest struct {
	State map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SetStateRequest) Descriptor deprecated

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

Deprecated: Use SetStateRequest.ProtoReflect.Descriptor instead.

func (*SetStateRequest) GetState

func (x *SetStateRequest) GetState() map[string]string

func (*SetStateRequest) ProtoMessage

func (*SetStateRequest) ProtoMessage()

func (*SetStateRequest) ProtoReflect

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

func (*SetStateRequest) Reset

func (x *SetStateRequest) Reset()

func (*SetStateRequest) String

func (x *SetStateRequest) String() string

func (*SetStateRequest) Validate

func (m *SetStateRequest) Validate() error

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

func (m *SetStateRequest) ValidateAll() error

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

type SetStateRequestMultiError

type SetStateRequestMultiError []error

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

func (SetStateRequestMultiError) AllErrors

func (m SetStateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetStateRequestMultiError) Error

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

type SetStateRequestValidationError

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

SetStateRequestValidationError is the validation error returned by SetStateRequest.Validate if the designated constraints aren't met.

func (SetStateRequestValidationError) Cause

Cause function returns cause value.

func (SetStateRequestValidationError) Error

Error satisfies the builtin error interface

func (SetStateRequestValidationError) ErrorName

func (e SetStateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SetStateRequestValidationError) Field

Field function returns field value.

func (SetStateRequestValidationError) Key

Key function returns key value.

func (SetStateRequestValidationError) Reason

Reason function returns reason value.

type SetStateResponse

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

func (*SetStateResponse) Descriptor deprecated

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

Deprecated: Use SetStateResponse.ProtoReflect.Descriptor instead.

func (*SetStateResponse) ProtoMessage

func (*SetStateResponse) ProtoMessage()

func (*SetStateResponse) ProtoReflect

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

func (*SetStateResponse) Reset

func (x *SetStateResponse) Reset()

func (*SetStateResponse) String

func (x *SetStateResponse) String() string

func (*SetStateResponse) Validate

func (m *SetStateResponse) Validate() error

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

func (m *SetStateResponse) ValidateAll() error

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

type SetStateResponseMultiError

type SetStateResponseMultiError []error

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

func (SetStateResponseMultiError) AllErrors

func (m SetStateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetStateResponseMultiError) Error

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

type SetStateResponseValidationError

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

SetStateResponseValidationError is the validation error returned by SetStateResponse.Validate if the designated constraints aren't met.

func (SetStateResponseValidationError) Cause

Cause function returns cause value.

func (SetStateResponseValidationError) Error

Error satisfies the builtin error interface

func (SetStateResponseValidationError) ErrorName

ErrorName returns error name.

func (SetStateResponseValidationError) Field

Field function returns field value.

func (SetStateResponseValidationError) Key

Key function returns key value.

func (SetStateResponseValidationError) Reason

Reason function returns reason value.

type TokensServiceClient

type TokensServiceClient interface {
	CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error)
	RevokeToken(ctx context.Context, in *RevokeTokenRequest, opts ...grpc.CallOption) (*RevokeTokenResponse, error)
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
}

TokensServiceClient is the client API for TokensService 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 TokensServiceServer

type TokensServiceServer interface {
	CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error)
	RevokeToken(context.Context, *RevokeTokenRequest) (*RevokeTokenResponse, error)
	RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// contains filtered or unexported methods
}

TokensServiceServer is the server API for TokensService service. All implementations must embed UnimplementedTokensServiceServer for forward compatibility.

type UnimplementedDevicesServiceServer

type UnimplementedDevicesServiceServer struct{}

UnimplementedDevicesServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDevicesServiceServer) PatchDevice

type UnimplementedRealmsServiceServer

type UnimplementedRealmsServiceServer struct{}

UnimplementedRealmsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRealmsServiceServer) CreateRealm

func (UnimplementedRealmsServiceServer) DeleteRealm

func (UnimplementedRealmsServiceServer) GetRealm

func (UnimplementedRealmsServiceServer) ListRealms

func (UnimplementedRealmsServiceServer) UpdateRealm

type UnimplementedTokensServiceServer

type UnimplementedTokensServiceServer struct{}

UnimplementedTokensServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTokensServiceServer) CreateToken

func (UnimplementedTokensServiceServer) RefreshToken

func (UnimplementedTokensServiceServer) RevokeToken

type UnimplementedUserStateServiceServer

type UnimplementedUserStateServiceServer struct {
}

UnimplementedUserStateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserStateServiceServer) GetState

func (UnimplementedUserStateServiceServer) SetState

type UnimplementedUsersServiceServer

type UnimplementedUsersServiceServer struct{}

UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUsersServiceServer) GetIdentity

func (UnimplementedUsersServiceServer) ListUsers

func (UnimplementedUsersServiceServer) Register

type UnsafeDevicesServiceServer

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

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

type UnsafeRealmsServiceServer

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

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

type UnsafeTokensServiceServer

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

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

type UnsafeUserStateServiceServer

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

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

type UnsafeUsersServiceServer

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

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

type UpdateRealmRequest

type UpdateRealmRequest struct {
	Id          string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Disabled    bool                    `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Name        string                  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Title       string                  `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Description *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRealmRequest) Descriptor deprecated

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

Deprecated: Use UpdateRealmRequest.ProtoReflect.Descriptor instead.

func (*UpdateRealmRequest) GetDescription

func (x *UpdateRealmRequest) GetDescription() *wrapperspb.StringValue

func (*UpdateRealmRequest) GetDisabled

func (x *UpdateRealmRequest) GetDisabled() bool

func (*UpdateRealmRequest) GetId

func (x *UpdateRealmRequest) GetId() string

func (*UpdateRealmRequest) GetName

func (x *UpdateRealmRequest) GetName() string

func (*UpdateRealmRequest) GetTitle

func (x *UpdateRealmRequest) GetTitle() string

func (*UpdateRealmRequest) ProtoMessage

func (*UpdateRealmRequest) ProtoMessage()

func (*UpdateRealmRequest) ProtoReflect

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

func (*UpdateRealmRequest) Reset

func (x *UpdateRealmRequest) Reset()

func (*UpdateRealmRequest) String

func (x *UpdateRealmRequest) String() string

func (*UpdateRealmRequest) Validate

func (m *UpdateRealmRequest) Validate() error

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

func (m *UpdateRealmRequest) ValidateAll() error

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

type UpdateRealmRequestMultiError

type UpdateRealmRequestMultiError []error

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

func (UpdateRealmRequestMultiError) AllErrors

func (m UpdateRealmRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRealmRequestMultiError) Error

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

type UpdateRealmRequestValidationError

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

UpdateRealmRequestValidationError is the validation error returned by UpdateRealmRequest.Validate if the designated constraints aren't met.

func (UpdateRealmRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRealmRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRealmRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRealmRequestValidationError) Field

Field function returns field value.

func (UpdateRealmRequestValidationError) Key

Key function returns key value.

func (UpdateRealmRequestValidationError) Reason

Reason function returns reason value.

type UpdateRealmResponse

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

func (*UpdateRealmResponse) Descriptor deprecated

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

Deprecated: Use UpdateRealmResponse.ProtoReflect.Descriptor instead.

func (*UpdateRealmResponse) ProtoMessage

func (*UpdateRealmResponse) ProtoMessage()

func (*UpdateRealmResponse) ProtoReflect

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

func (*UpdateRealmResponse) Reset

func (x *UpdateRealmResponse) Reset()

func (*UpdateRealmResponse) String

func (x *UpdateRealmResponse) String() string

func (*UpdateRealmResponse) Validate

func (m *UpdateRealmResponse) Validate() error

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

func (m *UpdateRealmResponse) ValidateAll() error

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

type UpdateRealmResponseMultiError

type UpdateRealmResponseMultiError []error

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

func (UpdateRealmResponseMultiError) AllErrors

func (m UpdateRealmResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRealmResponseMultiError) Error

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

type UpdateRealmResponseValidationError

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

UpdateRealmResponseValidationError is the validation error returned by UpdateRealmResponse.Validate if the designated constraints aren't met.

func (UpdateRealmResponseValidationError) Cause

Cause function returns cause value.

func (UpdateRealmResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateRealmResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateRealmResponseValidationError) Field

Field function returns field value.

func (UpdateRealmResponseValidationError) Key

Key function returns key value.

func (UpdateRealmResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {
	Id                 string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Realm              string                  `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"`
	Disabled           bool                    `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Approved           bool                    `protobuf:"varint,4,opt,name=approved,proto3" json:"approved,omitempty"`
	Verified           bool                    `protobuf:"varint,5,opt,name=verified,proto3" json:"verified,omitempty"`
	Immutable          bool                    `protobuf:"varint,6,opt,name=immutable,proto3" json:"immutable,omitempty"`
	CreatedAt          *timestamppb.Timestamp  `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt          *timestamppb.Timestamp  `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt          *timestamppb.Timestamp  `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	ExpiresAt          *timestamppb.Timestamp  `protobuf:"bytes,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	FirstLoginTime     *timestamppb.Timestamp  `protobuf:"bytes,11,opt,name=first_login_time,json=firstLoginTime,proto3" json:"first_login_time,omitempty"`
	LastActiveTime     *timestamppb.Timestamp  `protobuf:"bytes,12,opt,name=last_active_time,json=lastActiveTime,proto3" json:"last_active_time,omitempty"`
	Flags              int64                   `protobuf:"varint,13,opt,name=flags,proto3" json:"flags,omitempty"`
	Attributes         map[string]string       `` /* 162-byte string literal not displayed */
	Description        *wrapperspb.StringValue `protobuf:"bytes,25,opt,name=description,proto3" json:"description,omitempty"`
	MaskedPhoneNumber  *wrapperspb.StringValue `protobuf:"bytes,26,opt,name=masked_phone_number,json=maskedPhoneNumber,proto3" json:"masked_phone_number,omitempty"`
	MaskedEmailAddress *wrapperspb.StringValue `protobuf:"bytes,27,opt,name=masked_email_address,json=maskedEmailAddress,proto3" json:"masked_email_address,omitempty"`
	Creator            *User                   `protobuf:"bytes,38,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetApproved

func (x *User) GetApproved() bool

func (*User) GetAttributes

func (x *User) GetAttributes() map[string]string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetCreator

func (x *User) GetCreator() *User

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() *timestamppb.Timestamp

func (*User) GetDescription

func (x *User) GetDescription() *wrapperspb.StringValue

func (*User) GetDisabled

func (x *User) GetDisabled() bool

func (*User) GetExpiresAt

func (x *User) GetExpiresAt() *timestamppb.Timestamp

func (*User) GetFirstLoginTime

func (x *User) GetFirstLoginTime() *timestamppb.Timestamp

func (*User) GetFlags

func (x *User) GetFlags() int64

func (*User) GetId

func (x *User) GetId() string

func (*User) GetImmutable

func (x *User) GetImmutable() bool

func (*User) GetLastActiveTime

func (x *User) GetLastActiveTime() *timestamppb.Timestamp

func (*User) GetMaskedEmailAddress

func (x *User) GetMaskedEmailAddress() *wrapperspb.StringValue

func (*User) GetMaskedPhoneNumber

func (x *User) GetMaskedPhoneNumber() *wrapperspb.StringValue

func (*User) GetRealm

func (x *User) GetRealm() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) GetVerified

func (x *User) GetVerified() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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

type UserActivatedEvent

type UserActivatedEvent struct {
	Realm  string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserActivatedEvent) Descriptor deprecated

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

Deprecated: Use UserActivatedEvent.ProtoReflect.Descriptor instead.

func (*UserActivatedEvent) GetRealm

func (x *UserActivatedEvent) GetRealm() string

func (*UserActivatedEvent) GetUserId

func (x *UserActivatedEvent) GetUserId() string

func (*UserActivatedEvent) ProtoMessage

func (*UserActivatedEvent) ProtoMessage()

func (*UserActivatedEvent) ProtoReflect

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

func (*UserActivatedEvent) Reset

func (x *UserActivatedEvent) Reset()

func (*UserActivatedEvent) String

func (x *UserActivatedEvent) String() string

func (*UserActivatedEvent) Validate

func (m *UserActivatedEvent) Validate() error

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

func (m *UserActivatedEvent) ValidateAll() error

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

type UserActivatedEventMultiError

type UserActivatedEventMultiError []error

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

func (UserActivatedEventMultiError) AllErrors

func (m UserActivatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserActivatedEventMultiError) Error

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

type UserActivatedEventValidationError

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

UserActivatedEventValidationError is the validation error returned by UserActivatedEvent.Validate if the designated constraints aren't met.

func (UserActivatedEventValidationError) Cause

Cause function returns cause value.

func (UserActivatedEventValidationError) Error

Error satisfies the builtin error interface

func (UserActivatedEventValidationError) ErrorName

ErrorName returns error name.

func (UserActivatedEventValidationError) Field

Field function returns field value.

func (UserActivatedEventValidationError) Key

Key function returns key value.

func (UserActivatedEventValidationError) Reason

Reason function returns reason value.

type UserCreatedEvent

type UserCreatedEvent struct {
	Realm  string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreatedEvent) Descriptor deprecated

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

Deprecated: Use UserCreatedEvent.ProtoReflect.Descriptor instead.

func (*UserCreatedEvent) GetRealm

func (x *UserCreatedEvent) GetRealm() string

func (*UserCreatedEvent) GetUserId

func (x *UserCreatedEvent) GetUserId() string

func (*UserCreatedEvent) ProtoMessage

func (*UserCreatedEvent) ProtoMessage()

func (*UserCreatedEvent) ProtoReflect

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

func (*UserCreatedEvent) Reset

func (x *UserCreatedEvent) Reset()

func (*UserCreatedEvent) String

func (x *UserCreatedEvent) String() string

func (*UserCreatedEvent) Validate

func (m *UserCreatedEvent) Validate() error

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

func (m *UserCreatedEvent) ValidateAll() error

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

type UserCreatedEventMultiError

type UserCreatedEventMultiError []error

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

func (UserCreatedEventMultiError) AllErrors

func (m UserCreatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserCreatedEventMultiError) Error

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

type UserCreatedEventValidationError

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

UserCreatedEventValidationError is the validation error returned by UserCreatedEvent.Validate if the designated constraints aren't met.

func (UserCreatedEventValidationError) Cause

Cause function returns cause value.

func (UserCreatedEventValidationError) Error

Error satisfies the builtin error interface

func (UserCreatedEventValidationError) ErrorName

ErrorName returns error name.

func (UserCreatedEventValidationError) Field

Field function returns field value.

func (UserCreatedEventValidationError) Key

Key function returns key value.

func (UserCreatedEventValidationError) Reason

Reason function returns reason value.

type UserLoggedInEvent

type UserLoggedInEvent struct {
	Realm      string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	UserId     string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Provider   string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Identifier string `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoggedInEvent) Descriptor deprecated

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

Deprecated: Use UserLoggedInEvent.ProtoReflect.Descriptor instead.

func (*UserLoggedInEvent) GetIdentifier

func (x *UserLoggedInEvent) GetIdentifier() string

func (*UserLoggedInEvent) GetProvider

func (x *UserLoggedInEvent) GetProvider() string

func (*UserLoggedInEvent) GetRealm

func (x *UserLoggedInEvent) GetRealm() string

func (*UserLoggedInEvent) GetUserId

func (x *UserLoggedInEvent) GetUserId() string

func (*UserLoggedInEvent) ProtoMessage

func (*UserLoggedInEvent) ProtoMessage()

func (*UserLoggedInEvent) ProtoReflect

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

func (*UserLoggedInEvent) Reset

func (x *UserLoggedInEvent) Reset()

func (*UserLoggedInEvent) String

func (x *UserLoggedInEvent) String() string

func (*UserLoggedInEvent) Validate

func (m *UserLoggedInEvent) Validate() error

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

func (m *UserLoggedInEvent) ValidateAll() error

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

type UserLoggedInEventMultiError

type UserLoggedInEventMultiError []error

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

func (UserLoggedInEventMultiError) AllErrors

func (m UserLoggedInEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoggedInEventMultiError) Error

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

type UserLoggedInEventValidationError

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

UserLoggedInEventValidationError is the validation error returned by UserLoggedInEvent.Validate if the designated constraints aren't met.

func (UserLoggedInEventValidationError) Cause

Cause function returns cause value.

func (UserLoggedInEventValidationError) Error

Error satisfies the builtin error interface

func (UserLoggedInEventValidationError) ErrorName

ErrorName returns error name.

func (UserLoggedInEventValidationError) Field

Field function returns field value.

func (UserLoggedInEventValidationError) Key

Key function returns key value.

func (UserLoggedInEventValidationError) Reason

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

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

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

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

type UserStateServiceClient

type UserStateServiceClient interface {
	GetState(ctx context.Context, in *GetStateRequest, opts ...grpc.CallOption) (*GetStateResponse, error)
	SetState(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*SetStateResponse, error)
}

UserStateServiceClient is the client API for UserStateService 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 UserStateServiceServer

type UserStateServiceServer interface {
	GetState(context.Context, *GetStateRequest) (*GetStateResponse, error)
	SetState(context.Context, *SetStateRequest) (*SetStateResponse, error)
	// contains filtered or unexported methods
}

UserStateServiceServer is the server API for UserStateService service. All implementations must embed UnimplementedUserStateServiceServer for forward compatibility

type UserUpdatedEvent

type UserUpdatedEvent struct {
	Realm  string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserUpdatedEvent) Descriptor deprecated

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

Deprecated: Use UserUpdatedEvent.ProtoReflect.Descriptor instead.

func (*UserUpdatedEvent) GetRealm

func (x *UserUpdatedEvent) GetRealm() string

func (*UserUpdatedEvent) GetUserId

func (x *UserUpdatedEvent) GetUserId() string

func (*UserUpdatedEvent) ProtoMessage

func (*UserUpdatedEvent) ProtoMessage()

func (*UserUpdatedEvent) ProtoReflect

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

func (*UserUpdatedEvent) Reset

func (x *UserUpdatedEvent) Reset()

func (*UserUpdatedEvent) String

func (x *UserUpdatedEvent) String() string

func (*UserUpdatedEvent) Validate

func (m *UserUpdatedEvent) Validate() error

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

func (m *UserUpdatedEvent) ValidateAll() error

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

type UserUpdatedEventMultiError

type UserUpdatedEventMultiError []error

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

func (UserUpdatedEventMultiError) AllErrors

func (m UserUpdatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserUpdatedEventMultiError) Error

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

type UserUpdatedEventValidationError

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

UserUpdatedEventValidationError is the validation error returned by UserUpdatedEvent.Validate if the designated constraints aren't met.

func (UserUpdatedEventValidationError) Cause

Cause function returns cause value.

func (UserUpdatedEventValidationError) Error

Error satisfies the builtin error interface

func (UserUpdatedEventValidationError) ErrorName

ErrorName returns error name.

func (UserUpdatedEventValidationError) Field

Field function returns field value.

func (UserUpdatedEventValidationError) Key

Key function returns key value.

func (UserUpdatedEventValidationError) Reason

Reason function returns reason value.

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type UsersServiceClient

type UsersServiceClient interface {
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error)
}

UsersServiceClient is the client API for UsersService 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 UsersServiceServer

type UsersServiceServer interface {
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
	// contains filtered or unexported methods
}

UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

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