pub type ManagerCheckCredentialResult = Result<CheckCredentialResponse, CredentialError>;