Skip to content

Commit

Permalink
feat: add NFC support
Browse files Browse the repository at this point in the history
  • Loading branch information
NafieAlhilaly committed Jul 21, 2022
1 parent 377bcce commit 40915d6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions wallet/PassProps/NFC.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class NFC:
def __init__(
self, encryption_public_key, message, requires_authentication=False
) -> None:
self.encryptionPublicKey = encryption_public_key
self.message = message
self.requiresAuthentication = requires_authentication

def json_dict(self):
"""Return dict object from class"""
return self.__dict__

0 comments on commit 40915d6

Please sign in to comment.