Gönderenin kimlik bilgilerini tanımlamak için kullanılan kimlik bilgisi verileri.
Marka
CredentialsData
yeni
CredentialsData(credentials, authenticationType) (Kimlik bilgileri, kimlik bilgileri türü)
Parametre
giriş bilgileri
dize
Kullanıcının kimlik bilgileri.
credentialsType
İsteğe bağlı
dize
Kimlik bilgilerinin hangi platformdan gönderildiğini gösteren kimlik bilgisi türü. Varsayılan olarak web'e ayarlanır veya özel olarak tanımlanabilir.
Özellikler
giriş bilgileri
dize
Kullanıcının kimlik bilgileri.
credentialsType
dize
Kimlik bilgilerinin hangi platformdan gönderildiğini gösteren kimlik bilgisi türü. Bu ayar varsayılan olarak web'e ayarlanır veya özel olarak tanımlanabilir.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eCredentialsData\u003c/code\u003e stores user credentials and their type for sender identification in Chromecast applications.\u003c/p\u003e\n"],["\u003cp\u003eIt includes \u003ccode\u003ecredentials\u003c/code\u003e for user authentication and \u003ccode\u003ecredentialsType\u003c/code\u003e indicating the platform origin (defaulting to "web").\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can create a \u003ccode\u003eCredentialsData\u003c/code\u003e object using the constructor with \u003ccode\u003ecredentials\u003c/code\u003e and optional \u003ccode\u003ecredentialsType\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecredentials\u003c/code\u003e and \u003ccode\u003ecredentialsType\u003c/code\u003e properties provide access to the stored credential information.\u003c/p\u003e\n"]]],[],null,["# Class: CredentialsData\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).CredentialsData\n==========================================================================\n\nclass static\n\nCredentials data used to identify the credentials of the sender.\n\nConstructor\n-----------\n\n### CredentialsData\n\nnew\nCredentialsData(credentials, credentialsType)\n\n| #### Parameter ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| credentials | string The credentials for the user. |\n| credentialsType | Optional string The credentials type indicating which platform the credentials were sent from. This defaults to web or can be custom-defined. |\n\nProperties\n----------\n\n### credentials\n\nstring\n\nThe credentials for the user.\n\n### credentialsType\n\nstring\n\nThe credentials type indicating which platform the credentials were sent\nfrom. This defaults to web or can be custom-defined."]]