Add credential parameter callback, and add constructors and supported credential query methods for credential callback