C# Class MicrosoftTranslatorSdk.HttpSamples.AdmAuthentication

Show file Open project: AgapeEurope/AgapeConnect1 Class Usage Examples

Public Properties

Property Type Description
DatamarketAccessUri string

Public Methods

Method Description
AdmAuthentication ( string clientId, string clientSecret ) : System
GetAccessToken ( ) : AdmAccessToken

Private Methods

Method Description
HttpPost ( string DatamarketAccessUri, string requestDetails ) : AdmAccessToken

Method Details

AdmAuthentication() public method

public AdmAuthentication ( string clientId, string clientSecret ) : System
clientId string
clientSecret string
return System

GetAccessToken() public method

public GetAccessToken ( ) : AdmAccessToken
return AdmAccessToken

Property Details

DatamarketAccessUri public static property

public static string DatamarketAccessUri
return string