Returns internal credential value(s).
public getCredential ( mixed $name = null ) : mixed | ||
$name | mixed | The credential value to get. If null, will return the entire credential list. Valid names: - 'change': (boolean) Do credentials need to be changed? - 'credentials': (array) The credentials needed to authenticate. - 'expire': (integer) UNIX timestamp of the credential expiration date. - 'userId': (string) The user ID. |
return | mixed | The credential information, or null if the credential doesn't exist. |