Skip to content

Commit

Permalink
Renamed fido2key property username to userDisplayName (#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbubemismith authored Sep 1, 2023
1 parent c0f1b6f commit ed77f27
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Api/Vault/Models/CipherFido2KeyModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public CipherFido2KeyModel(CipherFido2KeyData data)
RpId = data.RpId;
RpName = data.RpName;
UserHandle = data.UserHandle;
UserName = data.UserName;
UserDisplayName = data.UserDisplayName;
Counter = data.Counter;
}

Expand All @@ -31,7 +31,7 @@ public CipherFido2KeyModel(CipherLoginFido2KeyData data)
RpId = data.RpId;
RpName = data.RpName;
UserHandle = data.UserHandle;
UserName = data.UserName;
UserDisplayName = data.UserDisplayName;
Counter = data.Counter;
}

Expand Down Expand Up @@ -61,7 +61,7 @@ public CipherFido2KeyModel(CipherLoginFido2KeyData data)
public string UserHandle { get; set; }
[EncryptedString]
[EncryptedStringLength(1000)]
public string UserName { get; set; }
public string UserDisplayName { get; set; }
[EncryptedString]
[EncryptedStringLength(1000)]
public string Counter { get; set; }
Expand All @@ -78,7 +78,7 @@ public CipherLoginFido2KeyData ToCipherLoginFido2KeyData()
RpId = RpId,
RpName = RpName,
UserHandle = UserHandle,
UserName = UserName,
UserDisplayName = UserDisplayName,
Counter = Counter,
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Vault/Models/Request/CipherRequestModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private CipherFido2KeyData ToCipherFido2KeyData()
RpId = Fido2Key.RpId,
RpName = Fido2Key.RpName,
UserHandle = Fido2Key.UserHandle,
UserName = Fido2Key.UserName,
UserDisplayName = Fido2Key.UserDisplayName,
Counter = Fido2Key.Counter
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Vault/Models/Data/CipherFido2KeyData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public CipherFido2KeyData() { }
public string RpId { get; set; }
public string RpName { get; set; }
public string UserHandle { get; set; }
public string UserName { get; set; }
public string UserDisplayName { get; set; }
public string Counter { get; set; }
}
2 changes: 1 addition & 1 deletion src/Core/Vault/Models/Data/CipherLoginFido2KeyData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public CipherLoginFido2KeyData() { }
public string RpId { get; set; }
public string RpName { get; set; }
public string UserHandle { get; set; }
public string UserName { get; set; }
public string UserDisplayName { get; set; }
public string Counter { get; set; }
}

0 comments on commit ed77f27

Please sign in to comment.