OAuthDataServiceAdapter Constructor
Initializes a new instance of the OAuthDataServiceAdapter class.
Namespace: Microsoft.WindowsAzure.MediaServices.Client.OAuth
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Sub New ( _
credentials As MediaServicesCredentials, _
trustedRestCertificateHash As String, _
trustedRestSubject As String _
)
'Usage
Dim credentials As MediaServicesCredentials
Dim trustedRestCertificateHash As String
Dim trustedRestSubject As String
Dim instance As New OAuthDataServiceAdapter(credentials, _
trustedRestCertificateHash, trustedRestSubject)
public OAuthDataServiceAdapter(
MediaServicesCredentials credentials,
string trustedRestCertificateHash,
string trustedRestSubject
)
public:
OAuthDataServiceAdapter(
MediaServicesCredentials^ credentials,
String^ trustedRestCertificateHash,
String^ trustedRestSubject
)
new :
credentials:MediaServicesCredentials *
trustedRestCertificateHash:string *
trustedRestSubject:string -> OAuthDataServiceAdapter
public function OAuthDataServiceAdapter(
credentials : MediaServicesCredentials,
trustedRestCertificateHash : String,
trustedRestSubject : String
)
Parameters
- credentials
Type: Microsoft.WindowsAzure.MediaServices.Client.MediaServicesCredentials
The Media Services credentials.
- trustedRestCertificateHash
Type: System.String
The trusted REST certificate hash.
- trustedRestSubject
Type: System.String
The trusted REST subject.