C# Class Microsoft.Alm.Authentication.VstsMsaAuthentication

Inheritance: BaseVstsAuthentication, IVstsMsaAuthentication
Afficher le fichier Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
VstsMsaAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority liveAuthority ) : System

Test constructor which allows for using fake credential stores

Method Details

InteractiveLogon() public méthode

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

SetCredentials() public méthode

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

VstsMsaAuthentication() public méthode

public VstsMsaAuthentication ( VstsTokenScope tokenScope, ICredentialStore personalAccessTokenStore ) : System
tokenScope VstsTokenScope
personalAccessTokenStore ICredentialStore
Résultat System