approzium_authenticator_protos

package
Version: v0.0.0-...-4eff39e Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientLanguage_name = map[int32]string{
	0: "LANGUAGE_NOT_PROVIDED",
	1: "PYTHON",
	2: "GO",
}
View Source
var ClientLanguage_value = map[string]int32{
	"LANGUAGE_NOT_PROVIDED": 0,
	"PYTHON":                1,
	"GO":                    2,
}

Functions

func RegisterAuthenticatorServer

func RegisterAuthenticatorServer(s *grpc.Server, srv AuthenticatorServer)

Types

type AWSIdentity

type AWSIdentity struct {
	SignedGetCallerIdentity string   `` /* 134-byte string literal not displayed */
	ClaimedIamArn           string   `protobuf:"bytes,2,opt,name=claimed_iam_arn,json=claimedIamArn,proto3" json:"claimed_iam_arn,omitempty"`
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*AWSIdentity) Descriptor

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

func (*AWSIdentity) GetClaimedIamArn

func (m *AWSIdentity) GetClaimedIamArn() string

func (*AWSIdentity) GetSignedGetCallerIdentity

func (m *AWSIdentity) GetSignedGetCallerIdentity() string

func (*AWSIdentity) ProtoMessage

func (*AWSIdentity) ProtoMessage()

func (*AWSIdentity) Reset

func (m *AWSIdentity) Reset()

func (*AWSIdentity) String

func (m *AWSIdentity) String() string

func (*AWSIdentity) XXX_DiscardUnknown

func (m *AWSIdentity) XXX_DiscardUnknown()

func (*AWSIdentity) XXX_Marshal

func (m *AWSIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSIdentity) XXX_Merge

func (m *AWSIdentity) XXX_Merge(src proto.Message)

func (*AWSIdentity) XXX_Size

func (m *AWSIdentity) XXX_Size() int

func (*AWSIdentity) XXX_Unmarshal

func (m *AWSIdentity) XXX_Unmarshal(b []byte) error

type AuthenticatorClient

type AuthenticatorClient interface {
	GetPGMD5Hash(ctx context.Context, in *PGMD5HashRequest, opts ...grpc.CallOption) (*PGMD5Response, error)
	GetPGSHA256Hash(ctx context.Context, in *PGSHA256HashRequest, opts ...grpc.CallOption) (*PGSHA256Response, error)
	GetMYSQLSHA1Hash(ctx context.Context, in *MYSQLSHA1HashRequest, opts ...grpc.CallOption) (*MYSQLSHA1Response, error)
}

AuthenticatorClient is the client API for Authenticator service.

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

type AuthenticatorServer

type AuthenticatorServer interface {
	GetPGMD5Hash(context.Context, *PGMD5HashRequest) (*PGMD5Response, error)
	GetPGSHA256Hash(context.Context, *PGSHA256HashRequest) (*PGSHA256Response, error)
	GetMYSQLSHA1Hash(context.Context, *MYSQLSHA1HashRequest) (*MYSQLSHA1Response, error)
}

AuthenticatorServer is the server API for Authenticator service.

type ClientLanguage

type ClientLanguage int32
const (
	ClientLanguage_LANGUAGE_NOT_PROVIDED ClientLanguage = 0
	ClientLanguage_PYTHON                ClientLanguage = 1
	ClientLanguage_GO                    ClientLanguage = 2
)

func (ClientLanguage) EnumDescriptor

func (ClientLanguage) EnumDescriptor() ([]byte, []int)

func (ClientLanguage) String

func (x ClientLanguage) String() string

type MYSQLSHA1HashRequest

type MYSQLSHA1HashRequest struct {
	PwdRequest           *PasswordRequest `protobuf:"bytes,1,opt,name=pwd_request,json=pwdRequest,proto3" json:"pwd_request,omitempty"`
	Salt                 []byte           `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*MYSQLSHA1HashRequest) Descriptor

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

func (*MYSQLSHA1HashRequest) GetPwdRequest

func (m *MYSQLSHA1HashRequest) GetPwdRequest() *PasswordRequest

func (*MYSQLSHA1HashRequest) GetSalt

func (m *MYSQLSHA1HashRequest) GetSalt() []byte

func (*MYSQLSHA1HashRequest) ProtoMessage

func (*MYSQLSHA1HashRequest) ProtoMessage()

func (*MYSQLSHA1HashRequest) Reset

func (m *MYSQLSHA1HashRequest) Reset()

func (*MYSQLSHA1HashRequest) String

func (m *MYSQLSHA1HashRequest) String() string

func (*MYSQLSHA1HashRequest) XXX_DiscardUnknown

func (m *MYSQLSHA1HashRequest) XXX_DiscardUnknown()

func (*MYSQLSHA1HashRequest) XXX_Marshal

func (m *MYSQLSHA1HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MYSQLSHA1HashRequest) XXX_Merge

func (m *MYSQLSHA1HashRequest) XXX_Merge(src proto.Message)

func (*MYSQLSHA1HashRequest) XXX_Size

func (m *MYSQLSHA1HashRequest) XXX_Size() int

func (*MYSQLSHA1HashRequest) XXX_Unmarshal

func (m *MYSQLSHA1HashRequest) XXX_Unmarshal(b []byte) error

type MYSQLSHA1Response

type MYSQLSHA1Response struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Requestid            string   `protobuf:"bytes,2,opt,name=requestid,proto3" json:"requestid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MYSQLSHA1Response) Descriptor

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

func (*MYSQLSHA1Response) GetHash

func (m *MYSQLSHA1Response) GetHash() []byte

func (*MYSQLSHA1Response) GetRequestid

func (m *MYSQLSHA1Response) GetRequestid() string

func (*MYSQLSHA1Response) ProtoMessage

func (*MYSQLSHA1Response) ProtoMessage()

func (*MYSQLSHA1Response) Reset

func (m *MYSQLSHA1Response) Reset()

func (*MYSQLSHA1Response) String

func (m *MYSQLSHA1Response) String() string

func (*MYSQLSHA1Response) XXX_DiscardUnknown

func (m *MYSQLSHA1Response) XXX_DiscardUnknown()

func (*MYSQLSHA1Response) XXX_Marshal

func (m *MYSQLSHA1Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MYSQLSHA1Response) XXX_Merge

func (m *MYSQLSHA1Response) XXX_Merge(src proto.Message)

func (*MYSQLSHA1Response) XXX_Size

func (m *MYSQLSHA1Response) XXX_Size() int

func (*MYSQLSHA1Response) XXX_Unmarshal

func (m *MYSQLSHA1Response) XXX_Unmarshal(b []byte) error

type PGMD5HashRequest

type PGMD5HashRequest struct {
	PwdRequest           *PasswordRequest `protobuf:"bytes,1,opt,name=pwd_request,json=pwdRequest,proto3" json:"pwd_request,omitempty"`
	Salt                 []byte           `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*PGMD5HashRequest) Descriptor

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

func (*PGMD5HashRequest) GetPwdRequest

func (m *PGMD5HashRequest) GetPwdRequest() *PasswordRequest

func (*PGMD5HashRequest) GetSalt

func (m *PGMD5HashRequest) GetSalt() []byte

func (*PGMD5HashRequest) ProtoMessage

func (*PGMD5HashRequest) ProtoMessage()

func (*PGMD5HashRequest) Reset

func (m *PGMD5HashRequest) Reset()

func (*PGMD5HashRequest) String

func (m *PGMD5HashRequest) String() string

func (*PGMD5HashRequest) XXX_DiscardUnknown

func (m *PGMD5HashRequest) XXX_DiscardUnknown()

func (*PGMD5HashRequest) XXX_Marshal

func (m *PGMD5HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PGMD5HashRequest) XXX_Merge

func (m *PGMD5HashRequest) XXX_Merge(src proto.Message)

func (*PGMD5HashRequest) XXX_Size

func (m *PGMD5HashRequest) XXX_Size() int

func (*PGMD5HashRequest) XXX_Unmarshal

func (m *PGMD5HashRequest) XXX_Unmarshal(b []byte) error

type PGMD5Response

type PGMD5Response struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Requestid            string   `protobuf:"bytes,2,opt,name=requestid,proto3" json:"requestid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PGMD5Response) Descriptor

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

func (*PGMD5Response) GetHash

func (m *PGMD5Response) GetHash() string

func (*PGMD5Response) GetRequestid

func (m *PGMD5Response) GetRequestid() string

func (*PGMD5Response) ProtoMessage

func (*PGMD5Response) ProtoMessage()

func (*PGMD5Response) Reset

func (m *PGMD5Response) Reset()

func (*PGMD5Response) String

func (m *PGMD5Response) String() string

func (*PGMD5Response) XXX_DiscardUnknown

func (m *PGMD5Response) XXX_DiscardUnknown()

func (*PGMD5Response) XXX_Marshal

func (m *PGMD5Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PGMD5Response) XXX_Merge

func (m *PGMD5Response) XXX_Merge(src proto.Message)

func (*PGMD5Response) XXX_Size

func (m *PGMD5Response) XXX_Size() int

func (*PGMD5Response) XXX_Unmarshal

func (m *PGMD5Response) XXX_Unmarshal(b []byte) error

type PGSHA256HashRequest

type PGSHA256HashRequest struct {
	PwdRequest           *PasswordRequest `protobuf:"bytes,1,opt,name=pwd_request,json=pwdRequest,proto3" json:"pwd_request,omitempty"`
	Salt                 string           `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	Iterations           uint32           `protobuf:"varint,3,opt,name=iterations,proto3" json:"iterations,omitempty"`
	AuthenticationMsg    string           `protobuf:"bytes,4,opt,name=authentication_msg,json=authenticationMsg,proto3" json:"authentication_msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*PGSHA256HashRequest) Descriptor

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

func (*PGSHA256HashRequest) GetAuthenticationMsg

func (m *PGSHA256HashRequest) GetAuthenticationMsg() string

func (*PGSHA256HashRequest) GetIterations

func (m *PGSHA256HashRequest) GetIterations() uint32

func (*PGSHA256HashRequest) GetPwdRequest

func (m *PGSHA256HashRequest) GetPwdRequest() *PasswordRequest

func (*PGSHA256HashRequest) GetSalt

func (m *PGSHA256HashRequest) GetSalt() string

func (*PGSHA256HashRequest) ProtoMessage

func (*PGSHA256HashRequest) ProtoMessage()

func (*PGSHA256HashRequest) Reset

func (m *PGSHA256HashRequest) Reset()

func (*PGSHA256HashRequest) String

func (m *PGSHA256HashRequest) String() string

func (*PGSHA256HashRequest) XXX_DiscardUnknown

func (m *PGSHA256HashRequest) XXX_DiscardUnknown()

func (*PGSHA256HashRequest) XXX_Marshal

func (m *PGSHA256HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PGSHA256HashRequest) XXX_Merge

func (m *PGSHA256HashRequest) XXX_Merge(src proto.Message)

func (*PGSHA256HashRequest) XXX_Size

func (m *PGSHA256HashRequest) XXX_Size() int

func (*PGSHA256HashRequest) XXX_Unmarshal

func (m *PGSHA256HashRequest) XXX_Unmarshal(b []byte) error

type PGSHA256Response

type PGSHA256Response struct {
	Cproof               string   `protobuf:"bytes,1,opt,name=cproof,proto3" json:"cproof,omitempty"`
	Sproof               string   `protobuf:"bytes,2,opt,name=sproof,proto3" json:"sproof,omitempty"`
	Requestid            string   `protobuf:"bytes,3,opt,name=requestid,proto3" json:"requestid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PGSHA256Response) Descriptor

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

func (*PGSHA256Response) GetCproof

func (m *PGSHA256Response) GetCproof() string

func (*PGSHA256Response) GetRequestid

func (m *PGSHA256Response) GetRequestid() string

func (*PGSHA256Response) GetSproof

func (m *PGSHA256Response) GetSproof() string

func (*PGSHA256Response) ProtoMessage

func (*PGSHA256Response) ProtoMessage()

func (*PGSHA256Response) Reset

func (m *PGSHA256Response) Reset()

func (*PGSHA256Response) String

func (m *PGSHA256Response) String() string

func (*PGSHA256Response) XXX_DiscardUnknown

func (m *PGSHA256Response) XXX_DiscardUnknown()

func (*PGSHA256Response) XXX_Marshal

func (m *PGSHA256Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PGSHA256Response) XXX_Merge

func (m *PGSHA256Response) XXX_Merge(src proto.Message)

func (*PGSHA256Response) XXX_Size

func (m *PGSHA256Response) XXX_Size() int

func (*PGSHA256Response) XXX_Unmarshal

func (m *PGSHA256Response) XXX_Unmarshal(b []byte) error

type PasswordRequest

type PasswordRequest struct {
	ClientLanguage       ClientLanguage `` /* 155-byte string literal not displayed */
	Dbhost               string         `protobuf:"bytes,2,opt,name=dbhost,proto3" json:"dbhost,omitempty"`
	Dbport               string         `protobuf:"bytes,3,opt,name=dbport,proto3" json:"dbport,omitempty"`
	Dbuser               string         `protobuf:"bytes,4,opt,name=dbuser,proto3" json:"dbuser,omitempty"`
	Aws                  *AWSIdentity   `protobuf:"bytes,5,opt,name=aws,proto3" json:"aws,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PasswordRequest) Descriptor

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

func (*PasswordRequest) GetAws

func (m *PasswordRequest) GetAws() *AWSIdentity

func (*PasswordRequest) GetClientLanguage

func (m *PasswordRequest) GetClientLanguage() ClientLanguage

func (*PasswordRequest) GetDbhost

func (m *PasswordRequest) GetDbhost() string

func (*PasswordRequest) GetDbport

func (m *PasswordRequest) GetDbport() string

func (*PasswordRequest) GetDbuser

func (m *PasswordRequest) GetDbuser() string

func (*PasswordRequest) ProtoMessage

func (*PasswordRequest) ProtoMessage()

func (*PasswordRequest) Reset

func (m *PasswordRequest) Reset()

func (*PasswordRequest) String

func (m *PasswordRequest) String() string

func (*PasswordRequest) XXX_DiscardUnknown

func (m *PasswordRequest) XXX_DiscardUnknown()

func (*PasswordRequest) XXX_Marshal

func (m *PasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PasswordRequest) XXX_Merge

func (m *PasswordRequest) XXX_Merge(src proto.Message)

func (*PasswordRequest) XXX_Size

func (m *PasswordRequest) XXX_Size() int

func (*PasswordRequest) XXX_Unmarshal

func (m *PasswordRequest) XXX_Unmarshal(b []byte) error

type UnimplementedAuthenticatorServer

type UnimplementedAuthenticatorServer struct {
}

UnimplementedAuthenticatorServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthenticatorServer) GetMYSQLSHA1Hash

func (*UnimplementedAuthenticatorServer) GetPGMD5Hash

func (*UnimplementedAuthenticatorServer) GetPGSHA256Hash

Jump to

Keyboard shortcuts

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