Module genshin.client.components.auth.server
Aiohttp webserver used for captcha solving and verification.
Functions
async def enter_code(*, port: int = 5000) ‑> str
-
Get email or phone number verification code from user.
async def launch_webapp(page: "typing.Literal['captcha', 'enter-code']", *, mmt: typing.Optional[typing.Union[MMT, MMTv4, SessionMMT, SessionMMTv4, RiskyCheckMMT]] = None, lang: typing.Optional[str] = None, api_server: typing.Optional[str] = None, port: int = 5000) ‑> Union[MMTResult, MMTv4Result, SessionMMTResult, SessionMMTv4Result, RiskyCheckMMTResult, str]
-
Create and run a webapp to solve captcha or enter a verification code.
async def solve_geetest(mmt: typing.Union[MMT, MMTv4, SessionMMT, SessionMMTv4, RiskyCheckMMT], *, lang: str = 'en-us', api_server: str = 'api-na.geetest.com', port: int = 5000) ‑> Union[MMTResult, MMTv4Result, SessionMMTResult, SessionMMTv4Result, RiskyCheckMMTResult]
-
Start a web server and manually solve geetest captcha.