Share via


ASWebAuthenticationSession.Cancel Method

Definition

Developers can call this method to cancel the authentication session and dismiss the associated view controller.

[Foundation.Export("cancel")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Cancel();
[<Foundation.Export("cancel")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Cancel : unit -> unit
override this.Cancel : unit -> unit
Attributes

Remarks

After the initial call to this method, subsequent calls have no effect.

Applies to