providerv1beta1

package
v0.0.0-...-6b5d9df Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cs3_auth_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor

Functions

func RegisterProviderAPIHandler

func RegisterProviderAPIHandler(s server.Server, hdlr ProviderAPIHandler, opts ...server.HandlerOption) error

func RegisterProviderAPIServer

func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer)

Types

type AuthenticateRequest

type AuthenticateRequest struct {
	Opaque       *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	ClientId     string          `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string          `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) Descriptor deprecated

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

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetClientId

func (x *AuthenticateRequest) GetClientId() string

func (*AuthenticateRequest) GetClientSecret

func (x *AuthenticateRequest) GetClientSecret() string

func (*AuthenticateRequest) GetOpaque

func (x *AuthenticateRequest) GetOpaque() *v1beta1.Opaque

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

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

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

type AuthenticateResponse

type AuthenticateResponse struct {
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	User   *v1beta12.User   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) Descriptor deprecated

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

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetStatus

func (x *AuthenticateResponse) GetStatus() *v1beta11.Status

func (*AuthenticateResponse) GetUser

func (x *AuthenticateResponse) GetUser() *v1beta12.User

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

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

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

type ProviderAPIClient

type ProviderAPIClient interface {
	// Authenticate authenticates a client.
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
}

ProviderAPIClient is the client API for ProviderAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ProviderAPIHandler

type ProviderAPIHandler interface {
	// Authenticate authenticates a client.
	Authenticate(context.Context, *AuthenticateRequest, *AuthenticateResponse) error
}

type ProviderAPIServer

type ProviderAPIServer interface {
	// Authenticate authenticates a client.
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
}

ProviderAPIServer is the server API for ProviderAPI service.

type ProviderAPIService

type ProviderAPIService interface {
	// Authenticate authenticates a client.
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...client.CallOption) (*AuthenticateResponse, error)
}

func NewProviderAPIService

func NewProviderAPIService(name string, c client.Client) ProviderAPIService

type UnimplementedProviderAPIServer

type UnimplementedProviderAPIServer struct {
}

UnimplementedProviderAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedProviderAPIServer) Authenticate

Jump to

Keyboard shortcuts

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