core-utils
Preparing search index...
@clipboard-health/playwright-toolkit
GetOrCreateAdminAuthTokenParams
Interface GetOrCreateAdminAuthTokenParams
interface
GetOrCreateAdminAuthTokenParams
{
adminEmail
:
string
;
apiEnvironmentName
:
string
;
cacheDirectory
?:
string
;
cacheDurationMs
:
number
;
cacheIdentity
?:
AdminAuthTokenCacheIdentity
;
createToken
:
()
=>
Promise
<
string
>
;
forceRefresh
?:
boolean
|
AdminAuthTokenRefreshOptions
;
jwtExpirationSafetySkewMs
?:
number
;
lockRetryDelayMs
?:
number
;
lockRetryJitterMs
?:
number
;
lockStaleAfterMs
?:
number
;
lockWaitTimeoutMs
?:
number
;
nowImplementation
?:
()
=>
number
;
onCacheEvent
?:
AdminAuthTokenCacheEventHandler
;
randomImplementation
?:
()
=>
number
;
sleepImplementation
?:
(
params
:
{
durationMs
:
number
}
)
=>
Promise
<
void
>
;
validateToken
?:
(
params
:
ValidateAdminAuthTokenParams
)
=>
Promise
<
boolean
>
;
validationPolicy
?:
string
;
validationTimeoutMs
?:
number
;
}
Hierarchy (
View Summary
)
AdminAuthTokenCacheParams
GetOrCreateAdminAuthTokenParams
Index
Properties
admin
Email
api
Environment
Name
cache
Directory?
cache
Duration
Ms
cache
Identity?
create
Token
force
Refresh?
jwt
Expiration
Safety
Skew
Ms?
lock
Retry
Delay
Ms?
lock
Retry
Jitter
Ms?
lock
Stale
After
Ms?
lock
Wait
Timeout
Ms?
now
Implementation?
on
Cache
Event?
random
Implementation?
sleep
Implementation?
validate
Token?
validation
Policy?
validation
Timeout
Ms?
Properties
admin
Email
adminEmail
:
string
api
Environment
Name
apiEnvironmentName
:
string
Optional
cache
Directory
cacheDirectory
?:
string
cache
Duration
Ms
cacheDurationMs
:
number
Optional
cache
Identity
cacheIdentity
?:
AdminAuthTokenCacheIdentity
create
Token
createToken
:
()
=>
Promise
<
string
>
Optional
force
Refresh
forceRefresh
?:
boolean
|
AdminAuthTokenRefreshOptions
Optional
jwt
Expiration
Safety
Skew
Ms
jwtExpirationSafetySkewMs
?:
number
Optional
lock
Retry
Delay
Ms
lockRetryDelayMs
?:
number
Optional
lock
Retry
Jitter
Ms
lockRetryJitterMs
?:
number
Optional
lock
Stale
After
Ms
lockStaleAfterMs
?:
number
Optional
lock
Wait
Timeout
Ms
lockWaitTimeoutMs
?:
number
Optional
now
Implementation
nowImplementation
?:
()
=>
number
Optional
on
Cache
Event
onCacheEvent
?:
AdminAuthTokenCacheEventHandler
Optional
random
Implementation
randomImplementation
?:
()
=>
number
Optional
sleep
Implementation
sleepImplementation
?:
(
params
:
{
durationMs
:
number
}
)
=>
Promise
<
void
>
Optional
validate
Token
validateToken
?:
(
params
:
ValidateAdminAuthTokenParams
)
=>
Promise
<
boolean
>
Optional
validation
Policy
validationPolicy
?:
string
Optional
validation
Timeout
Ms
validationTimeoutMs
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
admin
Email
api
Environment
Name
cache
Directory
cache
Duration
Ms
cache
Identity
create
Token
force
Refresh
jwt
Expiration
Safety
Skew
Ms
lock
Retry
Delay
Ms
lock
Retry
Jitter
Ms
lock
Stale
After
Ms
lock
Wait
Timeout
Ms
now
Implementation
on
Cache
Event
random
Implementation
sleep
Implementation
validate
Token
validation
Policy
validation
Timeout
Ms
core-utils
Loading...