C# Class GitHub.Authentication.AuthenticationPrompts

Show file Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Methods

Method Description
AuthenticationCodeModalPrompt ( TargetUri targetUri, GitHubAuthenticationResultType resultType, string username, string &authenticationCode ) : bool
CredentialModalPrompt ( TargetUri targetUri, string &username, string &password ) : bool

Private Methods

Method Description
EnsureApplicationResources ( ) : void
ShowViewModel ( DialogViewModel viewModel, Func windowCreator ) : bool
StartSTATask ( System.Action action ) : Task

Method Details

AuthenticationCodeModalPrompt() public static method

public static AuthenticationCodeModalPrompt ( TargetUri targetUri, GitHubAuthenticationResultType resultType, string username, string &authenticationCode ) : bool
targetUri Microsoft.Alm.Authentication.TargetUri
resultType GitHubAuthenticationResultType
username string
authenticationCode string
return bool

CredentialModalPrompt() public static method

public static CredentialModalPrompt ( TargetUri targetUri, string &username, string &password ) : bool
targetUri Microsoft.Alm.Authentication.TargetUri
username string
password string
return bool