oauthv1alpha1

package
v1.7.75 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	OauthService_GetConnectedInboxOAuthURL_FullMethodName = "/services.omnichannel.oauth.v1alpha1.OauthService/GetConnectedInboxOAuthURL"
)

Variables

View Source
var File_services_omnichannel_oauth_v1alpha1_entities_proto protoreflect.FileDescriptor
View Source
var File_services_omnichannel_oauth_v1alpha1_service_proto protoreflect.FileDescriptor
View Source
var OauthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.omnichannel.oauth.v1alpha1.OauthService",
	HandlerType: (*OauthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConnectedInboxOAuthURL",
			Handler:    _OauthService_GetConnectedInboxOAuthURL_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/omnichannel/oauth/v1alpha1/service.proto",
}

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

Functions

func RegisterOauthServiceServer

func RegisterOauthServiceServer(s grpc.ServiceRegistrar, srv OauthServiceServer)

Types

type GetConnectedInboxOAuthURLRequest

type GetConnectedInboxOAuthURLRequest struct {
	AuthenticationType   commons.ConnectedInboxAuthenticationType `` /* 166-byte string literal not displayed */
	ReturningRedirectUri string                                   `protobuf:"bytes,2,opt,name=returning_redirect_uri,json=returningRedirectUri,proto3" json:"returning_redirect_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedInboxOAuthURLRequest) Descriptor deprecated

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

Deprecated: Use GetConnectedInboxOAuthURLRequest.ProtoReflect.Descriptor instead.

func (*GetConnectedInboxOAuthURLRequest) GetAuthenticationType

func (*GetConnectedInboxOAuthURLRequest) GetReturningRedirectUri

func (x *GetConnectedInboxOAuthURLRequest) GetReturningRedirectUri() string

func (*GetConnectedInboxOAuthURLRequest) ProtoMessage

func (*GetConnectedInboxOAuthURLRequest) ProtoMessage()

func (*GetConnectedInboxOAuthURLRequest) ProtoReflect

func (*GetConnectedInboxOAuthURLRequest) Reset

func (*GetConnectedInboxOAuthURLRequest) String

type GetConnectedInboxOAuthURLResponse

type GetConnectedInboxOAuthURLResponse struct {
	OauthUrl string `protobuf:"bytes,1,opt,name=oauth_url,json=oauthUrl,proto3" json:"oauth_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedInboxOAuthURLResponse) Descriptor deprecated

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

Deprecated: Use GetConnectedInboxOAuthURLResponse.ProtoReflect.Descriptor instead.

func (*GetConnectedInboxOAuthURLResponse) GetOauthUrl

func (x *GetConnectedInboxOAuthURLResponse) GetOauthUrl() string

func (*GetConnectedInboxOAuthURLResponse) ProtoMessage

func (*GetConnectedInboxOAuthURLResponse) ProtoMessage()

func (*GetConnectedInboxOAuthURLResponse) ProtoReflect

func (*GetConnectedInboxOAuthURLResponse) Reset

func (*GetConnectedInboxOAuthURLResponse) String

type OauthServiceClient

type OauthServiceClient interface {
	GetConnectedInboxOAuthURL(ctx context.Context, in *GetConnectedInboxOAuthURLRequest, opts ...grpc.CallOption) (*GetConnectedInboxOAuthURLResponse, error)
}

OauthServiceClient is the client API for OauthService 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 OauthServiceServer

type OauthServiceServer interface {
	GetConnectedInboxOAuthURL(context.Context, *GetConnectedInboxOAuthURLRequest) (*GetConnectedInboxOAuthURLResponse, error)
	// contains filtered or unexported methods
}

OauthServiceServer is the server API for OauthService service. All implementations must embed UnimplementedOauthServiceServer for forward compatibility

type UnimplementedOauthServiceServer

type UnimplementedOauthServiceServer struct {
}

UnimplementedOauthServiceServer must be embedded to have forward compatible implementations.

type UnsafeOauthServiceServer

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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