File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
auth/src/main/java/com/firebase/ui/auth/provider Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 4
4
import android .content .Context ;
5
5
import android .content .Intent ;
6
6
7
+ import com .google .firebase .auth .GoogleAuthProvider ;
8
+
7
9
public interface Provider {
8
10
/** Retrieves the name of the IDP, for display on-screen. */
9
11
String getName (Context context );
10
12
13
+ /** Retrieves the id of the IDP, e.g. {@link GoogleAuthProvider#PROVIDER_ID}. */
11
14
String getProviderId ();
12
15
16
+ /** Start the login process for the IDP, e.g. show the Google sign-in activity. */
13
17
void startLogin (Activity activity );
14
18
19
+ /**
20
+ * Handle the sign result by either finishing the calling activity or sending an {@link
21
+ * IdpProvider.IdpCallback} response.
22
+ */
15
23
void onActivityResult (int requestCode , int resultCode , Intent data );
16
24
}
You can’t perform that action at this time.
0 commit comments