Builder

class Builder(context: Context, sudoUserClient: SudoUserClient, blobContainerURI: Uri)

Builder used to construct SudoProfilesClient.

Constructors

Link copied to clipboard
constructor(context: Context, sudoUserClient: SudoUserClient, blobContainerURI: Uri)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Constructs and returns an SudoProfilesClient.

Link copied to clipboard
fun setConfig(config: JSONObject): <Error class: unknown class>

Provide the Configuration Parameters

Link copied to clipboard
fun setCryptoProvider(cryptoProvider: CryptoProvider): <Error class: unknown class>

Provide a CryptoProvider to use. If a value is not supplied a default implementation will be provided.

Link copied to clipboard
fun setDatabaseName(databaseName: String): <Error class: unknown class>

Provide the database name to use for exportable key store database.

Link copied to clipboard
fun setGraphQLClient(graphQLClient: GraphQLClient): <Error class: unknown class>

Provide an GraphQLClient for the GraphQLClient. If this is not supplied, an GraphQLClient will be obtained from ApiClientManager.

Link copied to clipboard
fun setIdGenerator(idGenerator: IdGenerator): <Error class: unknown class>

Provide an IdGenerator to use. If a value is not supplied a default implementation will be provided.

Link copied to clipboard
fun setLogger(logger: Logger): <Error class: unknown class>

Provide the implementation of the Logger used for logging. If a value is not supplied a default implementation will be used.

Link copied to clipboard
fun setMaxSudos(maxSudos: Int): <Error class: unknown class>

Provide the maximum number of Sudos to cap the queries to. If a value is not supplied a default of 10 will be set.

Link copied to clipboard
fun setNamespace(namespace: String): <Error class: unknown class>

Provide the namespace to use for internal data and cryptographic keys. This should be unique per client per app to avoid name conflicts between multiple clients. If a value is not supplied a default value will be used.

Link copied to clipboard
fun setS3Client(s3Client: S3Client): <Error class: unknown class>

Provide an S3Client to use for AWS S3 related operations. If a value is not supplied a default implementation will be used.