removed redundant methods, extend AbstractBaseCredentials instead