Cotal TypeScript packages
Docs
API Reference
Preparing search index...
@cotal-ai/auth
index
chooseAccountChoice
Function chooseAccountChoice
chooseAccountChoice
(
args
:
ParsedArgs
,
mode
:
"logout"
|
"login"
,
)
:
Promise
<
|
{
discoveryPins
?:
{
audience
:
string
;
issuer
:
string
;
url
:
string
}
;
url
:
string
;
}
|
undefined
,
>
Keep discovery pins with the selected provider until the session is proved.
Parameters
args
:
ParsedArgs
mode
:
"logout"
|
"login"
Returns
Promise
<
|
{
discoveryPins
?:
{
audience
:
string
;
issuer
:
string
;
url
:
string
}
;
url
:
string
;
}
|
undefined
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
API Reference
Cotal TypeScript packages
Loading...
Keep discovery pins with the selected provider until the session is proved.