File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -681,6 +681,12 @@ interface MiniappOptions extends UnionOptions {
681681
682682interface MiniappLoginOptions extends OAuthLoginOptions , MiniappOptions { }
683683
684+ interface AuthInfo {
685+ authData : { [ key : string ] : any } ;
686+ provider : string ;
687+ platform ?: string ;
688+ }
689+
684690/**
685691 * @class
686692 *
@@ -704,6 +710,10 @@ export class User extends Object {
704710 static become ( sessionToken : string ) : Promise < User > ;
705711
706712 static loginAnonymously ( ) : Promise < User > ;
713+ static loginWithMiniApp (
714+ authInfo ?: AuthInfo ,
715+ options ?: OAuthLoginOptions
716+ ) : Promise < User > ;
707717 static loginWithWeapp ( options ?: MiniappLoginOptions ) : Promise < User > ;
708718 static loginWithWeappWithUnionId (
709719 unionId : string ,
You can’t perform that action at this time.
0 commit comments