client

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package client is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ClientService_CreateClient_FullMethodName         = "/proto.oidc.client.ClientService/CreateClient"
	ClientService_GetClient_FullMethodName            = "/proto.oidc.client.ClientService/GetClient"
	ClientService_DeleteClient_FullMethodName         = "/proto.oidc.client.ClientService/DeleteClient"
	ClientService_UpdateClient_FullMethodName         = "/proto.oidc.client.ClientService/UpdateClient"
	ClientService_ListClient_FullMethodName           = "/proto.oidc.client.ClientService/ListClient"
	ClientService_AddNewClientSecret_FullMethodName   = "/proto.oidc.client.ClientService/AddNewClientSecret"
	ClientService_ValidateClientSecret_FullMethodName = "/proto.oidc.client.ClientService/ValidateClientSecret"
)

Variables

View Source
var ClientService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.oidc.client.ClientService",
	HandlerType: (*ClientServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateClient",
			Handler:    _ClientService_CreateClient_Handler,
		},
		{
			MethodName: "GetClient",
			Handler:    _ClientService_GetClient_Handler,
		},
		{
			MethodName: "DeleteClient",
			Handler:    _ClientService_DeleteClient_Handler,
		},
		{
			MethodName: "UpdateClient",
			Handler:    _ClientService_UpdateClient_Handler,
		},
		{
			MethodName: "ListClient",
			Handler:    _ClientService_ListClient_Handler,
		},
		{
			MethodName: "AddNewClientSecret",
			Handler:    _ClientService_AddNewClientSecret_Handler,
		},
		{
			MethodName: "ValidateClientSecret",
			Handler:    _ClientService_ValidateClientSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/oidc/client/client.proto",
}

ClientService_ServiceDesc is the grpc.ServiceDesc for ClientService 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_proto_oidc_client_client_proto protoreflect.FileDescriptor

Functions

func AddClientServiceServer

func AddClientServiceServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)

AddClientServiceServer adds the fluffycore aware grpc server

func AddClientServiceServerWithExternalRegistration

func AddClientServiceServerWithExternalRegistration(cb fluffy_dozm_di.ContainerBuilder, ctor any, register func() endpoint.IEndpointRegistration)

AddClientServiceServerWithExternalRegistration adds the fluffycore aware grpc server and external registration service. Mainly used for grpc-gateway

func RegisterClientServiceHandler

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

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

func RegisterClientServiceHandlerClient

func RegisterClientServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClientServiceClient) error

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

func RegisterClientServiceHandlerFromEndpoint

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

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

func RegisterClientServiceHandlerServer

func RegisterClientServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClientServiceServer) error

RegisterClientServiceHandlerServer registers the http handlers for service ClientService to "mux". UnaryRPC :call ClientServiceServer 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 RegisterClientServiceHandlerFromEndpoint instead.

func RegisterClientServiceServer

func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)

Types

type AddNewClientSecretRequest

type AddNewClientSecretRequest struct {

	// The client id
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// The secret name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// expiration of the secret
	ExpirationUnix int64 `protobuf:"varint,3,opt,name=expiration_unix,json=expirationUnix,proto3" json:"expiration_unix,omitempty"`
	// the secret vs a generated secret
	Secret *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNewClientSecretRequest) Descriptor deprecated

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

Deprecated: Use AddNewClientSecretRequest.ProtoReflect.Descriptor instead.

func (*AddNewClientSecretRequest) GetClientId

func (x *AddNewClientSecretRequest) GetClientId() string

func (*AddNewClientSecretRequest) GetExpirationUnix

func (x *AddNewClientSecretRequest) GetExpirationUnix() int64

func (*AddNewClientSecretRequest) GetName

func (x *AddNewClientSecretRequest) GetName() string

func (*AddNewClientSecretRequest) GetSecret

func (*AddNewClientSecretRequest) ProtoMessage

func (*AddNewClientSecretRequest) ProtoMessage()

func (*AddNewClientSecretRequest) ProtoReflect

func (*AddNewClientSecretRequest) Reset

func (x *AddNewClientSecretRequest) Reset()

func (*AddNewClientSecretRequest) String

func (x *AddNewClientSecretRequest) String() string

type AddNewClientSecretResponse

type AddNewClientSecretResponse struct {

	// The client id
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// The secret name
	ClientSecret *models.ClientSecretResponse `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNewClientSecretResponse) Descriptor deprecated

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

Deprecated: Use AddNewClientSecretResponse.ProtoReflect.Descriptor instead.

func (*AddNewClientSecretResponse) GetClientId

func (x *AddNewClientSecretResponse) GetClientId() string

func (*AddNewClientSecretResponse) GetClientSecret

func (*AddNewClientSecretResponse) ProtoMessage

func (*AddNewClientSecretResponse) ProtoMessage()

func (*AddNewClientSecretResponse) ProtoReflect

func (*AddNewClientSecretResponse) Reset

func (x *AddNewClientSecretResponse) Reset()

func (*AddNewClientSecretResponse) String

func (x *AddNewClientSecretResponse) String() string

type ClientServiceClient

type ClientServiceClient interface {
	// Create client
	CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error)
	// Get client
	GetClient(ctx context.Context, in *GetClientRequest, opts ...grpc.CallOption) (*GetClientResponse, error)
	// Delete client
	DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*DeleteClientResponse, error)
	// Update client
	UpdateClient(ctx context.Context, in *UpdateClientRequest, opts ...grpc.CallOption) (*UpdateClientResponse, error)
	// List clients
	ListClient(ctx context.Context, in *ListClientRequest, opts ...grpc.CallOption) (*ListClientResponse, error)
	// Generate a new client secret
	AddNewClientSecret(ctx context.Context, in *AddNewClientSecretRequest, opts ...grpc.CallOption) (*AddNewClientSecretResponse, error)
	// Generate a new client secret
	ValidateClientSecret(ctx context.Context, in *ValidateClientSecretRequest, opts ...grpc.CallOption) (*ValidateClientSecretResponse, error)
}

ClientServiceClient is the client API for ClientService 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 ClientServiceFluffyCoreServer

ClientServiceFluffyCoreServer defines the grpc server truct

func (*ClientServiceFluffyCoreServer) AddNewClientSecret

AddNewClientSecret...

func (*ClientServiceFluffyCoreServer) CreateClient

CreateClient...

func (*ClientServiceFluffyCoreServer) DeleteClient

DeleteClient...

func (*ClientServiceFluffyCoreServer) GetClient

GetClient...

func (*ClientServiceFluffyCoreServer) ListClient

ListClient...

func (*ClientServiceFluffyCoreServer) RegisterFluffyCoreGRPCService

func (srv *ClientServiceFluffyCoreServer) RegisterFluffyCoreGRPCService(s *grpc.Server)

RegisterFluffyCoreGRPCService the server with grpc

func (*ClientServiceFluffyCoreServer) UpdateClient

UpdateClient...

func (*ClientServiceFluffyCoreServer) ValidateClientSecret

ValidateClientSecret...

type ClientServiceServer

type ClientServiceServer interface {
	// Create client
	CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
	// Get client
	GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error)
	// Delete client
	DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
	// Update client
	UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error)
	// List clients
	ListClient(context.Context, *ListClientRequest) (*ListClientResponse, error)
	// Generate a new client secret
	AddNewClientSecret(context.Context, *AddNewClientSecretRequest) (*AddNewClientSecretResponse, error)
	// Generate a new client secret
	ValidateClientSecret(context.Context, *ValidateClientSecretRequest) (*ValidateClientSecretResponse, error)
	// contains filtered or unexported methods
}

ClientServiceServer is the server API for ClientService service. All implementations must embed UnimplementedClientServiceServer for forward compatibility

type CreateClientRequest

type CreateClientRequest struct {
	Client *models.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClientRequest) Descriptor deprecated

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

Deprecated: Use CreateClientRequest.ProtoReflect.Descriptor instead.

func (*CreateClientRequest) GetClient

func (x *CreateClientRequest) GetClient() *models.Client

func (*CreateClientRequest) ProtoMessage

func (*CreateClientRequest) ProtoMessage()

func (*CreateClientRequest) ProtoReflect

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

func (*CreateClientRequest) Reset

func (x *CreateClientRequest) Reset()

func (*CreateClientRequest) String

func (x *CreateClientRequest) String() string

type CreateClientResponse

type CreateClientResponse struct {
	Client *models.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClientResponse) Descriptor deprecated

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

Deprecated: Use CreateClientResponse.ProtoReflect.Descriptor instead.

func (*CreateClientResponse) GetClient

func (x *CreateClientResponse) GetClient() *models.Client

func (*CreateClientResponse) ProtoMessage

func (*CreateClientResponse) ProtoMessage()

func (*CreateClientResponse) ProtoReflect

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

func (*CreateClientResponse) Reset

func (x *CreateClientResponse) Reset()

func (*CreateClientResponse) String

func (x *CreateClientResponse) String() string

type DeleteClientRequest

type DeleteClientRequest struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClientRequest) Descriptor deprecated

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

Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.

func (*DeleteClientRequest) GetClientId

func (x *DeleteClientRequest) GetClientId() string

func (*DeleteClientRequest) ProtoMessage

func (*DeleteClientRequest) ProtoMessage()

func (*DeleteClientRequest) ProtoReflect

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

func (*DeleteClientRequest) Reset

func (x *DeleteClientRequest) Reset()

func (*DeleteClientRequest) String

func (x *DeleteClientRequest) String() string

type DeleteClientResponse

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

func (*DeleteClientResponse) Descriptor deprecated

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

Deprecated: Use DeleteClientResponse.ProtoReflect.Descriptor instead.

func (*DeleteClientResponse) ProtoMessage

func (*DeleteClientResponse) ProtoMessage()

func (*DeleteClientResponse) ProtoReflect

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

func (*DeleteClientResponse) Reset

func (x *DeleteClientResponse) Reset()

func (*DeleteClientResponse) String

func (x *DeleteClientResponse) String() string

type Filter

type Filter struct {
	ClientId                                *types.IDFilterExpression          `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Enabled                                 *types.BoolFilterExpression        `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ClientName                              *types.StringFilterExpression      `protobuf:"bytes,3,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
	Description                             *types.StringFilterExpression      `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Namespace                               *types.StringFilterExpression      `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	RequireRefreshClientSecret              *types.BoolFilterExpression        `` /* 143-byte string literal not displayed */
	AllowOfflineAccess                      *types.BoolFilterExpression        `protobuf:"bytes,7,opt,name=allow_offline_access,json=allowOfflineAccess,proto3" json:"allow_offline_access,omitempty"`
	UpdateAccessTokenClaimsOnRefresh        *types.BoolFilterExpression        `` /* 165-byte string literal not displayed */
	IncludeJwtId                            *types.BoolFilterExpression        `protobuf:"bytes,9,opt,name=include_jwt_id,json=includeJwtId,proto3" json:"include_jwt_id,omitempty"`
	AlwaysSendClientClaims                  *types.BoolFilterExpression        `` /* 132-byte string literal not displayed */
	AlwaysIncludeUserClaimsInIdToken        *types.BoolFilterExpression        `` /* 168-byte string literal not displayed */
	RequireClientSecret                     *types.BoolFilterExpression        `protobuf:"bytes,12,opt,name=require_client_secret,json=requireClientSecret,proto3" json:"require_client_secret,omitempty"`
	AccessTokenLifetime                     *types.UInt64FilterExpression      `protobuf:"bytes,13,opt,name=access_token_lifetime,json=accessTokenLifetime,proto3" json:"access_token_lifetime,omitempty"`
	AbsoluteRefreshTokenLifetime            *types.UInt64FilterExpression      `` /* 150-byte string literal not displayed */
	SlidingRefreshTokenLifetime             *types.UInt64FilterExpression      `` /* 147-byte string literal not displayed */
	IdentityTokenLifetime                   *types.UInt64FilterExpression      `` /* 127-byte string literal not displayed */
	RefreshTokenGraceEnabled                *types.BoolFilterExpression        `` /* 138-byte string literal not displayed */
	RefreshTokenGraceTtl                    *types.UInt64FilterExpression      `` /* 126-byte string literal not displayed */
	RefreshTokenGraceMaxAttempts            *types.UInt64FilterExpression      `` /* 152-byte string literal not displayed */
	RefreshTokenUsage                       *types.UInt64FilterExpression      `protobuf:"bytes,20,opt,name=refresh_token_usage,json=refreshTokenUsage,proto3" json:"refresh_token_usage,omitempty"`
	RefreshTokenExpiration                  *types.UInt64FilterExpression      `` /* 130-byte string literal not displayed */
	AccessTokenType                         *types.UInt64FilterExpression      `protobuf:"bytes,22,opt,name=access_token_type,json=accessTokenType,proto3" json:"access_token_type,omitempty"`
	AllowedScopes                           *types.StringArrayFilterExpression `protobuf:"bytes,24,opt,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
	AllowedGrantTypes                       *types.StringArrayFilterExpression `protobuf:"bytes,25,opt,name=allowed_grant_types,json=allowedGrantTypes,proto3" json:"allowed_grant_types,omitempty"`
	AllowedPermissions                      *types.StringArrayFilterExpression `protobuf:"bytes,27,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"`
	AllowedDynamicClaimTypes                *types.StringArrayFilterExpression `` /* 138-byte string literal not displayed */
	AllowedTokenExchangeRequestedTokenTypes *types.StringArrayFilterExpression `` /* 187-byte string literal not displayed */
	// AST
	And []*Filter `protobuf:"bytes,100,rep,name=and,proto3" json:"and,omitempty"`
	Or  []*Filter `protobuf:"bytes,101,rep,name=or,proto3" json:"or,omitempty"`
	Not []*Filter `protobuf:"bytes,102,rep,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetAbsoluteRefreshTokenLifetime

func (x *Filter) GetAbsoluteRefreshTokenLifetime() *types.UInt64FilterExpression

func (*Filter) GetAccessTokenLifetime

func (x *Filter) GetAccessTokenLifetime() *types.UInt64FilterExpression

func (*Filter) GetAccessTokenType

func (x *Filter) GetAccessTokenType() *types.UInt64FilterExpression

func (*Filter) GetAllowOfflineAccess

func (x *Filter) GetAllowOfflineAccess() *types.BoolFilterExpression

func (*Filter) GetAllowedDynamicClaimTypes

func (x *Filter) GetAllowedDynamicClaimTypes() *types.StringArrayFilterExpression

func (*Filter) GetAllowedGrantTypes

func (x *Filter) GetAllowedGrantTypes() *types.StringArrayFilterExpression

func (*Filter) GetAllowedPermissions

func (x *Filter) GetAllowedPermissions() *types.StringArrayFilterExpression

func (*Filter) GetAllowedScopes

func (x *Filter) GetAllowedScopes() *types.StringArrayFilterExpression

func (*Filter) GetAllowedTokenExchangeRequestedTokenTypes

func (x *Filter) GetAllowedTokenExchangeRequestedTokenTypes() *types.StringArrayFilterExpression

func (*Filter) GetAlwaysIncludeUserClaimsInIdToken

func (x *Filter) GetAlwaysIncludeUserClaimsInIdToken() *types.BoolFilterExpression

func (*Filter) GetAlwaysSendClientClaims

func (x *Filter) GetAlwaysSendClientClaims() *types.BoolFilterExpression

func (*Filter) GetAnd

func (x *Filter) GetAnd() []*Filter

func (*Filter) GetClientId

func (x *Filter) GetClientId() *types.IDFilterExpression

func (*Filter) GetClientName

func (x *Filter) GetClientName() *types.StringFilterExpression

func (*Filter) GetDescription

func (x *Filter) GetDescription() *types.StringFilterExpression

func (*Filter) GetEnabled

func (x *Filter) GetEnabled() *types.BoolFilterExpression

func (*Filter) GetIdentityTokenLifetime

func (x *Filter) GetIdentityTokenLifetime() *types.UInt64FilterExpression

func (*Filter) GetIncludeJwtId

func (x *Filter) GetIncludeJwtId() *types.BoolFilterExpression

func (*Filter) GetNamespace

func (x *Filter) GetNamespace() *types.StringFilterExpression

func (*Filter) GetNot

func (x *Filter) GetNot() []*Filter

func (*Filter) GetOr

func (x *Filter) GetOr() []*Filter

func (*Filter) GetRefreshTokenExpiration

func (x *Filter) GetRefreshTokenExpiration() *types.UInt64FilterExpression

func (*Filter) GetRefreshTokenGraceEnabled

func (x *Filter) GetRefreshTokenGraceEnabled() *types.BoolFilterExpression

func (*Filter) GetRefreshTokenGraceMaxAttempts

func (x *Filter) GetRefreshTokenGraceMaxAttempts() *types.UInt64FilterExpression

func (*Filter) GetRefreshTokenGraceTtl

func (x *Filter) GetRefreshTokenGraceTtl() *types.UInt64FilterExpression

func (*Filter) GetRefreshTokenUsage

func (x *Filter) GetRefreshTokenUsage() *types.UInt64FilterExpression

func (*Filter) GetRequireClientSecret

func (x *Filter) GetRequireClientSecret() *types.BoolFilterExpression

func (*Filter) GetRequireRefreshClientSecret

func (x *Filter) GetRequireRefreshClientSecret() *types.BoolFilterExpression

func (*Filter) GetSlidingRefreshTokenLifetime

func (x *Filter) GetSlidingRefreshTokenLifetime() *types.UInt64FilterExpression

func (*Filter) GetUpdateAccessTokenClaimsOnRefresh

func (x *Filter) GetUpdateAccessTokenClaimsOnRefresh() *types.BoolFilterExpression

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type GetClientRequest

type GetClientRequest struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientRequest) Descriptor deprecated

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

Deprecated: Use GetClientRequest.ProtoReflect.Descriptor instead.

func (*GetClientRequest) GetClientId

func (x *GetClientRequest) GetClientId() string

func (*GetClientRequest) ProtoMessage

func (*GetClientRequest) ProtoMessage()

func (*GetClientRequest) ProtoReflect

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

func (*GetClientRequest) Reset

func (x *GetClientRequest) Reset()

func (*GetClientRequest) String

func (x *GetClientRequest) String() string

type GetClientResponse

type GetClientResponse struct {
	Client *models.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientResponse) Descriptor deprecated

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

Deprecated: Use GetClientResponse.ProtoReflect.Descriptor instead.

func (*GetClientResponse) GetClient

func (x *GetClientResponse) GetClient() *models.Client

func (*GetClientResponse) ProtoMessage

func (*GetClientResponse) ProtoMessage()

func (*GetClientResponse) ProtoReflect

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

func (*GetClientResponse) Reset

func (x *GetClientResponse) Reset()

func (*GetClientResponse) String

func (x *GetClientResponse) String() string

type IFluffyCoreClientServiceServer

type IFluffyCoreClientServiceServer interface {
	ClientServiceServer
}

IFluffyCoreClientServiceServer defines the grpc server

type ListClientRequest

type ListClientRequest struct {

	// Filter
	Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// Pagination
	Pagination *types.Pagination `protobuf:"bytes,100,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClientRequest) Descriptor deprecated

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

Deprecated: Use ListClientRequest.ProtoReflect.Descriptor instead.

func (*ListClientRequest) GetFilter

func (x *ListClientRequest) GetFilter() *Filter

func (*ListClientRequest) GetPagination

func (x *ListClientRequest) GetPagination() *types.Pagination

func (*ListClientRequest) ProtoMessage

func (*ListClientRequest) ProtoMessage()

func (*ListClientRequest) ProtoReflect

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

func (*ListClientRequest) Reset

func (x *ListClientRequest) Reset()

func (*ListClientRequest) String

func (x *ListClientRequest) String() string

type ListClientResponse

type ListClientResponse struct {
	Clients []*models.Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
	// Pagination details
	Pagination *types.PaginationResponse `protobuf:"bytes,100,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClientResponse) Descriptor deprecated

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

Deprecated: Use ListClientResponse.ProtoReflect.Descriptor instead.

func (*ListClientResponse) GetClients

func (x *ListClientResponse) GetClients() []*models.Client

func (*ListClientResponse) GetPagination

func (x *ListClientResponse) GetPagination() *types.PaginationResponse

func (*ListClientResponse) ProtoMessage

func (*ListClientResponse) ProtoMessage()

func (*ListClientResponse) ProtoReflect

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

func (*ListClientResponse) Reset

func (x *ListClientResponse) Reset()

func (*ListClientResponse) String

func (x *ListClientResponse) String() string

type UnimplementedClientServiceServer

type UnimplementedClientServiceServer struct {
}

UnimplementedClientServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedClientServiceServer) AddNewClientSecret

func (UnimplementedClientServiceServer) CreateClient

func (UnimplementedClientServiceServer) DeleteClient

func (UnimplementedClientServiceServer) GetClient

func (UnimplementedClientServiceServer) ListClient

func (UnimplementedClientServiceServer) UpdateClient

type UnimplementedFluffyCoreClientServiceServerEndpointRegistration

type UnimplementedFluffyCoreClientServiceServerEndpointRegistration struct {
}

func (UnimplementedFluffyCoreClientServiceServerEndpointRegistration) RegisterFluffyCoreHandler

type UnsafeClientServiceServer

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

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

type UpdateClientRequest

type UpdateClientRequest struct {
	Client *models.ClientUpdate `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClientRequest) Descriptor deprecated

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

Deprecated: Use UpdateClientRequest.ProtoReflect.Descriptor instead.

func (*UpdateClientRequest) GetClient

func (x *UpdateClientRequest) GetClient() *models.ClientUpdate

func (*UpdateClientRequest) ProtoMessage

func (*UpdateClientRequest) ProtoMessage()

func (*UpdateClientRequest) ProtoReflect

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

func (*UpdateClientRequest) Reset

func (x *UpdateClientRequest) Reset()

func (*UpdateClientRequest) String

func (x *UpdateClientRequest) String() string

type UpdateClientResponse

type UpdateClientResponse struct {
	Client *models.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClientResponse) Descriptor deprecated

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

Deprecated: Use UpdateClientResponse.ProtoReflect.Descriptor instead.

func (*UpdateClientResponse) GetClient

func (x *UpdateClientResponse) GetClient() *models.Client

func (*UpdateClientResponse) ProtoMessage

func (*UpdateClientResponse) ProtoMessage()

func (*UpdateClientResponse) ProtoReflect

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

func (*UpdateClientResponse) Reset

func (x *UpdateClientResponse) Reset()

func (*UpdateClientResponse) String

func (x *UpdateClientResponse) String() string

type ValidateClientSecretRequest

type ValidateClientSecretRequest struct {

	// The client id
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// secret
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateClientSecretRequest) Descriptor deprecated

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

Deprecated: Use ValidateClientSecretRequest.ProtoReflect.Descriptor instead.

func (*ValidateClientSecretRequest) GetClientId

func (x *ValidateClientSecretRequest) GetClientId() string

func (*ValidateClientSecretRequest) GetSecret

func (x *ValidateClientSecretRequest) GetSecret() string

func (*ValidateClientSecretRequest) ProtoMessage

func (*ValidateClientSecretRequest) ProtoMessage()

func (*ValidateClientSecretRequest) ProtoReflect

func (*ValidateClientSecretRequest) Reset

func (x *ValidateClientSecretRequest) Reset()

func (*ValidateClientSecretRequest) String

func (x *ValidateClientSecretRequest) String() string

type ValidateClientSecretResponse

type ValidateClientSecretResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateClientSecretResponse) Descriptor deprecated

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

Deprecated: Use ValidateClientSecretResponse.ProtoReflect.Descriptor instead.

func (*ValidateClientSecretResponse) GetValid

func (x *ValidateClientSecretResponse) GetValid() bool

func (*ValidateClientSecretResponse) ProtoMessage

func (*ValidateClientSecretResponse) ProtoMessage()

func (*ValidateClientSecretResponse) ProtoReflect

func (*ValidateClientSecretResponse) Reset

func (x *ValidateClientSecretResponse) Reset()

func (*ValidateClientSecretResponse) String

Jump to

Keyboard shortcuts

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