Default Sudo Profiles Client
constructor(context: Context, sudoUserClient: SudoUserClient, blobContainerURI: Uri, logger: Logger = DefaultLogger.instance, config: JSONObject? = null, maxSudos: Int = 10, graphQLClient: GraphQLClient? = null, s3Client: S3Client? = null, idGenerator: IdGenerator = DefaultIdGenerator(), cryptoProvider: CryptoProvider? = null, namespace: String = DEFAULT_KEY_NAMESPACE, databaseName: String = AndroidSQLiteStore.DEFAULT_DATABASE_NAME)
Parameters
context
Android app context.
sudo User Client
SudoUserClient
instance required to issue authentication tokens and perform cryptographic operations.
blob Container URI
container URI to which large binary objects will be stored.
logger
logger used for logging messages.
config
configuration parameters.
max Sudos
maximum number of Sudos to cap the queries to. Defaults to 10.
graph QLClient
optional GraphQL client to use. Mainly used for unit testing.
s3Client
optional S3 client to use. Mainly used for unit testing.
id Generator
optional GUID generator to use. Mainly used for unit testing.
namespace
namespace to use for internal data and cryptographic keys. This should be unique
database Name
database name to use for the exportable key store database.