Returns Object

Static fromJSON

Static method to deserialize a JSON representation of an object into an
firebase.auth.AuthCredential. Input can be either Object or the
stringified representation of the object. When string is provided,
JSON.parse would be called first. If the JSON input does not represent
anAuthCredential, null is returned.