/// <summary>
 /// Initializes a new instance of the TeleSignServiceConfiguration class
 /// with a supplied credential. The default URI contained in the constant
 /// TeleSignServiceConfiguration.DefaultServiceAddress will be used.
 /// </summary>
 /// <param name="credential">
 /// The TeleSign credentials supplied to you for authenticating to
 /// Telesign services.
 /// </param>
 public TeleSignServiceConfiguration(TeleSignCredential credential)
     : this(
             credential,
             new Uri(TeleSignServiceConfiguration.DefaultServiceAddress),
     		new Uri(TeleSignServiceConfiguration.DefaultServiceMobileAddress))
 {
 }
 /// <summary>
 /// Initializes a new instance of the TeleSignServiceConfiguration class
 /// with a supplied credential. The default URI contained in the constant
 /// TeleSignServiceConfiguration.DefaultServiceAddress will be used.
 /// </summary>
 /// <param name="credential">
 /// The TeleSign credentials supplied to you for authenticating to
 /// Telesign services.
 /// </param>
 public TeleSignServiceConfiguration(TeleSignCredential credential)
     : this(
         credential,
         new Uri(TeleSignServiceConfiguration.DefaultServiceAddress),
         new Uri(TeleSignServiceConfiguration.DefaultServiceMobileAddress))
 {
 }
 /// <summary>
 /// Initializes a new instance of the TeleSignServiceConfiguration class
 /// with a supplied credential and service address URI. Most of the time
 /// you should use the other constructor which doesn't take the URI
 /// parameter.
 /// </summary>
 /// <param name="credential">
 /// The TeleSign credentials supplied to you for authenticating to
 /// Telesign services.
 /// </param>
 /// <param name="serviceAddress">
 /// The base URI of the TeleSign service. Most of the time you should not
 /// need to provide this.
 /// </param>
 public TeleSignServiceConfiguration(
             TeleSignCredential credential,
             Uri serviceAddress,
     		Uri serviceMobileAddress)
 {
     this.Credential = credential;
     this.ServiceAddress = serviceAddress;
     this.ServiceMobileAddress = serviceMobileAddress;
 }
 /// <summary>
 /// Initializes a new instance of the TeleSignServiceConfiguration class
 /// with a supplied credential and service address URI. Most of the time
 /// you should use the other constructor which doesn't take the URI
 /// parameter.
 /// </summary>
 /// <param name="credential">
 /// The TeleSign credentials supplied to you for authenticating to
 /// Telesign services.
 /// </param>
 /// <param name="serviceAddress">
 /// The base URI of the TeleSign service. Most of the time you should not
 /// need to provide this.
 /// </param>
 public TeleSignServiceConfiguration(
     TeleSignCredential credential,
     Uri serviceAddress,
     Uri serviceMobileAddress)
 {
     this.Credential           = credential;
     this.ServiceAddress       = serviceAddress;
     this.ServiceMobileAddress = serviceMobileAddress;
 }
Beispiel #5
0
        /// <summary>
        /// Initializes a new instance of the TeleSignAuthentication class with
        /// a credential.
        /// </summary>
        /// <param name="credential">
        /// The TeleSign credentials for authenticating with the TeleSign services.
        /// </param>
        public TeleSignAuthentication(TeleSignCredential credential)
        {
            CheckArgument.NotNull(credential, "credential");

            this.credential = credential;
        }
        /// <summary>
        /// Initializes a new instance of the TeleSignAuthentication class with
        /// a credential.
        /// </summary>
        /// <param name="credential">
        /// The TeleSign credentials for authenticating with the TeleSign services.
        /// </param>
        public TeleSignAuthentication(TeleSignCredential credential)
        {
            CheckArgument.NotNull(credential, "credential");

            this.credential = credential;
        }