public virtual string GetEditorAuthUserId(IFirebaseAppPlatform app) { string text = Services.Auth.GetCurrentUserId(app); if (string.IsNullOrEmpty(text)) { text = AppConfigExtensions.GetState <string>(app, 4, AppConfigExtensions.SStringState); } return(text); }
public Uri GetCertUpdateUrl(IFirebaseAppPlatform app) { string state = AppConfigExtensions.GetState <string>(app, 6, AppConfigExtensions.SStringState); if (string.IsNullOrEmpty(state)) { return(AppConfigExtensions.DefaultUpdateUrl); } return(new Uri(state)); }
public virtual string GetDatabaseUrl(IFirebaseAppPlatform app) { string text = AppConfigExtensions.GetState <string>(app, 0, AppConfigExtensions.SStringState); if (string.IsNullOrEmpty(text) && app != null) { Uri databaseUrl = app.DatabaseUrl; text = ((!(databaseUrl != null)) ? null : databaseUrl.ToString()); } return(text); }
public virtual string GetEditorServiceAccountEmail(IFirebaseAppPlatform app) { return(AppConfigExtensions.GetState <string>(app, 3, AppConfigExtensions.SStringState)); }
public virtual string GetEditorP12FileName(IFirebaseAppPlatform app) { return(AppConfigExtensions.GetState <string>(app, 1, AppConfigExtensions.SStringState)); }
public virtual string GetCertPemFile(IFirebaseAppPlatform app) { return(AppConfigExtensions.GetState <string>(app, 5, AppConfigExtensions.SStringState)); }