blob: 375f812855235200e13f27624e59583530d1aabc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Firebase.Database;
using Firebase.Database.Query;
namespace DSACore.FireBase
{
public static class Database
{
static Database()
{
var auth = File.ReadAllText("Token"); ; // your app secret
var firebaseClient = new FirebaseClient(
"https://heldenonline-4d828.firebaseio.com/",
new FirebaseOptions
{
AuthTokenAsyncFactory = () => Task.FromResult(auth)
});
}
public static void DoStuff(){}
}
}
|