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

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

Méthodes publiques

Свойство Type Description
TitleProperty System.Windows.DependencyProperty

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

DoSignInEx() public static méthode

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.
Résultat void

OnApplyTemplate() public méthode

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
Résultat void

SignInDialog() public méthode

Initializes a new instance of the SignInDialog control.
public SignInDialog ( ) : System
Résultat System

Property Details

TitleProperty public_oe static_oe property

Identifies the Title dependency property.
public static DependencyProperty,System.Windows TitleProperty
Résultat System.Windows.DependencyProperty