drupflare/worker - v1.0.4
Preparing search index...
ops/cf-oauth
exchangeCode
Function exchangeCode
exchangeCode
(
args
:
{
clientId
:
string
;
code
:
string
;
redirectUri
:
string
;
verifier
:
string
;
}
,
fetcher
?:
typeof
fetch
,
nowMs
?:
number
,
)
:
Promise
<
TokenSet
|
TokenError
>
exchanges an authorization code for tokens;
client_secret
stays absent (public client)
Parameters
args
:
{
clientId
:
string
;
code
:
string
;
redirectUri
:
string
;
verifier
:
string
}
fetcher
:
typeof
fetch
= fetch
nowMs
:
number
= ...
Returns
Promise
<
TokenSet
|
TokenError
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
drupflare/worker - v1.0.4
Loading...
exchanges an authorization code for tokens;
client_secretstays absent (public client)