C# Class ESRI.ArcGIS.Client.Toolkit.SignInDialog

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Mostrar archivo Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Properties

Property Type Description
TitleProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
AddTry void
ChallengeCertificate void
ChallengeIWA bool
DoSignInInUIThread void
DoSignInInUIThreadEx void
GenerateNetworkCredential void
GenerateToken void
GetResourceName string
GetSuffix string
MakeReplacements void
OnPropertyChanged void
SetRichTextBoxErrorMessage void
SetRichTextBoxMessage void
TokenGenerated void
TryDone bool
UpdateCanCancel void
UpdateIsReady void
XamlEncode string

Public Methods

Method Description
DoSignIn ( string url, Exception>.Action callback, IdentityManager generateTokenOptions = null ) : void

Static challenge method leaveraging the SignInDialog in a child window.

This method manages token credential only. See DoSignInEx for the extended method managing all credential types.

DoSignInEx ( IdentityManager credentialRequestInfos, Exception>.Action callback, IdentityManager generateTokenOptions = null ) : void

Static challenge method leaveraging the SignInDialog in a child window. This method manages all credential types. Note however that in case of certificate authentication the SignInDialog UI is not used. The standard .Net dialog box for selecting an X.509 certificate from a certificate collection is used instead.

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.

SignInDialog ( ) : System

Initializes a new instance of the SignInDialog control.

Private Methods

Method Description
AddTry ( string url ) : void
ChallengeCertificate ( IdentityManager credentialRequestInfos, Exception>.Action callback ) : void
ChallengeIWA ( IdentityManager credentialRequestInfos, Exception>.Action callback ) : bool
DoSignInInUIThread ( string url, Exception>.Action callback, IdentityManager generateTokenOptions, IdentityManager authenticationType = IdentityManager.AuthenticationType.Token ) : void
DoSignInInUIThreadEx ( IdentityManager credentialRequestInfos, Exception>.Action callback, IdentityManager generateTokenOptions ) : void
GenerateNetworkCredential ( ) : void
GenerateToken ( ) : void
GetResourceName ( string url ) : string
GetSuffix ( string url ) : string
MakeReplacements ( System.Windows.Controls.RichTextBox richTextBox, string xaml ) : void
OnPropertyChanged ( string propertyName ) : void
SetRichTextBoxErrorMessage ( ) : void
SetRichTextBoxMessage ( ) : void
TokenGenerated ( IdentityManager credential, Exception exc, long requestID ) : void
TryDone ( string url ) : bool
UpdateCanCancel ( ) : void
UpdateIsReady ( ) : void
XamlEncode ( string inputStr ) : string

Method Details

DoSignIn() public static method

Static challenge method leaveraging the SignInDialog in a child window.
This method manages token credential only. See DoSignInEx for the extended method managing all credential types.
public static DoSignIn ( string url, Exception>.Action callback, IdentityManager generateTokenOptions = null ) : void
url string The URL.
callback Exception>.Action The callback.
generateTokenOptions IdentityManager The generate token options.
return void

DoSignInEx() public static method

Static challenge method leaveraging the SignInDialog in a child window. This method manages all credential types. Note however that in case of certificate authentication the SignInDialog UI is not used. The standard .Net dialog box for selecting an X.509 certificate from a certificate collection is used instead.
public static DoSignInEx ( IdentityManager credentialRequestInfos, Exception>.Action callback, IdentityManager generateTokenOptions = null ) : void
credentialRequestInfos IdentityManager The information about the credential to get.
callback Exception>.Action The callback.
generateTokenOptions IdentityManager The generate token options.
return void

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.
public OnApplyTemplate ( ) : void
return void

SignInDialog() public method

Initializes a new instance of the SignInDialog control.
public SignInDialog ( ) : System
return System

Property Details

TitleProperty public_oe static_oe property

Identifies the Title dependency property.
public static DependencyProperty,System.Windows TitleProperty
return System.Windows.DependencyProperty