I hereby claim:
- I am torsph on github.
- I am torp (https://keybase.io/torp) on keybase.
- I have a public key ASC9Z_MNW2qYdCwuscwT5SbApxFpz--_FwxoZIWovFKaVwo
To claim this, I am signing this object:
using System; | |
using System.Globalization; | |
using System.Threading.Tasks; | |
using Goplay.Id.Models; | |
using Microsoft.AspNetCore.Identity; | |
namespace YOURNAMESPAZE | |
{ | |
public class FourDigitTokenProvider: PhoneNumberTokenProvider<ApplicationUser> |
I hereby claim:
To claim this, I am signing this object:
//configureDb and closeDbConnection will be called when the app starts and ends. | |
trait DatabaseInit extends Logging { | |
var cpds = new ComboPooledDataSource | |
def configureDb() { | |
cpds.setDriverClass("org.postgresql.Driver") | |
cpds.setJdbcUrl(s"jdbc:postgresql://${host}:${port}/${database}?${params}") | |
cpds.setUser(username) | |
cpds.setPassword(password) | |
cpds.setInitialPoolSize(10) |