| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.36.5 |
| // protoc v3.21.12 |
| // source: omni/login.proto |
| |
| package omni |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type AccessToken_AccessTokenType int32 |
| |
| const ( |
| AccessToken_ACCESS_TOKEN_TYPE_UNSPECIFIED AccessToken_AccessTokenType = 0 |
| AccessToken_ACCESS_TOKEN_TYPE_API AccessToken_AccessTokenType = 1 |
| AccessToken_ACCESS_TOKEN_TYPE_UI AccessToken_AccessTokenType = 2 |
| ) |
| |
| // Enum value maps for AccessToken_AccessTokenType. |
| var ( |
| AccessToken_AccessTokenType_name = map[int32]string{ |
| 0: "ACCESS_TOKEN_TYPE_UNSPECIFIED", |
| 1: "ACCESS_TOKEN_TYPE_API", |
| 2: "ACCESS_TOKEN_TYPE_UI", |
| } |
| AccessToken_AccessTokenType_value = map[string]int32{ |
| "ACCESS_TOKEN_TYPE_UNSPECIFIED": 0, |
| "ACCESS_TOKEN_TYPE_API": 1, |
| "ACCESS_TOKEN_TYPE_UI": 2, |
| } |
| ) |
| |
| func (x AccessToken_AccessTokenType) Enum() *AccessToken_AccessTokenType { |
| p := new(AccessToken_AccessTokenType) |
| *p = x |
| return p |
| } |
| |
| func (x AccessToken_AccessTokenType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AccessToken_AccessTokenType) Descriptor() protoreflect.EnumDescriptor { |
| return file_omni_login_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (AccessToken_AccessTokenType) Type() protoreflect.EnumType { |
| return &file_omni_login_proto_enumTypes[0] |
| } |
| |
| func (x AccessToken_AccessTokenType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AccessToken_AccessTokenType.Descriptor instead. |
| func (AccessToken_AccessTokenType) EnumDescriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| type AccessToken struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` |
| CreationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` |
| ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` |
| Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` |
| KeyId int64 `protobuf:"varint,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` |
| AccessTokenType AccessToken_AccessTokenType `protobuf:"varint,6,opt,name=access_token_type,json=accessTokenType,proto3,enum=google.spanner.auth.v1.AccessToken_AccessTokenType" json:"access_token_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AccessToken) Reset() { |
| *x = AccessToken{} |
| mi := &file_omni_login_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AccessToken) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AccessToken) ProtoMessage() {} |
| |
| func (x *AccessToken) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AccessToken.ProtoReflect.Descriptor instead. |
| func (*AccessToken) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *AccessToken) GetUsername() string { |
| if x != nil { |
| return x.Username |
| } |
| return "" |
| } |
| |
| func (x *AccessToken) GetCreationTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.CreationTime |
| } |
| return nil |
| } |
| |
| func (x *AccessToken) GetExpirationTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.ExpirationTime |
| } |
| return nil |
| } |
| |
| func (x *AccessToken) GetSignature() []byte { |
| if x != nil { |
| return x.Signature |
| } |
| return nil |
| } |
| |
| func (x *AccessToken) GetKeyId() int64 { |
| if x != nil { |
| return x.KeyId |
| } |
| return 0 |
| } |
| |
| func (x *AccessToken) GetAccessTokenType() AccessToken_AccessTokenType { |
| if x != nil { |
| return x.AccessTokenType |
| } |
| return AccessToken_ACCESS_TOKEN_TYPE_UNSPECIFIED |
| } |
| |
| type InitialOpaqueLoginRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| BlindedMessage []byte `protobuf:"bytes,1,opt,name=blinded_message,json=blindedMessage,proto3" json:"blinded_message,omitempty"` |
| ClientNonce []byte `protobuf:"bytes,2,opt,name=client_nonce,json=clientNonce,proto3" json:"client_nonce,omitempty"` |
| ClientPublicKeyshare []byte `protobuf:"bytes,3,opt,name=client_public_keyshare,json=clientPublicKeyshare,proto3" json:"client_public_keyshare,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *InitialOpaqueLoginRequest) Reset() { |
| *x = InitialOpaqueLoginRequest{} |
| mi := &file_omni_login_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *InitialOpaqueLoginRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*InitialOpaqueLoginRequest) ProtoMessage() {} |
| |
| func (x *InitialOpaqueLoginRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use InitialOpaqueLoginRequest.ProtoReflect.Descriptor instead. |
| func (*InitialOpaqueLoginRequest) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *InitialOpaqueLoginRequest) GetBlindedMessage() []byte { |
| if x != nil { |
| return x.BlindedMessage |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginRequest) GetClientNonce() []byte { |
| if x != nil { |
| return x.ClientNonce |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginRequest) GetClientPublicKeyshare() []byte { |
| if x != nil { |
| return x.ClientPublicKeyshare |
| } |
| return nil |
| } |
| |
| type FinalOpaqueLoginRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| ClientMac []byte `protobuf:"bytes,1,opt,name=client_mac,json=clientMac,proto3" json:"client_mac,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *FinalOpaqueLoginRequest) Reset() { |
| *x = FinalOpaqueLoginRequest{} |
| mi := &file_omni_login_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *FinalOpaqueLoginRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FinalOpaqueLoginRequest) ProtoMessage() {} |
| |
| func (x *FinalOpaqueLoginRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FinalOpaqueLoginRequest.ProtoReflect.Descriptor instead. |
| func (*FinalOpaqueLoginRequest) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *FinalOpaqueLoginRequest) GetClientMac() []byte { |
| if x != nil { |
| return x.ClientMac |
| } |
| return nil |
| } |
| |
| type InitialOpaqueLoginResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| ServerNonce []byte `protobuf:"bytes,1,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"` |
| ServerPublicKeyshare []byte `protobuf:"bytes,2,opt,name=server_public_keyshare,json=serverPublicKeyshare,proto3" json:"server_public_keyshare,omitempty"` |
| ServerMac []byte `protobuf:"bytes,3,opt,name=server_mac,json=serverMac,proto3" json:"server_mac,omitempty"` |
| EvaluatedMessage []byte `protobuf:"bytes,4,opt,name=evaluated_message,json=evaluatedMessage,proto3" json:"evaluated_message,omitempty"` |
| MaskingNonce []byte `protobuf:"bytes,5,opt,name=masking_nonce,json=maskingNonce,proto3" json:"masking_nonce,omitempty"` |
| MaskedResponse []byte `protobuf:"bytes,6,opt,name=masked_response,json=maskedResponse,proto3" json:"masked_response,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *InitialOpaqueLoginResponse) Reset() { |
| *x = InitialOpaqueLoginResponse{} |
| mi := &file_omni_login_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *InitialOpaqueLoginResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*InitialOpaqueLoginResponse) ProtoMessage() {} |
| |
| func (x *InitialOpaqueLoginResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use InitialOpaqueLoginResponse.ProtoReflect.Descriptor instead. |
| func (*InitialOpaqueLoginResponse) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetServerNonce() []byte { |
| if x != nil { |
| return x.ServerNonce |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetServerPublicKeyshare() []byte { |
| if x != nil { |
| return x.ServerPublicKeyshare |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetServerMac() []byte { |
| if x != nil { |
| return x.ServerMac |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetEvaluatedMessage() []byte { |
| if x != nil { |
| return x.EvaluatedMessage |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetMaskingNonce() []byte { |
| if x != nil { |
| return x.MaskingNonce |
| } |
| return nil |
| } |
| |
| func (x *InitialOpaqueLoginResponse) GetMaskedResponse() []byte { |
| if x != nil { |
| return x.MaskedResponse |
| } |
| return nil |
| } |
| |
| type OpaqueLoginRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Types that are valid to be assigned to Request: |
| // |
| // *OpaqueLoginRequest_InitialRequest |
| // *OpaqueLoginRequest_FinalRequest |
| Request isOpaqueLoginRequest_Request `protobuf_oneof:"request"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *OpaqueLoginRequest) Reset() { |
| *x = OpaqueLoginRequest{} |
| mi := &file_omni_login_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *OpaqueLoginRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*OpaqueLoginRequest) ProtoMessage() {} |
| |
| func (x *OpaqueLoginRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use OpaqueLoginRequest.ProtoReflect.Descriptor instead. |
| func (*OpaqueLoginRequest) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *OpaqueLoginRequest) GetRequest() isOpaqueLoginRequest_Request { |
| if x != nil { |
| return x.Request |
| } |
| return nil |
| } |
| |
| func (x *OpaqueLoginRequest) GetInitialRequest() *InitialOpaqueLoginRequest { |
| if x != nil { |
| if x, ok := x.Request.(*OpaqueLoginRequest_InitialRequest); ok { |
| return x.InitialRequest |
| } |
| } |
| return nil |
| } |
| |
| func (x *OpaqueLoginRequest) GetFinalRequest() *FinalOpaqueLoginRequest { |
| if x != nil { |
| if x, ok := x.Request.(*OpaqueLoginRequest_FinalRequest); ok { |
| return x.FinalRequest |
| } |
| } |
| return nil |
| } |
| |
| type isOpaqueLoginRequest_Request interface { |
| isOpaqueLoginRequest_Request() |
| } |
| |
| type OpaqueLoginRequest_InitialRequest struct { |
| InitialRequest *InitialOpaqueLoginRequest `protobuf:"bytes,1,opt,name=initial_request,json=initialRequest,proto3,oneof"` |
| } |
| |
| type OpaqueLoginRequest_FinalRequest struct { |
| FinalRequest *FinalOpaqueLoginRequest `protobuf:"bytes,2,opt,name=final_request,json=finalRequest,proto3,oneof"` |
| } |
| |
| func (*OpaqueLoginRequest_InitialRequest) isOpaqueLoginRequest_Request() {} |
| |
| func (*OpaqueLoginRequest_FinalRequest) isOpaqueLoginRequest_Request() {} |
| |
| type OpaqueLoginResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Types that are valid to be assigned to Response: |
| // |
| // *OpaqueLoginResponse_InitialResponse |
| // *OpaqueLoginResponse_FinalResponse_ |
| Response isOpaqueLoginResponse_Response `protobuf_oneof:"response"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *OpaqueLoginResponse) Reset() { |
| *x = OpaqueLoginResponse{} |
| mi := &file_omni_login_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *OpaqueLoginResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*OpaqueLoginResponse) ProtoMessage() {} |
| |
| func (x *OpaqueLoginResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use OpaqueLoginResponse.ProtoReflect.Descriptor instead. |
| func (*OpaqueLoginResponse) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *OpaqueLoginResponse) GetResponse() isOpaqueLoginResponse_Response { |
| if x != nil { |
| return x.Response |
| } |
| return nil |
| } |
| |
| func (x *OpaqueLoginResponse) GetInitialResponse() *InitialOpaqueLoginResponse { |
| if x != nil { |
| if x, ok := x.Response.(*OpaqueLoginResponse_InitialResponse); ok { |
| return x.InitialResponse |
| } |
| } |
| return nil |
| } |
| |
| func (x *OpaqueLoginResponse) GetFinalResponse() *OpaqueLoginResponse_FinalResponse { |
| if x != nil { |
| if x, ok := x.Response.(*OpaqueLoginResponse_FinalResponse_); ok { |
| return x.FinalResponse |
| } |
| } |
| return nil |
| } |
| |
| type isOpaqueLoginResponse_Response interface { |
| isOpaqueLoginResponse_Response() |
| } |
| |
| type OpaqueLoginResponse_InitialResponse struct { |
| InitialResponse *InitialOpaqueLoginResponse `protobuf:"bytes,1,opt,name=initial_response,json=initialResponse,proto3,oneof"` |
| } |
| |
| type OpaqueLoginResponse_FinalResponse_ struct { |
| FinalResponse *OpaqueLoginResponse_FinalResponse `protobuf:"bytes,2,opt,name=final_response,json=finalResponse,proto3,oneof"` |
| } |
| |
| func (*OpaqueLoginResponse_InitialResponse) isOpaqueLoginResponse_Response() {} |
| |
| func (*OpaqueLoginResponse_FinalResponse_) isOpaqueLoginResponse_Response() {} |
| |
| type LoginRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` |
| // Types that are valid to be assigned to Request: |
| // |
| // *LoginRequest_OpaqueRequest |
| // *LoginRequest_HandshakeRequest |
| Request isLoginRequest_Request `protobuf_oneof:"request"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *LoginRequest) Reset() { |
| *x = LoginRequest{} |
| mi := &file_omni_login_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *LoginRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*LoginRequest) ProtoMessage() {} |
| |
| func (x *LoginRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead. |
| func (*LoginRequest) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *LoginRequest) GetUsername() string { |
| if x != nil { |
| return x.Username |
| } |
| return "" |
| } |
| |
| func (x *LoginRequest) GetRequest() isLoginRequest_Request { |
| if x != nil { |
| return x.Request |
| } |
| return nil |
| } |
| |
| func (x *LoginRequest) GetOpaqueRequest() *OpaqueLoginRequest { |
| if x != nil { |
| if x, ok := x.Request.(*LoginRequest_OpaqueRequest); ok { |
| return x.OpaqueRequest |
| } |
| } |
| return nil |
| } |
| |
| func (x *LoginRequest) GetHandshakeRequest() *PasswordAuthenticationHandshakeRequest { |
| if x != nil { |
| if x, ok := x.Request.(*LoginRequest_HandshakeRequest); ok { |
| return x.HandshakeRequest |
| } |
| } |
| return nil |
| } |
| |
| type isLoginRequest_Request interface { |
| isLoginRequest_Request() |
| } |
| |
| type LoginRequest_OpaqueRequest struct { |
| OpaqueRequest *OpaqueLoginRequest `protobuf:"bytes,4,opt,name=opaque_request,json=opaqueRequest,proto3,oneof"` |
| } |
| |
| type LoginRequest_HandshakeRequest struct { |
| HandshakeRequest *PasswordAuthenticationHandshakeRequest `protobuf:"bytes,5,opt,name=handshake_request,json=handshakeRequest,proto3,oneof"` |
| } |
| |
| func (*LoginRequest_OpaqueRequest) isLoginRequest_Request() {} |
| |
| func (*LoginRequest_HandshakeRequest) isLoginRequest_Request() {} |
| |
| type LoginResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| AccessToken *AccessToken `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` |
| // Types that are valid to be assigned to Response: |
| // |
| // *LoginResponse_OpaqueResponse |
| // *LoginResponse_HandshakeResponse |
| Response isLoginResponse_Response `protobuf_oneof:"response"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *LoginResponse) Reset() { |
| *x = LoginResponse{} |
| mi := &file_omni_login_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *LoginResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*LoginResponse) ProtoMessage() {} |
| |
| func (x *LoginResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[7] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead. |
| func (*LoginResponse) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *LoginResponse) GetAccessToken() *AccessToken { |
| if x != nil { |
| return x.AccessToken |
| } |
| return nil |
| } |
| |
| func (x *LoginResponse) GetResponse() isLoginResponse_Response { |
| if x != nil { |
| return x.Response |
| } |
| return nil |
| } |
| |
| func (x *LoginResponse) GetOpaqueResponse() *OpaqueLoginResponse { |
| if x != nil { |
| if x, ok := x.Response.(*LoginResponse_OpaqueResponse); ok { |
| return x.OpaqueResponse |
| } |
| } |
| return nil |
| } |
| |
| func (x *LoginResponse) GetHandshakeResponse() *PasswordAuthenticationHandshakeResponse { |
| if x != nil { |
| if x, ok := x.Response.(*LoginResponse_HandshakeResponse); ok { |
| return x.HandshakeResponse |
| } |
| } |
| return nil |
| } |
| |
| type isLoginResponse_Response interface { |
| isLoginResponse_Response() |
| } |
| |
| type LoginResponse_OpaqueResponse struct { |
| OpaqueResponse *OpaqueLoginResponse `protobuf:"bytes,4,opt,name=opaque_response,json=opaqueResponse,proto3,oneof"` |
| } |
| |
| type LoginResponse_HandshakeResponse struct { |
| HandshakeResponse *PasswordAuthenticationHandshakeResponse `protobuf:"bytes,5,opt,name=handshake_response,json=handshakeResponse,proto3,oneof"` |
| } |
| |
| func (*LoginResponse_OpaqueResponse) isLoginResponse_Response() {} |
| |
| func (*LoginResponse_HandshakeResponse) isLoginResponse_Response() {} |
| |
| type OpaqueLoginResponse_FinalResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *OpaqueLoginResponse_FinalResponse) Reset() { |
| *x = OpaqueLoginResponse_FinalResponse{} |
| mi := &file_omni_login_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *OpaqueLoginResponse_FinalResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*OpaqueLoginResponse_FinalResponse) ProtoMessage() {} |
| |
| func (x *OpaqueLoginResponse_FinalResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_omni_login_proto_msgTypes[8] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use OpaqueLoginResponse_FinalResponse.ProtoReflect.Descriptor instead. |
| func (*OpaqueLoginResponse_FinalResponse) Descriptor() ([]byte, []int) { |
| return file_omni_login_proto_rawDescGZIP(), []int{5, 0} |
| } |
| |
| var File_omni_login_proto protoreflect.FileDescriptor |
| |
| var file_omni_login_proto_rawDesc = string([]byte{ |
| 0x0a, 0x10, 0x6f, 0x6d, 0x6e, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, |
| 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, |
| 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6f, 0x6d, 0x6e, |
| 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x03, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, |
| 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, |
| 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, |
| 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, |
| 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, |
| 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, |
| 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, |
| 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, |
| 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, |
| 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x5f, 0x0a, |
| 0x11, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, |
| 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, |
| 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x41, 0x63, |
| 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x61, |
| 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x69, |
| 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, |
| 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, |
| 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, |
| 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x10, 0x01, 0x12, |
| 0x18, 0x0a, 0x14, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, |
| 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x10, 0x02, 0x22, 0x9d, 0x01, 0x0a, 0x19, 0x49, 0x6e, |
| 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, |
| 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x69, 0x6e, 0x64, |
| 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, |
| 0x52, 0x0e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, |
| 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x75, |
| 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, |
| 0x01, 0x28, 0x0c, 0x52, 0x14, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, |
| 0x63, 0x4b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0x38, 0x0a, 0x17, 0x46, 0x69, 0x6e, |
| 0x61, 0x6c, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, |
| 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d, |
| 0x61, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| 0x4d, 0x61, 0x63, 0x22, 0x8f, 0x02, 0x0a, 0x1a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4f, |
| 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, |
| 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, |
| 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, |
| 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x75, 0x62, |
| 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, |
| 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, |
| 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x61, 0x63, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x76, |
| 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, |
| 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, |
| 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, |
| 0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, |
| 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, |
| 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, |
| 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, |
| 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd5, 0x01, 0x0a, 0x12, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, |
| 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5c, 0x0a, 0x0f, |
| 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, |
| 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, |
| 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, |
| 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x69, 0x74, |
| 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x0d, 0x66, 0x69, |
| 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, |
| 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, |
| 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf7, 0x01, |
| 0x0a, 0x13, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, |
| 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, |
| 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, |
| 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, |
| 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, |
| 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, |
| 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, |
| 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x61, |
| 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x69, 0x6e, |
| 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x0f, 0x0a, 0x0d, 0x46, 0x69, |
| 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x72, |
| 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf9, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, |
| 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, |
| 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, |
| 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x72, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, |
| 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, |
| 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6f, 0x70, 0x61, 0x71, |
| 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, 0x11, 0x68, 0x61, 0x6e, |
| 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, |
| 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, |
| 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, |
| 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, |
| 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, |
| 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, |
| 0x65, 0x73, 0x74, 0x22, 0xad, 0x02, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, |
| 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, |
| 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, |
| 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, |
| 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x56, 0x0a, |
| 0x0f, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, |
| 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x65, 0x73, |
| 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, |
| 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, |
| 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, |
| 0x6f, 0x72, 0x64, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x48, 0x00, 0x52, 0x11, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, |
| 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x32, 0x6a, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, |
| 0x69, 0x63, 0x65, 0x12, 0x5a, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x24, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, |
| 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, |
| 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, |
| 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, |
| 0x22, 0x5a, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x6f, |
| 0x6d, 0x6e, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| }) |
| |
| var ( |
| file_omni_login_proto_rawDescOnce sync.Once |
| file_omni_login_proto_rawDescData []byte |
| ) |
| |
| func file_omni_login_proto_rawDescGZIP() []byte { |
| file_omni_login_proto_rawDescOnce.Do(func() { |
| file_omni_login_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_omni_login_proto_rawDesc), len(file_omni_login_proto_rawDesc))) |
| }) |
| return file_omni_login_proto_rawDescData |
| } |
| |
| var file_omni_login_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_omni_login_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| var file_omni_login_proto_goTypes = []any{ |
| (AccessToken_AccessTokenType)(0), // 0: google.spanner.auth.v1.AccessToken.AccessTokenType |
| (*AccessToken)(nil), // 1: google.spanner.auth.v1.AccessToken |
| (*InitialOpaqueLoginRequest)(nil), // 2: google.spanner.auth.v1.InitialOpaqueLoginRequest |
| (*FinalOpaqueLoginRequest)(nil), // 3: google.spanner.auth.v1.FinalOpaqueLoginRequest |
| (*InitialOpaqueLoginResponse)(nil), // 4: google.spanner.auth.v1.InitialOpaqueLoginResponse |
| (*OpaqueLoginRequest)(nil), // 5: google.spanner.auth.v1.OpaqueLoginRequest |
| (*OpaqueLoginResponse)(nil), // 6: google.spanner.auth.v1.OpaqueLoginResponse |
| (*LoginRequest)(nil), // 7: google.spanner.auth.v1.LoginRequest |
| (*LoginResponse)(nil), // 8: google.spanner.auth.v1.LoginResponse |
| (*OpaqueLoginResponse_FinalResponse)(nil), // 9: google.spanner.auth.v1.OpaqueLoginResponse.FinalResponse |
| (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| (*PasswordAuthenticationHandshakeRequest)(nil), // 11: google.spanner.auth.v1.PasswordAuthenticationHandshakeRequest |
| (*PasswordAuthenticationHandshakeResponse)(nil), // 12: google.spanner.auth.v1.PasswordAuthenticationHandshakeResponse |
| } |
| var file_omni_login_proto_depIdxs = []int32{ |
| 10, // 0: google.spanner.auth.v1.AccessToken.creation_time:type_name -> google.protobuf.Timestamp |
| 10, // 1: google.spanner.auth.v1.AccessToken.expiration_time:type_name -> google.protobuf.Timestamp |
| 0, // 2: google.spanner.auth.v1.AccessToken.access_token_type:type_name -> google.spanner.auth.v1.AccessToken.AccessTokenType |
| 2, // 3: google.spanner.auth.v1.OpaqueLoginRequest.initial_request:type_name -> google.spanner.auth.v1.InitialOpaqueLoginRequest |
| 3, // 4: google.spanner.auth.v1.OpaqueLoginRequest.final_request:type_name -> google.spanner.auth.v1.FinalOpaqueLoginRequest |
| 4, // 5: google.spanner.auth.v1.OpaqueLoginResponse.initial_response:type_name -> google.spanner.auth.v1.InitialOpaqueLoginResponse |
| 9, // 6: google.spanner.auth.v1.OpaqueLoginResponse.final_response:type_name -> google.spanner.auth.v1.OpaqueLoginResponse.FinalResponse |
| 5, // 7: google.spanner.auth.v1.LoginRequest.opaque_request:type_name -> google.spanner.auth.v1.OpaqueLoginRequest |
| 11, // 8: google.spanner.auth.v1.LoginRequest.handshake_request:type_name -> google.spanner.auth.v1.PasswordAuthenticationHandshakeRequest |
| 1, // 9: google.spanner.auth.v1.LoginResponse.access_token:type_name -> google.spanner.auth.v1.AccessToken |
| 6, // 10: google.spanner.auth.v1.LoginResponse.opaque_response:type_name -> google.spanner.auth.v1.OpaqueLoginResponse |
| 12, // 11: google.spanner.auth.v1.LoginResponse.handshake_response:type_name -> google.spanner.auth.v1.PasswordAuthenticationHandshakeResponse |
| 7, // 12: google.spanner.auth.v1.LoginService.Login:input_type -> google.spanner.auth.v1.LoginRequest |
| 8, // 13: google.spanner.auth.v1.LoginService.Login:output_type -> google.spanner.auth.v1.LoginResponse |
| 13, // [13:14] is the sub-list for method output_type |
| 12, // [12:13] is the sub-list for method input_type |
| 12, // [12:12] is the sub-list for extension type_name |
| 12, // [12:12] is the sub-list for extension extendee |
| 0, // [0:12] is the sub-list for field type_name |
| } |
| |
| func init() { file_omni_login_proto_init() } |
| func file_omni_login_proto_init() { |
| if File_omni_login_proto != nil { |
| return |
| } |
| file_omni_authentication_proto_init() |
| file_omni_login_proto_msgTypes[4].OneofWrappers = []any{ |
| (*OpaqueLoginRequest_InitialRequest)(nil), |
| (*OpaqueLoginRequest_FinalRequest)(nil), |
| } |
| file_omni_login_proto_msgTypes[5].OneofWrappers = []any{ |
| (*OpaqueLoginResponse_InitialResponse)(nil), |
| (*OpaqueLoginResponse_FinalResponse_)(nil), |
| } |
| file_omni_login_proto_msgTypes[6].OneofWrappers = []any{ |
| (*LoginRequest_OpaqueRequest)(nil), |
| (*LoginRequest_HandshakeRequest)(nil), |
| } |
| file_omni_login_proto_msgTypes[7].OneofWrappers = []any{ |
| (*LoginResponse_OpaqueResponse)(nil), |
| (*LoginResponse_HandshakeResponse)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_omni_login_proto_rawDesc), len(file_omni_login_proto_rawDesc)), |
| NumEnums: 1, |
| NumMessages: 9, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_omni_login_proto_goTypes, |
| DependencyIndexes: file_omni_login_proto_depIdxs, |
| EnumInfos: file_omni_login_proto_enumTypes, |
| MessageInfos: file_omni_login_proto_msgTypes, |
| }.Build() |
| File_omni_login_proto = out.File |
| file_omni_login_proto_goTypes = nil |
| file_omni_login_proto_depIdxs = nil |
| } |