Something went wrong. Try again.
.NET ATProtocol Library - Built for Source Gen
Something went wrong. Try again.
123456789101112131415161718192021// <copyright file="AuthenticationPresentationContext.cs" company="Drastic Actions">// Copyright (c) Drastic Actions. All rights reserved.// </copyright>
using AuthenticationServices;
namespace BSkyOAuth;
/// <summary>/// Authentication Presentation Context./// </summary>public class AuthenticationPresentationContext(UIViewController viewController) : NSObject, IASWebAuthenticationPresentationContextProviding{ private UIViewController viewController = viewController;
/// <inheritdoc/> public UIWindow GetPresentationAnchor(ASWebAuthenticationSession session) { return this.viewController.View!.Window!; }}