jira.js
Guide
GitHub
Preparing search index...
core
authSchema
Variable authSchema
Const
authSchema
:
ZodUnion
<
readonly
[
ZodUnion
<
readonly
[
ZodObject
<
{
apiToken
:
ZodString
;
email
:
ZodString
;
type
:
ZodLiteral
<
"basic"
>
}
,
$strip
,
>
,
ZodObject
<
{
password
:
ZodString
;
type
:
ZodLiteral
<
"basic"
>
;
username
:
ZodString
;
}
,
$strip
,
>
,
]
,
>
,
ZodUnion
<
readonly
[
ZodObject
<
{
token
:
ZodString
;
type
:
ZodLiteral
<
"bearer"
>
}
,
$strip
>
,
ZodObject
<
{
getToken
:
ZodCustom
<
()
=>
Promise
<
string
>
,
()
=>
Promise
<
string
>
>
;
type
:
ZodLiteral
<
"bearer"
>
;
}
,
$strip
,
>
,
]
,
>
,
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientId
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
cloudId
:
ZodOptional
<
ZodString
>
;
expiresAt
:
ZodOptional
<
ZodNumber
>
;
onTokenRefresh
:
ZodOptional
<
ZodCustom
<
OnTokenRefresh
,
OnTokenRefresh
>
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
siteUrl
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"oauth2"
>
;
}
,
$strip
,
>
,
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientId
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
expiresAt
:
ZodOptional
<
ZodNumber
>
;
onTokenRefresh
:
ZodOptional
<
ZodCustom
<
OnTokenRefresh
,
OnTokenRefresh
>
>
;
redirectUri
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"oauth2Server"
>
;
}
,
$strip
,
>
,
]
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guide
GitHub
jira.js
Loading...