OAuthS2SSecurityTokenServiceCredential Constructor
Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class.
Namespace: Microsoft.Workflow.Client.Security
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
OAuthS2SSecurityTokenServiceCredential(String, String, X509Certificate2, Uri) | Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class. |
|
OAuthS2SSecurityTokenServiceCredential(String, String, X509Certificate2, Uri, String) | Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class. |
|
OAuthS2SSecurityTokenServiceCredential(String, X509Certificate2, Uri) | Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class. |
See Also
OAuthS2SSecurityTokenServiceCredential Class
Microsoft.Workflow.Client.Security Namespace
Return to top
OAuthS2SSecurityTokenServiceCredential Constructor (String, String, X509Certificate2, Uri)
Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class.
Syntax
public OAuthS2SSecurityTokenServiceCredential(
string clientId,
string realm,
X509Certificate2 signingCertificate,
Uri stsUri
)
public:
OAuthS2SSecurityTokenServiceCredential(
String^ clientId,
String^ realm,
X509Certificate2^ signingCertificate,
Uri^ stsUri
)
new :
clientId:string *
realm:string *
signingCertificate:X509Certificate2 *
stsUri:Uri -> OAuthS2SSecurityTokenServiceCredential
Public Sub New (
clientId As String,
realm As String,
signingCertificate As X509Certificate2,
stsUri As Uri
)
Parameters
clientId
Type: System.StringThe client identity to use to call the STS.
realm
Type: System.StringThe realm of the client.
signingCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2The certificate used to sign the token that is authenticated by the STS.
stsUri
Type: System.UriThe Uri of the STS.
Return to top
OAuthS2SSecurityTokenServiceCredential Constructor (String, String, X509Certificate2, Uri, String)
Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class.
Syntax
public OAuthS2SSecurityTokenServiceCredential(
string clientId,
string realm,
X509Certificate2 signingCertificate,
Uri stsUri,
string stsPrincipalId
)
public:
OAuthS2SSecurityTokenServiceCredential(
String^ clientId,
String^ realm,
X509Certificate2^ signingCertificate,
Uri^ stsUri,
String^ stsPrincipalId
)
new :
clientId:string *
realm:string *
signingCertificate:X509Certificate2 *
stsUri:Uri *
stsPrincipalId:string -> OAuthS2SSecurityTokenServiceCredential
Public Sub New (
clientId As String,
realm As String,
signingCertificate As X509Certificate2,
stsUri As Uri,
stsPrincipalId As String
)
Parameters
clientId
Type: System.StringThe client identity to use to call the STS.
realm
Type: System.StringThe realm of the client.
signingCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2The certificate used to sign the token that is authenticated by the STS.
stsUri
Type: System.UriThe Uri of the STS.
stsPrincipalId
Type: System.StringThe target principal identity of the STS.
Return to top
OAuthS2SSecurityTokenServiceCredential Constructor (String, X509Certificate2, Uri)
Initializes a new instance of the OAuthS2SSecurityTokenServiceCredential class.
Syntax
public OAuthS2SSecurityTokenServiceCredential(
string clientId,
X509Certificate2 signingCertificate,
Uri stsUri
)
public:
OAuthS2SSecurityTokenServiceCredential(
String^ clientId,
X509Certificate2^ signingCertificate,
Uri^ stsUri
)
new :
clientId:string *
signingCertificate:X509Certificate2 *
stsUri:Uri -> OAuthS2SSecurityTokenServiceCredential
Public Sub New (
clientId As String,
signingCertificate As X509Certificate2,
stsUri As Uri
)
Parameters
clientId
Type: System.StringThe client identity to use to call the STS.
signingCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2The certificate used to sign the token that is authenticated by the STS.
stsUri
Type: System.UriThe Uri of the STS.
Return to top