Table of Contents

Class LoginView

Namespace
Tudormobile.Strava.UI.Views
Assembly
Tudormobile.Strava.UI.dll

A UI control that allows the user to login to Strava. Allows the user to Authenticate with Strava. Internally, it uses the WebView2 control to display the Strava login page.

public class LoginView : Control, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Inheritance
LoginView
Implements
Inherited Members

Fields

AuthorizationProperty

Granted Authorization.

public static readonly DependencyProperty AuthorizationProperty

Field Value

DependencyProperty

LoginCompletedEvent

Login completed event.

public static readonly RoutedEvent LoginCompletedEvent

Field Value

RoutedEvent

ScopeProperty

Authorization Scope to request for login.

public static readonly DependencyProperty ScopeProperty

Field Value

DependencyProperty

Properties

Authorization

Granted Authorization.

public StravaAuthorization Authorization { get; set; }

Property Value

StravaAuthorization

Scope

Authorization Scope to request for login.

public AuthorizationScope Scope { get; set; }

Property Value

AuthorizationScope

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnLoginCompleted(LoginCompletedEventArgs)

Raises the LoginCompletedEvent with the specified event arguments.

protected virtual void OnLoginCompleted(LoginCompletedEventArgs e)

Parameters

e LoginCompletedEventArgs

The LoginCompletedEventArgs instance containing the event data.

Events

LoginCompleted

Login completed event handler.

public event LoginCompletedEventHandler LoginCompleted

Event Type

LoginCompletedEventHandler