Set method getCredential to deprecated;
Add new method for Wxpub OAuth