/// <summary> /// Creates an instance of <c>TwoFactorAuthenticationManager</c>. /// </summary> /// <param name="options">Options used to configure the <c>TwoFactorAuthenticationManager</c>.</param> public TwoFactorAuthenticationManager(TwoFactorAuthenticationOptions options) { this.options = options; }
/// <summary> /// Creates an instance of <c>TwoFactorAuthenticationManager</c>. /// </summary> /// <param name="options">Options used to configure the <c>TwoFactorAuthenticationManager</c>.</param> public TwoFactorAuthenticationManager(IOptions <TwoFactorAuthenticationOptions> options) { this.options = options.Value; }
/// <summary> /// Creates an instance of <c>TwoFactorAuthenticationManager</c>. /// </summary> public TwoFactorAuthenticationManager() { this.options = new TwoFactorAuthenticationOptions(); }