Property | Type | Description | |
---|---|---|---|
TokenScope |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
DeleteCredentials ( |
Deletes a Credential from the storage used by the authentication object.
|
|
GetAuthentication ( |
Gets a configured authentication object for 'github.com'.
|
|
GetCredentials ( |
Gets a Credential from the storage used by the authentication object.
|
|
GitHubAuthentication ( |
|
|
InteractiveLogon ( |
Tokens acquired are stored in the secure secret store provided during initialization.
|
|
NoninteractiveLogonWithCredentials ( |
Tokens acquired are stored in the secure secret store provided during initialization.
|
|
SetCredentials ( |
Sets a Credential in the storage used by the authentication object.
|
|
ValidateCredentials ( |
Validates that a set of credentials grants access to the target resource.
|
public DeleteCredentials ( |
||
targetUri | /// The uniform resource indicator used to uniquely identify the credentials. /// | |
return | void |
public static GetAuthentication ( |
||
targetUri | The uniform resource indicator of the resource which requires /// authentication. | |
tokenScope | The desired scope of any personal access tokens acquired. | |
personalAccessTokenStore | ICredentialStore | A secure secret store for any personal access /// tokens acquired. |
acquireCredentialsCallback | AcquireCredentialsDelegate | |
acquireAuthenticationCodeCallback | AcquireAuthenticationCodeDelegate | |
authenticationResultCallback | AuthenticationResultDelegate | |
return |
public GetCredentials ( |
||
targetUri | /// The uniform resource indicator used to uniquely identity the credentials. /// | |
return |
public GitHubAuthentication ( |
||
tokenScope | ||
personalAccessTokenStore | ICredentialStore | |
acquireCredentialsCallback | AcquireCredentialsDelegate | |
acquireAuthenticationCodeCallback | AcquireAuthenticationCodeDelegate | |
authenticationResultCallback | AuthenticationResultDelegate | |
return | System |
public InteractiveLogon ( |
||
targetUri | The unique identifier for the resource for which access is to /// be acquired. | |
return | Task |
public NoninteractiveLogonWithCredentials ( |
||
targetUri | The unique identifier for the resource for which access is to /// be acquired. | |
username | string | The username of the account for which access is to be acquired. |
password | string | The password of the account for which access is to be acquired. |
authenticationCode | string | The two-factor authentication code for use in access acquisition. |
return | Task |
public SetCredentials ( |
||
targetUri | /// The uniform resource indicator used to uniquely identify the credentials. /// | |
credentials | The value to be stored. | |
return | void |
public ValidateCredentials ( |
||
targetUri | The unique identifier for the resource for which credentials /// are being validated against. | |
credentials | The credentials to validate. | |
return | Task |