共用方式為


ASCredentialIdentityStore.ReplaceCredentialIdentities 方法

定義

以存放區中指定的 newCredentialIdentities 取代現有的身分識別。 處理常式 completion 完成之後會呼叫處理常式。

[Foundation.Export("replaceCredentialIdentitiesWithIdentities:completion:")]
public virtual void ReplaceCredentialIdentities (AuthenticationServices.ASPasswordCredentialIdentity[] newCredentialIdentities, AuthenticationServices.ASCredentialIdentityStoreCompletionHandler completion);
abstract member ReplaceCredentialIdentities : AuthenticationServices.ASPasswordCredentialIdentity[] * AuthenticationServices.ASCredentialIdentityStoreCompletionHandler -> unit
override this.ReplaceCredentialIdentities : AuthenticationServices.ASPasswordCredentialIdentity[] * AuthenticationServices.ASCredentialIdentityStoreCompletionHandler -> unit

參數

newCredentialIdentities
ASPasswordCredentialIdentity[]
屬性

適用於