@cloudbase/auth 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import type { ICloudbaseRequest } from '@cloudbase/types/request';
4
4
  import type { ICloudbaseAuthConfig, IUser, ILoginState } from '@cloudbase/types/auth';
5
5
  import type { AuthOptions, Credentials } from '@cloudbase/oauth';
6
6
  import { CloudbaseOAuth, AuthError, authModels } from '@cloudbase/oauth';
7
- import { CommonRes, DeleteMeReq, GetClaimsRes, GetUserIdentitiesRes, GetUserRes, LinkIdentityReq, LinkIdentityRes, OnAuthStateChangeCallback, ReauthenticateRes, ResendReq, ResendRes, ResetPasswordForEmailRes, ResetPasswordForOldReq, SetSessionReq, SignInAnonymouslyReq, SignInOAuthRes, SignInRes, SignInWithIdTokenReq, SignInWithOAuthReq, SignInWithOtpReq, SignInWithOtpRes, SignInWithPasswordReq, SignUpRes, UnlinkIdentityReq, UpdateUserReq, UpdateUserWithVerificationRes, VerifyOAuthReq, VerifyOtpReq } from './type';
7
+ import { CommonRes, DeleteMeReq, GetClaimsRes, GetUserIdentitiesRes, GetUserRes, LinkIdentityReq, LinkIdentityRes, OnAuthStateChangeCallback, ReauthenticateRes, ResendReq, ResendRes, ResetPasswordForEmailRes, ResetPasswordForOldReq, SetSessionReq, SignInAnonymouslyReq, SignInOAuthRes, SignInRes, SignInWithIdTokenReq, SignInWithOAuthReq, SignInWithOtpReq, SignInWithOtpRes, SignInWithPasswordReq, SignUpRes, UnlinkIdentityReq, UpdateUserReq, UpdateUserWithVerificationRes, VerifyOAuthReq, VerifyOAuthRes, VerifyOtpReq } from './type';
8
8
  export type { SignInRes, GetUserRes, CommonRes, SignInWithOtpRes, SignInOAuthRes, GetClaimsRes, ResetPasswordForEmailRes, GetUserIdentitiesRes, LinkIdentityRes, ReauthenticateRes, ResendRes, UpdateUserWithVerificationRes, OnAuthStateChangeCallback, SignInWithPasswordReq, SignInWithIdTokenReq, SignInWithOAuthReq, VerifyOAuthReq, VerifyOtpReq, LinkIdentityReq, UnlinkIdentityReq, UpdateUserReq, SignInWithOtpReq, ResetPasswordForOldReq, ResendReq, SetSessionReq, DeleteMeReq, SignUpRes, } from './type';
9
9
  interface UserInfo {
10
10
  uid?: string;
@@ -208,7 +208,7 @@ declare class Auth {
208
208
  signInWithPassword(params: SignInWithPasswordReq): Promise<SignInRes>;
209
209
  signInWithIdToken(params: SignInWithIdTokenReq): Promise<SignInRes>;
210
210
  signInWithOtp(params: SignInWithOtpReq): Promise<SignInWithOtpRes>;
211
- verifyOAuth(params?: VerifyOAuthReq): Promise<SignInRes | LinkIdentityRes>;
211
+ verifyOAuth(params?: VerifyOAuthReq): Promise<VerifyOAuthRes>;
212
212
  signInWithOAuth(params: SignInWithOAuthReq): Promise<SignInOAuthRes>;
213
213
  getClaims(): Promise<GetClaimsRes>;
214
214
  resetPasswordForEmail(emailOrPhone: string, options?: {