drupflare/worker - v1.0.4
    Preparing search index...

    Module ops/cf-oauth

    Cloudflare OAuth 2.0: an operator grants drupflare access without pasting a long-lived token.

    Authorization Code with PKCE (S256) and no client secret, since a secret in an open-source bundle is published to every deployer. The operator registers a private client for their own callback. The client id lives in cfw_meta, never on KV_OVERRIDABLE (a KV writer could point the consent screen at their own app); tests/unit/ops/cf-oauth.spec.ts asserts that.

    AuthorizeParams
    PendingAuth
    Pkce
    TokenError
    TokenSet
    CF_AUTH_URL
    CF_OAUTH_CLIENT_ID
    CF_REVOKE_URL
    CF_SCOPES
    CF_TOKEN_URL
    PENDING_TTL_MS
    REFRESH_SKEW_MS
    authorizeUrl
    base64Url
    callbackUrl
    createPkce
    exchangeCode
    isTokenError
    needsRefresh
    pendingMatches
    randomToken
    refresh
    resolveAccountId
    revoke
    timingSafeEqual