getCredentials method
Returns an array of unique credentials contained in the ArcGISCredentialStore.
During a logout workflow, users should call this method before calling ArcGISCredentialStore.removeAll, filter all instances of OAuthUserCredential and invalidate them by calling OAuthUserCredential.revokeToken.
Return Value: Every ArcGISCredential within the ArcGISCredentialStore.