feat(auth): add psid field to various login request DTOs and schemas
This commit is contained in:
@@ -36,6 +36,7 @@ export interface IAuthRepository {
|
||||
username?: string;
|
||||
password: string;
|
||||
guestId?: string;
|
||||
psid?: string;
|
||||
}): Promise<Result<LoginResponse>>;
|
||||
|
||||
/** 退出真实用户登录并恢复游客态。 */
|
||||
@@ -48,18 +49,21 @@ export interface IAuthRepository {
|
||||
googleLogin(input: {
|
||||
idToken: string;
|
||||
guestId?: string;
|
||||
psid?: string;
|
||||
}): Promise<Result<LoginResponse>>;
|
||||
|
||||
/** Facebook 登录(accessToken 流程)。 */
|
||||
facebookLogin(input: {
|
||||
accessToken: string;
|
||||
guestId?: string;
|
||||
psid?: string;
|
||||
}): Promise<Result<LoginResponse>>;
|
||||
|
||||
/** Facebook ID 登录(v7.0 新增,fbId 流程)。 */
|
||||
facebookIdLogin(input: {
|
||||
fbId: string;
|
||||
avatarUrl?: string;
|
||||
psid?: string;
|
||||
}): Promise<Result<LoginResponse>>;
|
||||
|
||||
/** 刷新 token:先读本地的 refresh token,空则返回错误。 */
|
||||
|
||||
Reference in New Issue
Block a user