addCredentialImplementation
fun addCredentialImplementation(credentialType: String, createCredentialFunction: suspend (Document) -> Credential): DocumentStore.Builder
Add a new Credential implementation to document store.
Return
the builder.
Parameters
credentialType
the credential type
createCredentialFunction
a function to create a Credential of the given type.