userauthnpb

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_userauthn_userauthnpb_userauthnservice_proto protoreflect.FileDescriptor

Functions

func RegisterUserAuthnServiceServer

func RegisterUserAuthnServiceServer(s grpc.ServiceRegistrar, srv UserAuthnServiceServer)

Types

type CreateTokenRequest

type CreateTokenRequest struct {
	VerifyUser *VerifyUser `protobuf:"bytes,1,opt,name=verify_user,json=verifyUser,proto3" json:"verify_user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetVerifyUser

func (x *CreateTokenRequest) GetVerifyUser() *VerifyUser

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect

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

func (*CreateTokenRequest) Reset

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (x *CreateTokenRequest) String() string

type CreateTokenResponse

type CreateTokenResponse struct {
	VerifiedUser *VerifiedUser `protobuf:"bytes,1,opt,name=verified_user,json=verifiedUser,proto3" json:"verified_user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetVerifiedUser

func (x *CreateTokenResponse) GetVerifiedUser() *VerifiedUser

func (*CreateTokenResponse) ProtoMessage

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect

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

func (*CreateTokenResponse) Reset

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String

func (x *CreateTokenResponse) String() string

type UnimplementedUserAuthnServiceServer

type UnimplementedUserAuthnServiceServer struct {
}

UnimplementedUserAuthnServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserAuthnServiceServer) CreateToken

type UnsafeUserAuthnServiceServer

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

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

type UserAuthnServiceClient

type UserAuthnServiceClient interface {
	CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error)
}

UserAuthnServiceClient is the client API for UserAuthnService 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 UserAuthnServiceServer

type UserAuthnServiceServer interface {
	CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error)
	// contains filtered or unexported methods
}

UserAuthnServiceServer is the server API for UserAuthnService service. All implementations must embed UnimplementedUserAuthnServiceServer for forward compatibility

type VerifiedUser

type VerifiedUser struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifiedUser) Descriptor deprecated

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

Deprecated: Use VerifiedUser.ProtoReflect.Descriptor instead.

func (*VerifiedUser) GetAccessToken

func (x *VerifiedUser) GetAccessToken() string

func (*VerifiedUser) ProtoMessage

func (*VerifiedUser) ProtoMessage()

func (*VerifiedUser) ProtoReflect

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

func (*VerifiedUser) Reset

func (x *VerifiedUser) Reset()

func (*VerifiedUser) String

func (x *VerifiedUser) String() string

type VerifyUser

type VerifyUser struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyUser) Descriptor deprecated

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

Deprecated: Use VerifyUser.ProtoReflect.Descriptor instead.

func (*VerifyUser) GetEmail

func (x *VerifyUser) GetEmail() string

func (*VerifyUser) GetPassword

func (x *VerifyUser) GetPassword() string

func (*VerifyUser) ProtoMessage

func (*VerifyUser) ProtoMessage()

func (*VerifyUser) ProtoReflect

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

func (*VerifyUser) Reset

func (x *VerifyUser) Reset()

func (*VerifyUser) String

func (x *VerifyUser) String() string

Jump to

Keyboard shortcuts

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