pub type Credential = dyn CredentialApi + Send + Sync;
A thread-safe implementation of the Credential API.