setCredentialsProvider

fun setCredentialsProvider(credentialsProvider: CognitoCredentialsProvider): SudoUserClient.Builder

Provide a custom credentials provider. This is mainly used for unit testing (optional). If a value is not provided, a default implementation will be used.