type

The type read-only property of the Credential interface returns a string containing the credential's type.

MDN Reference