The static class OpenAuth
has a static string property named ConnectionString
. It is initialized to the hardcoded value of "DefaultConnection" in the OpenAuth
constructor. You can set it to your own value anytime after that.
namespace Microsoft.AspNet.Membership.OpenAuth
{
public static class OpenAuth
{
public static AuthenticationClientManager AuthenticationClients { get; }
public static string ConnectionString { get; set; }
public static string UsersAccountsTableName { get; set; }
public static string UsersDataTableName { get; set; }
//....
}
}