site_url is added
This commit is contained in:
parent
8616b0b9b1
commit
cabe06d9b9
|
@ -2,22 +2,23 @@ use crate::protobuf::rpc;
|
|||
|
||||
const SUBJECT: &str = "bet.beteran.c2se.backend.identity";
|
||||
|
||||
pub const SUBJECT_SIGNIN: &str =
|
||||
const_format::concatcp!(SUBJECT, ".Signin");
|
||||
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
||||
/// subject = bet.beteran.c2se.backend.identity.Signin
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct SigninRequest {
|
||||
#[prost(string, tag="1")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
pub password: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="3")]
|
||||
pub security_code: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "1")]
|
||||
pub site_url: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "2")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "3")]
|
||||
pub password: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "4")]
|
||||
pub security_code: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct SigninResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub error: ::core::option::Option<rpc::Error>,
|
||||
#[prost(string, optional, tag="2")]
|
||||
pub token: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub error: ::core::option::Option<rpc::Error>,
|
||||
#[prost(string, optional, tag = "2")]
|
||||
pub token: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
|
|
|
@ -7,10 +7,12 @@ pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct SigninRequest {
|
||||
#[prost(string, tag = "1")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
pub site_url: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "2")]
|
||||
pub password: ::prost::alloc::string::String,
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "3")]
|
||||
pub password: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "4")]
|
||||
pub security_code: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user