TypeDoc
Controllers Login

vcapi-workers / Exports / controllers/login

Module: controllers/login

LoginController ログイン関係の処理の、MVCにおけるController層

Table of contents

Functions

Functions

autoLogin

autoLogin(c): Promise<Response>

autoLogin

?worldId=&d0=<16bit> リセット送信 ?worldId=&dn=<16bit> 通常送信 とりあえず image downloader? ?worldId=&dn=<16bit> 3回目は verify

の順で送信される

verify は最後に送られないといけないので、逆に言えば str -> img -> str の順に Udon側で2番目と3番目を逆転しない制御を必ず行うので str / img の区別はつけなくてよい

Parameters

NameType
cContext

Returns

Promise<Response>

Defined in

src/controllers/login.ts:143 (opens in a new tab)


manualLogin

manualLogin(c): Promise<Response>

manualLogin

?d=<ワールドIDと生のdisplayNameをbase64エンコードしてHMAC署名付けたもの> を受け取ってマニュアルログイン(というかユーザー登録)を行う

Parameters

NameType
cContext

Returns

Promise<Response>

Defined in

src/controllers/login.ts:187 (opens in a new tab)