ACAccountStore.RenewCredentials Method

Definition

Attempts to renew credentials if they have become invalid.

[Foundation.Export("renewCredentialsForAccount:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RenewCredentials (Accounts.ACAccount account, Action<Accounts.ACAccountCredentialRenewResult,Foundation.NSError> completionHandler);
abstract member RenewCredentials : Accounts.ACAccount * Action<Accounts.ACAccountCredentialRenewResult, Foundation.NSError> -> unit
override this.RenewCredentials : Accounts.ACAccount * Action<Accounts.ACAccountCredentialRenewResult, Foundation.NSError> -> unit

Parameters

account
ACAccount

The account whose credentials require renewing.

completionHandler
Action<ACAccountCredentialRenewResult,NSError>

The handler to be called when the method completes.

Attributes

Applies to