@ccw-api/api
Preparing search index...
sso
sso
Variable sso
Const
sso
:
{
createSmsCaptcha
:
(
recipient
:
string
,
scene
?:
"loginbyPhone"
,
countryCode
?:
string
,
ruleCode
?:
"ccw_sms"
,
captcha
?:
CaptchaPayload
,
)
=>
Promise
<
Res
>
;
getOauthToken
:
(
code
:
string
)
=>
Promise
<
Res
<
Extra
>
>
;
loginByPassword
:
(
loginKey
:
string
,
password
:
string
,
reqExtra
?:
ReqExtra
,
)
=>
Promise
<
Res
<
Extra
>
>
;
loginByPhone
:
(
phone
:
string
,
code
:
string
,
reqExtra
?:
ReqExtra
,
countryCode
?:
string
,
ruleCode
?:
"ccw_sms"
,
scene
?:
"loginbyPhone"
,
)
=>
Promise
<
Res
<
Extra
>
>
;
logout
:
()
=>
Promise
<
null
>
;
logoutBySession
:
(
sessionId
:
number
)
=>
Promise
<
boolean
>
;
oauthAuthorize
:
(
state
:
string
)
=>
Promise
<
string
>
;
touchSession
:
(
token
?:
string
)
=>
Promise
<
TouchSessionSuccess
>
;
}
= ...
Type Declaration
createSmsCaptcha
:
(
recipient
:
string
,
scene
?:
"loginbyPhone"
,
countryCode
?:
string
,
ruleCode
?:
"ccw_sms"
,
captcha
?:
CaptchaPayload
,
)
=>
Promise
<
Res
>
getOauthToken
:
(
code
:
string
)
=>
Promise
<
Res
<
Extra
>
>
loginByPassword
:
(
loginKey
:
string
,
password
:
string
,
reqExtra
?:
ReqExtra
)
=>
Promise
<
Res
<
Extra
>
>
loginByPhone
:
(
phone
:
string
,
code
:
string
,
reqExtra
?:
ReqExtra
,
countryCode
?:
string
,
ruleCode
?:
"ccw_sms"
,
scene
?:
"loginbyPhone"
,
)
=>
Promise
<
Res
<
Extra
>
>
logout
:
()
=>
Promise
<
null
>
logoutBySession
:
(
sessionId
:
number
)
=>
Promise
<
boolean
>
oauthAuthorize
:
(
state
:
string
)
=>
Promise
<
string
>
touchSession
:
(
token
?:
string
)
=>
Promise
<
TouchSessionSuccess
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@ccw-api/api
Loading...