MockProviderBehavior Class

Definition

C#
public class MockProviderBehavior : Microsoft.Toolkit.Graph.Providers.CommonProviderBehaviorBase
Inheritance
Microsoft.Xaml.Interactivity.Behavior<T>
BehaviorBase<Windows.UI.Xaml.FrameworkElement>
MockProviderBehavior

Examples

<Interactivity:Interaction.Behaviors>
  <providers:InteractiveProviderBehavior ClientId = "MyClientIdGuid"/>
</Interactivity:Interaction.Behaviors>

Constructors

Fields

SignedInProperty

Identifies the SignedIn dependency property.

Properties

ClientId

Gets or sets the Client ID (the unique application (client) ID assigned to your app by Azure AD when the app was registered).

(Inherited from CommonProviderBehaviorBase)
IsAttached

Gets a value indicating whether this behavior is attached.

(Inherited from BehaviorBase<T>)
RedirectUri

Gets or sets the redirect URI (the URI the identity provider will send the security tokens back to).

(Inherited from CommonProviderBehaviorBase)
Scopes

Gets or sets the list of Scopes (permissions) to request on initial login.

(Inherited from CommonProviderBehaviorBase)
SignedIn

Gets or sets a value indicating whether the mock provider is signed-in upon initialization.

Methods

Initialize()

Initializes the behavior to the associated object.

OnAssociatedObjectLoaded()

Called when the associated object has been loaded.

(Inherited from BehaviorBase<T>)
OnAssociatedObjectUnloaded()

Called when the associated object has been unloaded.

(Inherited from BehaviorBase<T>)
OnAttached()

Called after the behavior is attached to the Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

(Inherited from BehaviorBase<T>)
OnDetaching()

Called when the behavior is being detached from its Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

(Inherited from BehaviorBase<T>)
Uninitialize()

Uninitializes the behavior from the associated object.

(Inherited from BehaviorBase<T>)

Applies to

Product Versions
Windows Community Toolkit 6.1.1, 7.0.0