signinWithoutSecurityCode is added

This commit is contained in:
병준 박 2022-08-20 12:55:09 +00:00
parent 88fd2237c6
commit 9f4f38346c
3 changed files with 112 additions and 52 deletions

View File

@ -6,3 +6,5 @@ pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication"); const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication");
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha"); pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
pub const SUBJECT_SIGNIN_WITHOUT_SECURITY_CODE: &str =
const_format::concatcp!(SUBJECT, ".SigninWithoutSecurityCode");

View File

@ -39,8 +39,7 @@ pub mod check_nickname_for_duplication_response {
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CaptchaRequest { pub struct CaptchaRequest {}
}
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CaptchaResponse { pub struct CaptchaResponse {
#[prost(message, optional, tag = "1")] #[prost(message, optional, tag = "1")]
@ -84,3 +83,26 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String, pub access_token: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest {
#[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<signin_without_security_code_response::Result>,
}
/// Nested message and enum types in `SigninWithoutSecurityCodeResponse`.
pub mod signin_without_security_code_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(string, tag = "1")]
pub access_token: ::prost::alloc::string::String,
}
}

View File

@ -7,6 +7,8 @@ pub const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: &str =
const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication"); const_format::concatcp!(SUBJECT, ".CheckNicknameForDuplication");
pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha"); pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha");
pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
pub const SUBJECT_SIGNIN_WITHOUT_SECURITY_CODE: &str =
const_format::concatcp!(SUBJECT, ".SigninWithoutSecurityCode");
pub const EVENT_SUBJECT_AFTER_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin"); pub const EVENT_SUBJECT_AFTER_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin");
pub const EVENT_SUBJECT_AFTER_SIGNOUT: &str = pub const EVENT_SUBJECT_AFTER_SIGNOUT: &str =
@ -141,6 +143,40 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String, pub access_token: ::prost::alloc::string::String,
} }
} }
/// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<signin_without_security_code_request::Request>,
}
/// Nested message and enum types in `SigninWithoutSecurityCodeRequest`.
pub mod signin_without_security_code_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<signin_without_security_code_response::Result>,
}
/// Nested message and enum types in `SigninWithoutSecurityCodeResponse`.
pub mod signin_without_security_code_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(string, tag = "1")]
pub access_token: ::prost::alloc::string::String,
}
}
/// subject = bet.beteran.ss_event.identity.AfterSignin /// subject = bet.beteran.ss_event.identity.AfterSignin
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterSigninEvent { pub struct AfterSigninEvent {