Summary
Returns credentials for OAuth authentication.
Can only be used with Visual Studio Team Services.
- Assembly
- Cake
.Prca .PullRequests .Tfs .dll - Namespace
- Cake
.Prca .PullRequests .Tfs - Containing Type
- Tfs
Pull Request System Aliases
Syntax
public static IPrcaCredentials TfsAuthenticationOAuth(this ICakeContext context, string accessToken)
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| accessToken | string | OAuth access token. |
Return Value
| Type | Description |
|---|---|
| IPrcaCredentials | Credentials for OAuth authentication. |