MCPcopy Index your code
hub / github.com/NativeScript/firebase / GoogleProvider

Class GoogleProvider

packages/firebase-ui/index.android.ts:23–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21});
22
23export class GoogleProvider extends ProviderBase {
24 _builder: com.firebase.ui.auth.AuthUI.IdpConfig.GoogleBuilder;
25 constructor() {
26 super();
27 this._builder = new com.firebase.ui.auth.AuthUI.IdpConfig.GoogleBuilder();
28 }
29
30 _scopes: string[] = [];
31 get scopes() {
32 return this._scopes;
33 }
34
35 set scopes(values: string[]) {
36 if (Array.isArray(values)) {
37 this._scopes = values;
38 const scopes = new java.util.ArrayList<string>();
39 this._scopes.forEach((scope) => {
40 scopes.add(scope);
41 });
42 this._builder.setScopes(scopes);
43 }
44 }
45
46 getNative(ui: IUI) {
47 return this._builder.build();
48 }
49}
50
51export class FacebookProvider extends ProviderBase {
52 _builder: com.firebase.ui.auth.AuthUI.IdpConfig.FacebookBuilder;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…