flows

package
v1.0.1-herb-namespaced... Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OIDCFlowStore_StoreAuthorizationRequestState_FullMethodName  = "/proto.oidc.flows.OIDCFlowStore/StoreAuthorizationRequestState"
	OIDCFlowStore_GetAuthorizationRequestState_FullMethodName    = "/proto.oidc.flows.OIDCFlowStore/GetAuthorizationRequestState"
	OIDCFlowStore_DeleteAuthorizationRequestState_FullMethodName = "/proto.oidc.flows.OIDCFlowStore/DeleteAuthorizationRequestState"
)
View Source
const (
	ExternalOauth2FlowStore_StoreExternalOauth2Final_FullMethodName  = "/proto.oidc.flows.ExternalOauth2FlowStore/StoreExternalOauth2Final"
	ExternalOauth2FlowStore_GetExternalOauth2Final_FullMethodName    = "/proto.oidc.flows.ExternalOauth2FlowStore/GetExternalOauth2Final"
	ExternalOauth2FlowStore_DeleteExternalOauth2Final_FullMethodName = "/proto.oidc.flows.ExternalOauth2FlowStore/DeleteExternalOauth2Final"
)

Variables

View Source
var ExternalOauth2FlowStore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.oidc.flows.ExternalOauth2FlowStore",
	HandlerType: (*ExternalOauth2FlowStoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StoreExternalOauth2Final",
			Handler:    _ExternalOauth2FlowStore_StoreExternalOauth2Final_Handler,
		},
		{
			MethodName: "GetExternalOauth2Final",
			Handler:    _ExternalOauth2FlowStore_GetExternalOauth2Final_Handler,
		},
		{
			MethodName: "DeleteExternalOauth2Final",
			Handler:    _ExternalOauth2FlowStore_DeleteExternalOauth2Final_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/oidc/flows/oidc_flow.proto",
}

ExternalOauth2FlowStore_ServiceDesc is the grpc.ServiceDesc for ExternalOauth2FlowStore 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_flows_oidc_flow_proto protoreflect.FileDescriptor
View Source
var OIDCFlowStore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.oidc.flows.OIDCFlowStore",
	HandlerType: (*OIDCFlowStoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StoreAuthorizationRequestState",
			Handler:    _OIDCFlowStore_StoreAuthorizationRequestState_Handler,
		},
		{
			MethodName: "GetAuthorizationRequestState",
			Handler:    _OIDCFlowStore_GetAuthorizationRequestState_Handler,
		},
		{
			MethodName: "DeleteAuthorizationRequestState",
			Handler:    _OIDCFlowStore_DeleteAuthorizationRequestState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/oidc/flows/oidc_flow.proto",
}

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

Functions

func AddExternalOauth2FlowStoreServer

func AddExternalOauth2FlowStoreServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)

AddExternalOauth2FlowStoreServer adds the fluffycore aware grpc server

func AddExternalOauth2FlowStoreServerWithExternalRegistration

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

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

func AddOIDCFlowStoreServer

func AddOIDCFlowStoreServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)

AddOIDCFlowStoreServer adds the fluffycore aware grpc server

func AddOIDCFlowStoreServerWithExternalRegistration

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

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

func RegisterExternalOauth2FlowStoreServer

func RegisterExternalOauth2FlowStoreServer(s grpc.ServiceRegistrar, srv ExternalOauth2FlowStoreServer)

func RegisterOIDCFlowStoreServer

func RegisterOIDCFlowStoreServer(s grpc.ServiceRegistrar, srv OIDCFlowStoreServer)

Types

type DeleteAuthorizationRequestStateRequest

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

func (*DeleteAuthorizationRequestStateRequest) Descriptor deprecated

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

Deprecated: Use DeleteAuthorizationRequestStateRequest.ProtoReflect.Descriptor instead.

func (*DeleteAuthorizationRequestStateRequest) GetState

func (*DeleteAuthorizationRequestStateRequest) ProtoMessage

func (*DeleteAuthorizationRequestStateRequest) ProtoReflect

func (*DeleteAuthorizationRequestStateRequest) Reset

func (*DeleteAuthorizationRequestStateRequest) String

type DeleteAuthorizationRequestStateResponse

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

func (*DeleteAuthorizationRequestStateResponse) Descriptor deprecated

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

Deprecated: Use DeleteAuthorizationRequestStateResponse.ProtoReflect.Descriptor instead.

func (*DeleteAuthorizationRequestStateResponse) ProtoMessage

func (*DeleteAuthorizationRequestStateResponse) ProtoReflect

func (*DeleteAuthorizationRequestStateResponse) Reset

func (*DeleteAuthorizationRequestStateResponse) String

type DeleteExternalOauth2FinalRequest

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

func (*DeleteExternalOauth2FinalRequest) Descriptor deprecated

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

Deprecated: Use DeleteExternalOauth2FinalRequest.ProtoReflect.Descriptor instead.

func (*DeleteExternalOauth2FinalRequest) GetState

func (*DeleteExternalOauth2FinalRequest) ProtoMessage

func (*DeleteExternalOauth2FinalRequest) ProtoMessage()

func (*DeleteExternalOauth2FinalRequest) ProtoReflect

func (*DeleteExternalOauth2FinalRequest) Reset

func (*DeleteExternalOauth2FinalRequest) String

type DeleteExternalOauth2FinalResponse

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

func (*DeleteExternalOauth2FinalResponse) Descriptor deprecated

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

Deprecated: Use DeleteExternalOauth2FinalResponse.ProtoReflect.Descriptor instead.

func (*DeleteExternalOauth2FinalResponse) ProtoMessage

func (*DeleteExternalOauth2FinalResponse) ProtoMessage()

func (*DeleteExternalOauth2FinalResponse) ProtoReflect

func (*DeleteExternalOauth2FinalResponse) Reset

func (*DeleteExternalOauth2FinalResponse) String

type ExternalOauth2FlowStoreClient

type ExternalOauth2FlowStoreClient interface {
	// Create user
	StoreExternalOauth2Final(ctx context.Context, in *StoreExternalOauth2FinalRequest, opts ...grpc.CallOption) (*StoreExternalOauth2FinalResponse, error)
	GetExternalOauth2Final(ctx context.Context, in *GetExternalOauth2FinalRequest, opts ...grpc.CallOption) (*GetExternalOauth2FinalResponse, error)
	DeleteExternalOauth2Final(ctx context.Context, in *DeleteExternalOauth2FinalRequest, opts ...grpc.CallOption) (*DeleteExternalOauth2FinalResponse, error)
}

ExternalOauth2FlowStoreClient is the client API for ExternalOauth2FlowStore 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 ExternalOauth2FlowStoreFluffyCoreServer

ExternalOauth2FlowStoreFluffyCoreServer defines the grpc server truct

func (*ExternalOauth2FlowStoreFluffyCoreServer) DeleteExternalOauth2Final

DeleteExternalOauth2Final...

func (*ExternalOauth2FlowStoreFluffyCoreServer) GetExternalOauth2Final

GetExternalOauth2Final...

func (*ExternalOauth2FlowStoreFluffyCoreServer) RegisterFluffyCoreGRPCService

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

RegisterFluffyCoreGRPCService the server with grpc

func (*ExternalOauth2FlowStoreFluffyCoreServer) StoreExternalOauth2Final

StoreExternalOauth2Final...

type ExternalOauth2FlowStoreServer

type ExternalOauth2FlowStoreServer interface {
	// Create user
	StoreExternalOauth2Final(context.Context, *StoreExternalOauth2FinalRequest) (*StoreExternalOauth2FinalResponse, error)
	GetExternalOauth2Final(context.Context, *GetExternalOauth2FinalRequest) (*GetExternalOauth2FinalResponse, error)
	DeleteExternalOauth2Final(context.Context, *DeleteExternalOauth2FinalRequest) (*DeleteExternalOauth2FinalResponse, error)
	// contains filtered or unexported methods
}

ExternalOauth2FlowStoreServer is the server API for ExternalOauth2FlowStore service. All implementations must embed UnimplementedExternalOauth2FlowStoreServer for forward compatibility

type GetAuthorizationRequestStateRequest

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

func (*GetAuthorizationRequestStateRequest) Descriptor deprecated

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

Deprecated: Use GetAuthorizationRequestStateRequest.ProtoReflect.Descriptor instead.

func (*GetAuthorizationRequestStateRequest) GetState

func (*GetAuthorizationRequestStateRequest) ProtoMessage

func (*GetAuthorizationRequestStateRequest) ProtoMessage()

func (*GetAuthorizationRequestStateRequest) ProtoReflect

func (*GetAuthorizationRequestStateRequest) Reset

func (*GetAuthorizationRequestStateRequest) String

type GetAuthorizationRequestStateResponse

type GetAuthorizationRequestStateResponse struct {
	AuthorizationRequestState *models.AuthorizationRequestState `protobuf:"bytes,1,opt,name=authorization_final,json=authorizationFinal,proto3" json:"authorization_final,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuthorizationRequestStateResponse) Descriptor deprecated

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

Deprecated: Use GetAuthorizationRequestStateResponse.ProtoReflect.Descriptor instead.

func (*GetAuthorizationRequestStateResponse) GetAuthorizationRequestState

func (x *GetAuthorizationRequestStateResponse) GetAuthorizationRequestState() *models.AuthorizationRequestState

func (*GetAuthorizationRequestStateResponse) ProtoMessage

func (*GetAuthorizationRequestStateResponse) ProtoMessage()

func (*GetAuthorizationRequestStateResponse) ProtoReflect

func (*GetAuthorizationRequestStateResponse) Reset

func (*GetAuthorizationRequestStateResponse) String

type GetExternalOauth2FinalRequest

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

func (*GetExternalOauth2FinalRequest) Descriptor deprecated

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

Deprecated: Use GetExternalOauth2FinalRequest.ProtoReflect.Descriptor instead.

func (*GetExternalOauth2FinalRequest) GetState

func (x *GetExternalOauth2FinalRequest) GetState() string

func (*GetExternalOauth2FinalRequest) ProtoMessage

func (*GetExternalOauth2FinalRequest) ProtoMessage()

func (*GetExternalOauth2FinalRequest) ProtoReflect

func (*GetExternalOauth2FinalRequest) Reset

func (x *GetExternalOauth2FinalRequest) Reset()

func (*GetExternalOauth2FinalRequest) String

type GetExternalOauth2FinalResponse

type GetExternalOauth2FinalResponse struct {
	ExternalOauth2Final *models.ExternalOauth2Final `protobuf:"bytes,1,opt,name=external_oauth2_final,json=externalOauth2Final,proto3" json:"external_oauth2_final,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExternalOauth2FinalResponse) Descriptor deprecated

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

Deprecated: Use GetExternalOauth2FinalResponse.ProtoReflect.Descriptor instead.

func (*GetExternalOauth2FinalResponse) GetExternalOauth2Final

func (x *GetExternalOauth2FinalResponse) GetExternalOauth2Final() *models.ExternalOauth2Final

func (*GetExternalOauth2FinalResponse) ProtoMessage

func (*GetExternalOauth2FinalResponse) ProtoMessage()

func (*GetExternalOauth2FinalResponse) ProtoReflect

func (*GetExternalOauth2FinalResponse) Reset

func (x *GetExternalOauth2FinalResponse) Reset()

func (*GetExternalOauth2FinalResponse) String

type IFluffyCoreExternalOauth2FlowStoreServer

type IFluffyCoreExternalOauth2FlowStoreServer interface {
	ExternalOauth2FlowStoreServer
}

IFluffyCoreExternalOauth2FlowStoreServer defines the grpc server

type IFluffyCoreOIDCFlowStoreServer

type IFluffyCoreOIDCFlowStoreServer interface {
	OIDCFlowStoreServer
}

IFluffyCoreOIDCFlowStoreServer defines the grpc server

type OIDCFlowStoreClient

type OIDCFlowStoreClient interface {
	// Create user
	StoreAuthorizationRequestState(ctx context.Context, in *StoreAuthorizationRequestStateRequest, opts ...grpc.CallOption) (*StoreAuthorizationRequestStateResponse, error)
	GetAuthorizationRequestState(ctx context.Context, in *GetAuthorizationRequestStateRequest, opts ...grpc.CallOption) (*GetAuthorizationRequestStateResponse, error)
	DeleteAuthorizationRequestState(ctx context.Context, in *DeleteAuthorizationRequestStateRequest, opts ...grpc.CallOption) (*DeleteAuthorizationRequestStateResponse, error)
}

OIDCFlowStoreClient is the client API for OIDCFlowStore 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 OIDCFlowStoreFluffyCoreServer

OIDCFlowStoreFluffyCoreServer defines the grpc server truct

func (*OIDCFlowStoreFluffyCoreServer) DeleteAuthorizationRequestState

DeleteAuthorizationRequestState...

func (*OIDCFlowStoreFluffyCoreServer) GetAuthorizationRequestState

GetAuthorizationRequestState...

func (*OIDCFlowStoreFluffyCoreServer) RegisterFluffyCoreGRPCService

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

RegisterFluffyCoreGRPCService the server with grpc

func (*OIDCFlowStoreFluffyCoreServer) StoreAuthorizationRequestState

StoreAuthorizationRequestState...

type OIDCFlowStoreServer

type OIDCFlowStoreServer interface {
	// Create user
	StoreAuthorizationRequestState(context.Context, *StoreAuthorizationRequestStateRequest) (*StoreAuthorizationRequestStateResponse, error)
	GetAuthorizationRequestState(context.Context, *GetAuthorizationRequestStateRequest) (*GetAuthorizationRequestStateResponse, error)
	DeleteAuthorizationRequestState(context.Context, *DeleteAuthorizationRequestStateRequest) (*DeleteAuthorizationRequestStateResponse, error)
	// contains filtered or unexported methods
}

OIDCFlowStoreServer is the server API for OIDCFlowStore service. All implementations must embed UnimplementedOIDCFlowStoreServer for forward compatibility

type StoreAuthorizationRequestStateRequest

type StoreAuthorizationRequestStateRequest struct {
	State                     string                            `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	AuthorizationRequestState *models.AuthorizationRequestState `protobuf:"bytes,2,opt,name=authorization_final,json=authorizationFinal,proto3" json:"authorization_final,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreAuthorizationRequestStateRequest) Descriptor deprecated

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

Deprecated: Use StoreAuthorizationRequestStateRequest.ProtoReflect.Descriptor instead.

func (*StoreAuthorizationRequestStateRequest) GetAuthorizationRequestState

func (x *StoreAuthorizationRequestStateRequest) GetAuthorizationRequestState() *models.AuthorizationRequestState

func (*StoreAuthorizationRequestStateRequest) GetState

func (*StoreAuthorizationRequestStateRequest) ProtoMessage

func (*StoreAuthorizationRequestStateRequest) ProtoMessage()

func (*StoreAuthorizationRequestStateRequest) ProtoReflect

func (*StoreAuthorizationRequestStateRequest) Reset

func (*StoreAuthorizationRequestStateRequest) String

type StoreAuthorizationRequestStateResponse

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

func (*StoreAuthorizationRequestStateResponse) Descriptor deprecated

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

Deprecated: Use StoreAuthorizationRequestStateResponse.ProtoReflect.Descriptor instead.

func (*StoreAuthorizationRequestStateResponse) ProtoMessage

func (*StoreAuthorizationRequestStateResponse) ProtoReflect

func (*StoreAuthorizationRequestStateResponse) Reset

func (*StoreAuthorizationRequestStateResponse) String

type StoreExternalOauth2FinalRequest

type StoreExternalOauth2FinalRequest struct {
	State               string                      `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	ExternalOauth2Final *models.ExternalOauth2Final `protobuf:"bytes,2,opt,name=external_oauth2_final,json=externalOauth2Final,proto3" json:"external_oauth2_final,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreExternalOauth2FinalRequest) Descriptor deprecated

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

Deprecated: Use StoreExternalOauth2FinalRequest.ProtoReflect.Descriptor instead.

func (*StoreExternalOauth2FinalRequest) GetExternalOauth2Final

func (x *StoreExternalOauth2FinalRequest) GetExternalOauth2Final() *models.ExternalOauth2Final

func (*StoreExternalOauth2FinalRequest) GetState

func (*StoreExternalOauth2FinalRequest) ProtoMessage

func (*StoreExternalOauth2FinalRequest) ProtoMessage()

func (*StoreExternalOauth2FinalRequest) ProtoReflect

func (*StoreExternalOauth2FinalRequest) Reset

func (*StoreExternalOauth2FinalRequest) String

type StoreExternalOauth2FinalResponse

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

func (*StoreExternalOauth2FinalResponse) Descriptor deprecated

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

Deprecated: Use StoreExternalOauth2FinalResponse.ProtoReflect.Descriptor instead.

func (*StoreExternalOauth2FinalResponse) ProtoMessage

func (*StoreExternalOauth2FinalResponse) ProtoMessage()

func (*StoreExternalOauth2FinalResponse) ProtoReflect

func (*StoreExternalOauth2FinalResponse) Reset

func (*StoreExternalOauth2FinalResponse) String

type UnimplementedExternalOauth2FlowStoreServer

type UnimplementedExternalOauth2FlowStoreServer struct {
}

UnimplementedExternalOauth2FlowStoreServer must be embedded to have forward compatible implementations.

func (UnimplementedExternalOauth2FlowStoreServer) GetExternalOauth2Final

type UnimplementedFluffyCoreExternalOauth2FlowStoreServerEndpointRegistration

type UnimplementedFluffyCoreExternalOauth2FlowStoreServerEndpointRegistration struct {
}

func (UnimplementedFluffyCoreExternalOauth2FlowStoreServerEndpointRegistration) RegisterFluffyCoreHandler

type UnimplementedFluffyCoreOIDCFlowStoreServerEndpointRegistration

type UnimplementedFluffyCoreOIDCFlowStoreServerEndpointRegistration struct {
}

func (UnimplementedFluffyCoreOIDCFlowStoreServerEndpointRegistration) RegisterFluffyCoreHandler

type UnimplementedOIDCFlowStoreServer

type UnimplementedOIDCFlowStoreServer struct {
}

UnimplementedOIDCFlowStoreServer must be embedded to have forward compatible implementations.

type UnsafeExternalOauth2FlowStoreServer

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

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

type UnsafeOIDCFlowStoreServer

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

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

Jump to

Keyboard shortcuts

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