MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / get

Method get

packages/hydrooj/src/handler/user.ts:470–473  ·  view source on GitHub ↗
(domainId: string, type: string, redirect = '')

Source from the content-addressed store, hash-verified

468 @param('type', Types.Key)
469 @param('redirect', Types.String, true)
470 async get(domainId: string, type: string, redirect = '') {
471 this.session.oauthRedirect = redirect;
472 await this.ctx.oauth.providers[type]?.get.call(this);
473 }
474}
475
476class OauthCallbackHandler extends Handler {

Callers 13

getMethod · 0.45
postMethod · 0.45
postMethod · 0.45
getAuthnHostMethod · 0.45
postMethod · 0.45
prepareMethod · 0.45
postMethod · 0.45
prepareMethod · 0.45
postMethod · 0.45
getMethod · 0.45
postMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected