C# Класс Microsoft.Alm.Authentication.VstsMsaAuthentication

Наследование: BaseVstsAuthentication, IVstsMsaAuthentication
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
InteractiveLogon ( TargetUri targetUri, bool requireCompactToken ) : Task

Opens an interactive logon prompt to acquire acquire an authentication token from the Microsoft Live authentication and identity service.

SetCredentials ( TargetUri targetUri, Credential credentials ) : void

Sets credentials for future use with this authentication object.

Not supported.

VstsMsaAuthentication ( VstsTokenScope tokenScope, ICredentialStore personalAccessTokenStore ) : System

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

Метод Описание
VstsMsaAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority liveAuthority ) : System

Test constructor which allows for using fake credential stores

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

InteractiveLogon() публичный Метод

Opens an interactive logon prompt to acquire acquire an authentication token from the Microsoft Live authentication and identity service.
public InteractiveLogon ( TargetUri targetUri, bool requireCompactToken ) : Task
targetUri TargetUri /// The uniform resource indicator of the resource access tokens are being requested for. ///
requireCompactToken bool /// True if a compact access token is required; false if a standard token is acceptable. ///
Результат Task

SetCredentials() публичный Метод

Sets credentials for future use with this authentication object.
Not supported.
public SetCredentials ( TargetUri targetUri, Credential credentials ) : void
targetUri TargetUri /// The uniform resource indicator of the resource access tokens are being set for. ///
credentials Credential The credentials being set.
Результат void

VstsMsaAuthentication() публичный Метод

public VstsMsaAuthentication ( VstsTokenScope tokenScope, ICredentialStore personalAccessTokenStore ) : System
tokenScope VstsTokenScope
personalAccessTokenStore ICredentialStore
Результат System