MCPcopy Create free account
hub / github.com/dataease/SQLBot / authorizeAccessCodeWithFormParams

Function authorizeAccessCodeWithFormParams

frontend/public/swagger-ui-bundle.js:31737–31754  ·  view source on GitHub ↗
({ auth: s, redirectUrl: o })

Source from the content-addressed store, hash-verified

31735 },
31736 authorizeAccessCodeWithFormParams =
31737 ({ auth: s, redirectUrl: o }) =>
31738 ({ authActions: i }) => {
31739 let { schema: a, name: u, clientId: _, clientSecret: w, codeVerifier: x } = s,
31740 C = {
31741 grant_type: 'authorization_code',
31742 code: s.code,
31743 client_id: _,
31744 client_secret: w,
31745 redirect_uri: o,
31746 code_verifier: x,
31747 }
31748 return i.authorizeRequest({
31749 body: buildFormData(C),
31750 name: u,
31751 url: a.get('tokenUrl'),
31752 auth: s,
31753 })
31754 },
31755 authorizeAccessCodeWithBasicAuthentication =
31756 ({ auth: s, redirectUrl: o }) =>
31757 ({ authActions: i }) => {

Callers

nothing calls this directly

Calls 2

buildFormDataFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected