C# Класс GitHub.Authentication.AuthenticationPrompts

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AuthenticationCodeModalPrompt ( TargetUri targetUri, GitHubAuthenticationResultType resultType, string username, string &authenticationCode ) : bool
CredentialModalPrompt ( TargetUri targetUri, string &username, string &password ) : bool

Приватные методы

Метод Описание
EnsureApplicationResources ( ) : void
ShowViewModel ( DialogViewModel viewModel, Func windowCreator ) : bool
StartSTATask ( System.Action action ) : Task

Описание методов

AuthenticationCodeModalPrompt() публичный статический Метод

public static AuthenticationCodeModalPrompt ( TargetUri targetUri, GitHubAuthenticationResultType resultType, string username, string &authenticationCode ) : bool
targetUri Microsoft.Alm.Authentication.TargetUri
resultType GitHubAuthenticationResultType
username string
authenticationCode string
Результат bool

CredentialModalPrompt() публичный статический Метод

public static CredentialModalPrompt ( TargetUri targetUri, string &username, string &password ) : bool
targetUri Microsoft.Alm.Authentication.TargetUri
username string
password string
Результат bool