Skip to content

Commit d1e9094

Browse files
committed
Non-nullable in CreateCredential methods
1 parent 01e2eb7 commit d1e9094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/VirtualAuth/Credential.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private Credential(byte[] id, bool isResidentCredential, string? rpId, string pr
5353
/// <param name="signCount">The signature counter for the credentials.</param>
5454
/// <returns>The created instance of the Credential class.</returns>
5555
/// <exception cref="ArgumentNullException">If <paramref name="id"/> or <paramref name="privateKey"/> are <see langword="null"/>.</exception>
56-
public static Credential CreateNonResidentCredential(byte[] id, string? rpId, string privateKey, int signCount)
56+
public static Credential CreateNonResidentCredential(byte[] id, string rpId, string privateKey, int signCount)
5757
{
5858
return new Credential(id, false, rpId, privateKey, null, signCount);
5959
}
@@ -68,7 +68,7 @@ public static Credential CreateNonResidentCredential(byte[] id, string? rpId, st
6868
/// <param name="signCount">The signature counter for the credentials.</param>
6969
/// <returns>The created instance of the Credential class.</returns>
7070
/// <exception cref="ArgumentNullException">If <paramref name="id"/> or <paramref name="privateKey"/> are <see langword="null"/>.</exception>
71-
public static Credential CreateResidentCredential(byte[] id, string? rpId, string privateKey, byte[] userHandle, int signCount)
71+
public static Credential CreateResidentCredential(byte[] id, string rpId, string privateKey, byte[] userHandle, int signCount)
7272
{
7373
return new Credential(id, true, rpId, privateKey, userHandle, signCount);
7474
}

0 commit comments

Comments
 (0)