Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterOauthServiceServer(s grpc.ServiceRegistrar, srv OauthServiceServer)
- type GetConnectedInboxOAuthURLRequest
- func (*GetConnectedInboxOAuthURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedInboxOAuthURLRequest) GetAuthenticationType() commons.ConnectedInboxAuthenticationType
- func (x *GetConnectedInboxOAuthURLRequest) GetReturningRedirectUri() string
- func (*GetConnectedInboxOAuthURLRequest) ProtoMessage()
- func (x *GetConnectedInboxOAuthURLRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectedInboxOAuthURLRequest) Reset()
- func (x *GetConnectedInboxOAuthURLRequest) String() string
- type GetConnectedInboxOAuthURLResponse
- func (*GetConnectedInboxOAuthURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedInboxOAuthURLResponse) GetOauthUrl() string
- func (*GetConnectedInboxOAuthURLResponse) ProtoMessage()
- func (x *GetConnectedInboxOAuthURLResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectedInboxOAuthURLResponse) Reset()
- func (x *GetConnectedInboxOAuthURLResponse) String() string
- type OauthServiceClient
- type OauthServiceServer
- type UnimplementedOauthServiceServer
- type UnsafeOauthServiceServer
Constants ¶
const (
OauthService_GetConnectedInboxOAuthURL_FullMethodName = "/services.omnichannel.oauth.v1alpha1.OauthService/GetConnectedInboxOAuthURL"
)
Variables ¶
var File_services_omnichannel_oauth_v1alpha1_entities_proto protoreflect.FileDescriptor
var File_services_omnichannel_oauth_v1alpha1_service_proto protoreflect.FileDescriptor
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 (x *GetConnectedInboxOAuthURLRequest) GetAuthenticationType() commons.ConnectedInboxAuthenticationType
func (*GetConnectedInboxOAuthURLRequest) GetReturningRedirectUri ¶
func (x *GetConnectedInboxOAuthURLRequest) GetReturningRedirectUri() string
func (*GetConnectedInboxOAuthURLRequest) ProtoMessage ¶
func (*GetConnectedInboxOAuthURLRequest) ProtoMessage()
func (*GetConnectedInboxOAuthURLRequest) ProtoReflect ¶
func (x *GetConnectedInboxOAuthURLRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedInboxOAuthURLRequest) Reset ¶
func (x *GetConnectedInboxOAuthURLRequest) Reset()
func (*GetConnectedInboxOAuthURLRequest) String ¶
func (x *GetConnectedInboxOAuthURLRequest) String() 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 (x *GetConnectedInboxOAuthURLResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedInboxOAuthURLResponse) Reset ¶
func (x *GetConnectedInboxOAuthURLResponse) Reset()
func (*GetConnectedInboxOAuthURLResponse) String ¶
func (x *GetConnectedInboxOAuthURLResponse) String() 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.
func NewOauthServiceClient ¶
func NewOauthServiceClient(cc grpc.ClientConnInterface) OauthServiceClient
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOauthServiceServer) GetConnectedInboxOAuthURL ¶
func (UnimplementedOauthServiceServer) GetConnectedInboxOAuthURL(context.Context, *GetConnectedInboxOAuthURLRequest) (*GetConnectedInboxOAuthURLResponse, error)
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.