Exemplo n.º 1
0
        /// <summary>
        /// Clone this authenticator
        /// </summary>
        /// <returns></returns>
        public object Clone()
        {
            WinAuthAuthenticator clone = this.MemberwiseClone() as WinAuthAuthenticator;

            clone.Id = Guid.NewGuid();
            clone.AuthenticatorData = (this.AuthenticatorData != null ? this.AuthenticatorData.Clone() as Authenticator : null);

            return(clone);
        }
Exemplo n.º 2
0
 public static JsonAuthenticator ConvertJsonAuthenticator(WinAuthAuthenticator auth)
 {
     return(new JsonAuthenticator());
 }