Метод | Описание | |
---|---|---|
Adapt ( DataServiceContext dataServiceContext ) : void |
Adapts the specified data service context.
|
|
AddAccessTokenToRequest ( |
Adds the access token to request.
|
|
OAuthDataServiceAdapter ( ITokenProvider tokenProvider ) : System |
Initializes a new instance of the OAuthDataServiceAdapter class.
|
Метод | Описание | |
---|---|---|
OAuthDataServiceAdapter ( MediaServicesCredentials credentials, string trustedRestCertificateHash, string trustedRestSubject ) : System | ||
OnSendingRequest ( object sender, System.Data.Services.Client.SendingRequest2EventArgs e ) : void |
When sending Http Data requests to the Azure Marketplace, inject authorization header based on the current Access token.
|
public Adapt ( DataServiceContext dataServiceContext ) : void | ||
dataServiceContext | DataServiceContext | The data service context. |
Результат | void |
public AddAccessTokenToRequest ( |
||
request | The request. | |
Результат | void |
public OAuthDataServiceAdapter ( ITokenProvider tokenProvider ) : System | ||
tokenProvider | ITokenProvider | Azure Media Services token provider. |
Результат | System |