Client SDK Version 1.8.1
Ionic Security client SDK for Python users
Public Member Functions | Public Attributes | List of all members
ionicsdk.common.DeviceProfilePersistorPasswordFile Class Reference

Password protected device profile persistor implementation. More...

Inheritance diagram for ionicsdk.common.DeviceProfilePersistorPasswordFile:
ionicsdk.common.DeviceProfilePersistorBase

Public Member Functions

def __init__ (self, filepath, password)
 Constructs a persistor with the provided values. More...
 
- Public Member Functions inherited from ionicsdk.common.DeviceProfilePersistorBase
def __init__ (self)
 Constructs a persistor with default values.
 
def getversion (self)
 Gets the profile persistor verion to use, or an empty value if a default will be used. More...
 
def setversion (self, version)
 Sets the profile persistor verion to use. More...
 

Public Attributes

 filepath
 (unicode) File name and path where the encrypted JSON file will be located
 

Detailed Description

Password protected device profile persistor implementation.

This class provides a file-based device persistor that is password protected.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.common.DeviceProfilePersistorPasswordFile.__init__ (   self,
  filepath,
  password 
)

Constructs a persistor with the provided values.

Parameters
filepath(string): The file name and path
password(string): A user password as a string

The documentation for this class was generated from the following file: