/// <summary>
        /// Initializes a new instance of the <see cref="CloudFoundryAuthMethodInfo"/> class.
        /// </summary>
        /// <param name="mountPoint">The mount point.</param>
        /// <param name="roleName">[required]
        /// The name of the role against which the login is being attempted.
        /// </param>
        /// <param name="signature">
        /// [required]
        /// Gets the Signature for getting a token for a service account.
        /// </param>

        public CloudFoundryAuthMethodInfo(string mountPoint, string roleName, CloudFoundrySignature signature)
        {
            Checker.NotNull(mountPoint, "mountPoint");
            Checker.NotNull(roleName, "roleName");
            Checker.NotNull(signature, "signature");

            MountPoint = mountPoint;
            RoleName   = roleName;
            Signature  = signature;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CloudFoundryAuthMethodInfo"/> class.
 /// </summary>
 /// <param name="roleName">[required]
 /// The name of the role against which the login is being attempted.
 /// </param>
 /// <param name="signature">
 /// [required]
 /// Gets the Signature for getting a token for a service account.
 /// </param>
 public CloudFoundryAuthMethodInfo(string roleName, CloudFoundrySignature signature)
     : this(AuthMethodType.CloudFoundry.Type, roleName, signature)
 {
 }