C# Class Oxford_Speech_API.AdmAuthentication

显示文件 Open project: dxmakers/disrupt15 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
OnTokenExpiredCallback ( object stateInfo ) : void
RenewAccessToken ( ) : void

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_oe static_oe property

public static string DatamarketAccessUri
return string