Свойство | Type | Description | |
---|---|---|---|
TokenScope |
Свойство | Type | Description |
---|
Méthode | 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. /// | |
Résultat | 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 | |
Résultat |
public GetCredentials ( |
||
targetUri | /// The uniform resource indicator used to uniquely identity the credentials. /// | |
Résultat |
public GitHubAuthentication ( |
||
tokenScope | ||
personalAccessTokenStore | ICredentialStore | |
acquireCredentialsCallback | AcquireCredentialsDelegate | |
acquireAuthenticationCodeCallback | AcquireAuthenticationCodeDelegate | |
authenticationResultCallback | AuthenticationResultDelegate | |
Résultat | System |
public InteractiveLogon ( |
||
targetUri | The unique identifier for the resource for which access is to /// be acquired. | |
Résultat | 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. |
Résultat | Task |
public SetCredentials ( |
||
targetUri | /// The uniform resource indicator used to uniquely identify the credentials. /// | |
credentials | The value to be stored. | |
Résultat | void |
public ValidateCredentials ( |
||
targetUri | The unique identifier for the resource for which credentials /// are being validated against. | |
credentials | The credentials to validate. | |
Résultat | Task |