VssOAuthCredential Constructor (String)
Initializes a new VssOAuthCredential instance with the provided access token.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
accessToken As String _
)
public VssOAuthCredential(
string accessToken
)
public:
VssOAuthCredential(
String^ accessToken
)
new :
accessToken:string -> VssOAuthCredential
public function VssOAuthCredential(
accessToken : String
)
Parameters
accessToken
Type: System.StringThe OAuth access token
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.