mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-22 17:51:29 +03:00
make displayName nullable
This commit is contained in:
parent
965f36c9cb
commit
b1322102db
@ -434,7 +434,7 @@ class FidoManager(
|
||||
(credentialData.user["id"] as ByteArray).asString(),
|
||||
credentialData.user["name"] as String,
|
||||
publicKeyCredentialDescriptor = credentialData.credentialId,
|
||||
displayName = credentialData.user["displayName"] as String,
|
||||
displayName = credentialData.user["displayName"] as String?,
|
||||
)
|
||||
}
|
||||
}.reduceOrNull { credentials, credentialList ->
|
||||
|
@ -31,7 +31,7 @@ data class FidoCredential(
|
||||
@SerialName("user_name")
|
||||
val userName: String,
|
||||
@SerialName("display_name")
|
||||
val displayName: String,
|
||||
val displayName: String?,
|
||||
@Transient
|
||||
val publicKeyCredentialDescriptor: Map<String, Any?> = emptyMap()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user