We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dcae2e commit e6b75daCopy full SHA for e6b75da
dotnet/src/webdriver/VirtualAuth/Credential.cs
@@ -130,7 +130,10 @@ public Dictionary<string, object> ToDictionary()
130
131
toReturn["credentialId"] = Base64UrlEncoder.Encode(this.id);
132
toReturn["isResidentCredential"] = this.IsResidentCredential;
133
- toReturn["rpId"] = this.RpId;
+ if (this.RpId is not null)
134
+ {
135
+ toReturn["rpId"] = this.RpId;
136
+ }
137
toReturn["privateKey"] = this.PrivateKey;
138
toReturn["signCount"] = this.SignCount;
139
if (this.userHandle is not null)
0 commit comments