Skip to content

Commit 33033ce

Browse files
committed
Added obsolete to credentials
1 parent 525a981 commit 33033ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RestSharp/IRestRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public interface IRestRequest
113113
/// <summary>
114114
/// In general you would not need to set this directly. Used by the NtlmAuthenticator.
115115
/// </summary>
116-
[Obsolete("Use one of authenticators provided")]
116+
[Obsolete("This property will be moved to RestClient")]
117117
ICredentials? Credentials { get; set; }
118118

119119
/// <summary>
@@ -139,6 +139,7 @@ public interface IRestRequest
139139
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is
140140
/// running) will be sent along to the server. The default is false.
141141
/// </summary>
142+
[Obsolete("This property will be moved to RestClient")]
142143
bool UseDefaultCredentials { get; set; }
143144

144145
/// <summary>

0 commit comments

Comments
 (0)