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

Provide the Configuration Parameters

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun setGraphQLClient(graphQLClient: GraphQLClient): SudoProfilesClient.Builder

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

Link copied to clipboard

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

Link copied to clipboard

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

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

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

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