File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
FirebaseAuth/Sources/Swift/Backend/RPC/Proto Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1414
1515import Foundation
1616
17- public class PasskeyInfo : NSObject , @ unchecked Sendable {
17+ public class PasskeyInfo : AuthProto {
1818 /// The display name for this passkey.
1919 public let name : String
2020 /// The credential ID used by the server.
2121 public let credentialID : String
2222
23- public init ? ( dictionary: [ String : Any ] ) {
24- guard let name = dictionary [ " name " ] as? String ,
25- let credentialID = dictionary [ " credentialId " ] as? String else {
26- return nil
27- }
28- self . name = name
29- self . credentialID = credentialID
23+ public required init ( dictionary: [ String : AnyHashable ] ) {
24+ name = dictionary [ " name " ] as! String
25+ credentialID = dictionary [ " credentialId " ] as! String
3026 }
3127}
You can’t perform that action at this time.
0 commit comments