private static Dictionary <string, UserAreaOptions> ConfigureOptions(IEnumerable <IUserAreaDefinition> userAreas, UsersSettings identitySettings)
        {
            var result = new Dictionary <string, UserAreaOptions>();

            foreach (var userArea in userAreas)
            {
                var options = UserAreaOptions.CopyFrom(identitySettings);
                userArea.ConfigureOptions(options);
                result.Add(userArea.UserAreaCode, options);
            }

            return(result);
        }
Ejemplo n.º 2
0
 public void ConfigureOptions(UserAreaOptions options)
 {
 }
Ejemplo n.º 3
0
 public void ConfigureOptions(UserAreaOptions options)
 {
     options.AccountRecovery.RecoveryUrlBase         = RecoveryUrlBase;
     options.AccountVerification.VerificationUrlBase = VerificationUrlBase;
 }
 public void ConfigureOptions(UserAreaOptions options)
 {
     // No additional configuration required
 }