Share via


IASWebAuthenticationPresentationContextProviding.GetPresentationAnchor Method

Definition

[Foundation.Export("presentationAnchorForWebAuthenticationSession:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIWindow GetPresentationAnchor(AuthenticationServices.ASWebAuthenticationSession session);
[Foundation.Export("presentationAnchorForWebAuthenticationSession:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSWindow GetPresentationAnchor(AuthenticationServices.ASWebAuthenticationSession session);
[<Foundation.Export("presentationAnchorForWebAuthenticationSession:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPresentationAnchor : AuthenticationServices.ASWebAuthenticationSession -> UIKit.UIWindow
override this.GetPresentationAnchor : AuthenticationServices.ASWebAuthenticationSession -> UIKit.UIWindow
[<Foundation.Export("presentationAnchorForWebAuthenticationSession:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPresentationAnchor : AuthenticationServices.ASWebAuthenticationSession -> AppKit.NSWindow
override this.GetPresentationAnchor : AuthenticationServices.ASWebAuthenticationSession -> AppKit.NSWindow

Parameters

Returns

Attributes

Applies to