(binding: string)
| 408 | ? (config.restoredAppsEnabled ?? config.appsEnabled) |
| 409 | : config.appsEnabled; |
| 410 | const requestStateCodec = (binding: string) => |
| 411 | createRequestStateCodec<NativeRequestState>({ |
| 412 | key: config.requestStateSigningKey, |
| 413 | ...(config.requestStateTtlSeconds === undefined |
| 414 | ? {} |
| 415 | : { ttlSeconds: config.requestStateTtlSeconds }), |
| 416 | bind: () => binding, |
| 417 | }); |
| 418 | const verifyRequestState = async (state: string, context: ServerContext) => { |
| 419 | const binding = await requestStateBindingForContext( |
| 420 | config.requestStateBinding, |
no outgoing calls
no test coverage detected