proto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_qlight_token_manager_proto protoreflect.FileDescriptor
View Source
var PluginQLightTokenRefresher_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.PluginQLightTokenRefresher",
	HandlerType: (*PluginQLightTokenRefresherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PluginQLightTokenManager",
			Handler:    _PluginQLightTokenRefresher_PluginQLightTokenManager_Handler,
		},
		{
			MethodName: "TokenRefresh",
			Handler:    _PluginQLightTokenRefresher_TokenRefresh_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "qlight-token-manager.proto",
}

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

Functions

func RegisterPluginQLightTokenRefresherServer

func RegisterPluginQLightTokenRefresherServer(s grpc.ServiceRegistrar, srv PluginQLightTokenRefresherServer)

Types

type PluginQLightTokenManager

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

func (*PluginQLightTokenManager) Descriptor deprecated

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

Deprecated: Use PluginQLightTokenManager.ProtoReflect.Descriptor instead.

func (*PluginQLightTokenManager) ProtoMessage

func (*PluginQLightTokenManager) ProtoMessage()

func (*PluginQLightTokenManager) ProtoReflect

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

func (*PluginQLightTokenManager) Reset

func (x *PluginQLightTokenManager) Reset()

func (*PluginQLightTokenManager) String

func (x *PluginQLightTokenManager) String() string

type PluginQLightTokenManager_Request

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

func (*PluginQLightTokenManager_Request) Descriptor deprecated

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

Deprecated: Use PluginQLightTokenManager_Request.ProtoReflect.Descriptor instead.

func (*PluginQLightTokenManager_Request) ProtoMessage

func (*PluginQLightTokenManager_Request) ProtoMessage()

func (*PluginQLightTokenManager_Request) ProtoReflect

func (*PluginQLightTokenManager_Request) Reset

func (*PluginQLightTokenManager_Request) String

type PluginQLightTokenManager_Response

type PluginQLightTokenManager_Response struct {
	RefreshAnticipationInMillisecond int32 `protobuf:"varint,1,opt,name=refreshAnticipationInMillisecond,proto3" json:"refreshAnticipationInMillisecond,omitempty"`
	// contains filtered or unexported fields
}

func (*PluginQLightTokenManager_Response) Descriptor deprecated

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

Deprecated: Use PluginQLightTokenManager_Response.ProtoReflect.Descriptor instead.

func (*PluginQLightTokenManager_Response) GetRefreshAnticipationInMillisecond

func (x *PluginQLightTokenManager_Response) GetRefreshAnticipationInMillisecond() int32

func (*PluginQLightTokenManager_Response) ProtoMessage

func (*PluginQLightTokenManager_Response) ProtoMessage()

func (*PluginQLightTokenManager_Response) ProtoReflect

func (*PluginQLightTokenManager_Response) Reset

func (*PluginQLightTokenManager_Response) String

type PluginQLightTokenRefresherClient

type PluginQLightTokenRefresherClient interface {
	PluginQLightTokenManager(ctx context.Context, in *PluginQLightTokenManager_Request, opts ...grpc.CallOption) (*PluginQLightTokenManager_Response, error)
	TokenRefresh(ctx context.Context, in *TokenRefresh_Request, opts ...grpc.CallOption) (*TokenRefresh_Response, error)
}

PluginQLightTokenRefresherClient is the client API for PluginQLightTokenRefresher 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 PluginQLightTokenRefresherServer

type PluginQLightTokenRefresherServer interface {
	PluginQLightTokenManager(context.Context, *PluginQLightTokenManager_Request) (*PluginQLightTokenManager_Response, error)
	TokenRefresh(context.Context, *TokenRefresh_Request) (*TokenRefresh_Response, error)
	// contains filtered or unexported methods
}

PluginQLightTokenRefresherServer is the server API for PluginQLightTokenRefresher service. All implementations must embed UnimplementedPluginQLightTokenRefresherServer for forward compatibility

type TokenRefresh

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

func (*TokenRefresh) Descriptor deprecated

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

Deprecated: Use TokenRefresh.ProtoReflect.Descriptor instead.

func (*TokenRefresh) ProtoMessage

func (*TokenRefresh) ProtoMessage()

func (*TokenRefresh) ProtoReflect

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

func (*TokenRefresh) Reset

func (x *TokenRefresh) Reset()

func (*TokenRefresh) String

func (x *TokenRefresh) String() string

type TokenRefresh_Request

type TokenRefresh_Request struct {
	CurrentToken string `protobuf:"bytes,1,opt,name=currentToken,proto3" json:"currentToken,omitempty"`
	Psi          string `protobuf:"bytes,2,opt,name=psi,proto3" json:"psi,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenRefresh_Request) Descriptor deprecated

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

Deprecated: Use TokenRefresh_Request.ProtoReflect.Descriptor instead.

func (*TokenRefresh_Request) GetCurrentToken

func (x *TokenRefresh_Request) GetCurrentToken() string

func (*TokenRefresh_Request) GetPsi

func (x *TokenRefresh_Request) GetPsi() string

func (*TokenRefresh_Request) ProtoMessage

func (*TokenRefresh_Request) ProtoMessage()

func (*TokenRefresh_Request) ProtoReflect

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

func (*TokenRefresh_Request) Reset

func (x *TokenRefresh_Request) Reset()

func (*TokenRefresh_Request) String

func (x *TokenRefresh_Request) String() string

type TokenRefresh_Response

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

func (*TokenRefresh_Response) Descriptor deprecated

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

Deprecated: Use TokenRefresh_Response.ProtoReflect.Descriptor instead.

func (*TokenRefresh_Response) GetToken

func (x *TokenRefresh_Response) GetToken() string

func (*TokenRefresh_Response) ProtoMessage

func (*TokenRefresh_Response) ProtoMessage()

func (*TokenRefresh_Response) ProtoReflect

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

func (*TokenRefresh_Response) Reset

func (x *TokenRefresh_Response) Reset()

func (*TokenRefresh_Response) String

func (x *TokenRefresh_Response) String() string

type UnimplementedPluginQLightTokenRefresherServer

type UnimplementedPluginQLightTokenRefresherServer struct {
}

UnimplementedPluginQLightTokenRefresherServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginQLightTokenRefresherServer) TokenRefresh

type UnsafePluginQLightTokenRefresherServer

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

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

Jump to

Keyboard shortcuts

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