diff options
Diffstat (limited to 'DSACore/FireBase/Database.cs')
-rw-r--r-- | DSACore/FireBase/Database.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/DSACore/FireBase/Database.cs b/DSACore/FireBase/Database.cs index cd21c00..375f812 100644 --- a/DSACore/FireBase/Database.cs +++ b/DSACore/FireBase/Database.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Threading.Tasks; using Firebase.Database; @@ -12,13 +13,15 @@ namespace DSACore.FireBase { static Database() { - var auth = "ABCDE"; // your app secret + var auth = File.ReadAllText("Token"); ; // your app secret var firebaseClient = new FirebaseClient( - "<URL>", + "https://heldenonline-4d828.firebaseio.com/", new FirebaseOptions { AuthTokenAsyncFactory = () => Task.FromResult(auth) }); } + + public static void DoStuff(){} } } |