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

Class YahooProvider

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

Source from the content-addressed store, hash-verified

370}
371
372export class YahooProvider extends ProviderBase {
373 _builder: com.firebase.ui.auth.AuthUI.IdpConfig.YahooBuilder;
374 constructor() {
375 super();
376 this._builder = new com.firebase.ui.auth.AuthUI.IdpConfig.YahooBuilder();
377 }
378
379 _scopes: string[] = [];
380 get scopes() {
381 return this._scopes;
382 }
383
384 set scopes(values: string[]) {
385 if (Array.isArray(values)) {
386 this._scopes = values;
387 const scopes = new java.util.ArrayList<string>();
388 this._scopes.forEach((scope) => {
389 scopes.add(scope);
390 });
391 this._builder.setScopes(scopes);
392 }
393 }
394
395 setCustomParameters(params: Record<string, string>) {
396 if (typeof params === 'object') {
397 const parameters = new java.util.HashMap<string, string>();
398 Object.keys(params).forEach((key) => {
399 const value = params[key];
400 parameters.put(key, value);
401 });
402 this._builder.setCustomParameters(parameters);
403 }
404 return this;
405 }
406
407 getNative(ui: IUI) {
408 return this._builder.build();
409 }
410}
411
412export class AppleProvider extends ProviderBase {
413 _builder: com.firebase.ui.auth.AuthUI.IdpConfig.AppleBuilder;

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…