VssS2SOAuthCredential Constructor
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
authorizationUrl As Uri, _
aadDomain As String, _
sourceServicePrincipal As Guid, _
targetServicePrincipalName As String, _
signingCredentials As SigningCredentials, _
token As String _
)
public VssS2SOAuthCredential(
Uri authorizationUrl,
string aadDomain,
Guid sourceServicePrincipal,
string targetServicePrincipalName,
SigningCredentials signingCredentials,
string token
)
public:
VssS2SOAuthCredential(
Uri^ authorizationUrl,
String^ aadDomain,
Guid sourceServicePrincipal,
String^ targetServicePrincipalName,
SigningCredentials^ signingCredentials,
String^ token
)
new :
authorizationUrl:Uri *
aadDomain:string *
sourceServicePrincipal:Guid *
targetServicePrincipalName:string *
signingCredentials:SigningCredentials *
token:string -> VssS2SOAuthCredential
public function VssS2SOAuthCredential(
authorizationUrl : Uri,
aadDomain : String,
sourceServicePrincipal : Guid,
targetServicePrincipalName : String,
signingCredentials : SigningCredentials,
token : String
)
Parameters
- authorizationUrl
Type: System.Uri
- aadDomain
Type: System.String
- sourceServicePrincipal
Type: System.Guid
- targetServicePrincipalName
Type: System.String
- signingCredentials
Type: System.IdentityModel.Tokens.SigningCredentials
- token
Type: System.String
.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.