(domainId: string, type: string, redirect = '')
| 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 | |
| 476 | class OauthCallbackHandler extends Handler { |