1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-16 10:45:20 +01:00

[EC-598] feat: show all available data

This commit is contained in:
Andreas Coroiu 2023-01-05 17:20:24 +01:00
parent ac4389743a
commit 6392ad82d1
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A
3 changed files with 40 additions and 0 deletions

View File

@ -2046,5 +2046,17 @@
},
"rememberEmail": {
"message": "Remember email"
},
"keyType": {
"message": "Key type"
},
"keyCurve": {
"message": "Key curve"
},
"rpName": {
"message": "Relying party"
},
"origin": {
"message": "Origin"
}
}

View File

@ -414,6 +414,33 @@
<div *ngIf="cipher.identity.country">{{ cipher.identity.country }}</div>
</div>
</div>
<!-- Fido2Key -->
<div *ngIf="cipher.type == cipherType.Fido2Key">
<div class="box-content-row">
<span class="row-label">{{ "keyType" | i18n }}</span>
{{ cipher.fido2Key.keyType }}
</div>
<div class="box-content-row">
<span class="row-label">{{ "keyCurve" | i18n }}</span>
{{ cipher.fido2Key.keyCurve }}
</div>
<div class="box-content-row">
<span class="row-label">{{ "rpName" | i18n }}</span>
{{ cipher.fido2Key.rpName }}
</div>
<div class="box-content-row">
<span class="row-label">{{ "username" | i18n }}</span>
{{ cipher.fido2Key.userName }}
</div>
<div class="box-content-row">
<span class="row-label">{{ "origin" | i18n }}</span>
{{ cipher.fido2Key.origin }}
</div>
</div>
</div>
</div>
<div class="box" *ngIf="cipher.login && cipher.login.hasUris">

View File

@ -20,6 +20,7 @@ export class Fido2KeyApi extends BaseResponse {
this.keyCurve = this.getResponseProperty("KeyCurve");
this.keyValue = this.getResponseProperty("keyValue");
this.rpId = this.getResponseProperty("RpId");
this.rpName = this.getResponseProperty("RpName");
this.userHandle = this.getResponseProperty("UserHandle");
this.userName = this.getResponseProperty("UserName");
this.origin = this.getResponseProperty("Origin");