Property | Type | Description | |
---|---|---|---|
ClientId | string | ||
Resource | string | ||
TokenScope |
Property | Type | Description | |
---|---|---|---|
BaseVstsAuthentication | System |
Method | Description | |
---|---|---|
DeleteCredentials ( |
Deletes a set of stored credentials by their target resource.
|
|
DetectAuthority ( |
Detects the backing authority of the end-point.
|
|
GetAuthentication ( |
Creates a new authentication broker based for the specified resource.
|
|
GetCredentials ( |
Attempts to get a set of credentials from storage by their target resource.
|
|
ValidateCredentials ( |
Validates that a set of credentials grants access to the target resource.
|
Method | Description | |
---|---|---|
BaseVstsAuthentication ( |
||
GeneratePersonalAccessToken ( |
Generates a "personal access token" or service specific, usage resticted access token.
|
Method | Description | |
---|---|---|
BaseVstsAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority vstsAuthority ) : System |
protected BaseVstsAuthentication ( |
||
tokenScope | ||
personalAccessTokenStore | ICredentialStore | |
return | System |
public DeleteCredentials ( |
||
targetUri | The 'key' by which to identify credentials. | |
return | void |
public static DetectAuthority ( |
||
targetUri | The resource which the authority protects. | |
tenantId | System.Guid | The identity of the authority tenant; |
return | bool |
protected GeneratePersonalAccessToken ( |
||
targetUri | The target resource for which to acquire the personal access /// token for. | |
accessToken | Token | Azure Directory access token with privileges to grant access /// to the target resource. |
requestCompactToken | bool | Generates a compact token if |
return | Task |
public static GetAuthentication ( |
||
targetUri | The resource for which authentication is being requested. | |
scope | The scope of the access being requested. | |
personalAccessTokenStore | ICredentialStore | Storage container for personal access token secrets. |
return |
public GetCredentials ( |
||
targetUri | The 'key' by which to identify credentials. | |
return |
public ValidateCredentials ( |
||
targetUri | The target resource to validate against. | |
credentials | The credentials to validate. | |
return | Task |