Method | Description | |
---|---|---|
InteractiveLogon ( |
Creates an interactive logon session, using ADAL secure browser GUI, which enables users to authenticate with the Azure tenant and acquire the necessary access tokens to exchange for a VSTS personal access token. Tokens acquired are stored in the secure secret stores provided during initialization.
|
|
NoninteractiveLogon ( |
Uses Active Directory Federation Services to authenticate with the Azure tenant non-interactively and acquire the necessary access tokens to exchange for a VSTS personal access token. Tokens acquired are stored in the secure secret stores provided during initialization.
|
|
SetCredentials ( |
Sets credentials for future use with this authentication object. Not supported. |
|
VstsAadAuthentication ( System.Guid tenantId, |
|
Method | Description | |
---|---|---|
VstsAadAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority vstsAuthority ) : System |
Test constructor which allows for using fake credential stores
|
public InteractiveLogon ( |
||
targetUri | The unique identifier for the resource for which access is to /// be acquired. | |
requestCompactToken | bool |
/// |
return | Task |
public NoninteractiveLogon ( |
||
targetUri | The unique identifier for the resource for which access is to /// be acquired. | |
requestCompactToken | bool |
/// |
return | Task |
public SetCredentials ( |
||
targetUri | /// The uniform resource indicator of the resource access tokens are being set for. /// | |
credentials | The credentials being set. | |
return | void |
public VstsAadAuthentication ( System.Guid tenantId, |
||
tenantId | System.Guid |
/// |
tokenScope | The scope of all access tokens acquired by the authority. | |
personalAccessTokenStore | ICredentialStore | The secure secret store for storing any personal /// access tokens acquired. |
return | System |