프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ClientId | string | ||
Resource | string | ||
TokenScope |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BaseVstsAuthentication | System |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
BaseVstsAuthentication ( |
||
GeneratePersonalAccessToken ( |
Generates a "personal access token" or service specific, usage resticted access token.
|
메소드 | 설명 | |
---|---|---|
BaseVstsAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority vstsAuthority ) : System |
protected BaseVstsAuthentication ( |
||
tokenScope | ||
personalAccessTokenStore | ICredentialStore | |
리턴 | System |
public DeleteCredentials ( |
||
targetUri | The 'key' by which to identify credentials. | |
리턴 | void |
public static DetectAuthority ( |
||
targetUri | The resource which the authority protects. | |
tenantId | System.Guid | The identity of the authority tenant; |
리턴 | 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 |
리턴 | 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. |
리턴 |
public GetCredentials ( |
||
targetUri | The 'key' by which to identify credentials. | |
리턴 |
public ValidateCredentials ( |
||
targetUri | The target resource to validate against. | |
credentials | The credentials to validate. | |
리턴 | Task |