JS DOCs: credentials()