"use strict";
function decodeOAuthState(req) {
  if (typeof req.query.state !== "string") {
    return void 0;
  }
  const state = JSON.parse(req.query.state);
  return state;
}
exports.decodeOAuthState = decodeOAuthState;
