//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.mt.repository.datasource/MachineTranslationDataSource/generateKey
generateKey
[jvm]
abstract suspend fun generateKey(username: String, password: String): String
Generate an API key. This may not be supported by all providers. It is up to the implementation whether to return an empty string or throw an exception if the operation is not supported.
Return
an API key
Parameters
jvm
username | Username of the account |
password | Password of the account |