FederatedCredential: protocol property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{SeeCompatTable}}{{APIRef("Credential Management API")}}{{securecontext_header}}
The **protocol** property of the {{domxref("FederatedCredential")}} interface returns a read-only string containing a credential's federated identity protocol. If this property is [null](/en-US/docs/Web/JavaScript/Reference/Operators/null), the protocol may be inferred from the {{domxref("FederatedCredential.provider")}} property.
Value
A string containing a credential's federated identity protocol (e.g. openidconnect).
Examples
js
// TBDSpecifications
{{Specifications}}
Browser compatibility
{{Compat}}