Firefox Tomorrow

web api instance property

Credential: type property

View on MDN ↗

Secure context

The type read-only property of the Credential interface returns a string containing the credential’s type. Valid values are password, federated, public-key, identity and otp.

Value

A string contains a credential’s given name.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.