AcquireTokenInteractiveParameterBuilder.WithParentActivityOrWindow Method

Definition

Sets a reference to the ViewController (if using Xamarin.iOS), Activity (if using Xamarin.Android) IWin32Window or IntPtr (if using .Net Framework). Used for invoking the browser.

public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithParentActivityOrWindow (object parent);
member this.WithParentActivityOrWindow : obj -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
Public Function WithParentActivityOrWindow (parent As Object) As AcquireTokenInteractiveParameterBuilder

Parameters

parent
System.Object

The parent as an object, so that it can be used from shared NetStandard assemblies

Returns

AcquireTokenInteractiveParameterBuilder

The builder to chain the .With methods

Remarks

Mandatory only on Android. Can also be set via the PublicClientApplcation builder.

Applies to