This method is the default protected constructor. You need apply client Id and secret by properties.
Remarks
N/A
Parameters
BaseClient(String,String)
This method is the default protected constructor with a NativeConfidential client ID and secret. It will send a request to the GIS Server to acquire an access token, which will then be added to the Header for all future requests.
Remarks
N/A
Parameters
clientId
Type:String
Description:The NativeConfidential client Id with which to authenticate.
clientSecret
Type:String
Description:The NativeConfidential client secret with which to authenticate.
Public Methods
Dispose()
N/A
Remarks
N/A
Return Value
Type:Void
Description:N/A
Parameters
ToString()
N/A
Remarks
N/A
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
N/A
Remarks
N/A
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
N/A
Remarks
N/A
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
N/A
Remarks
N/A
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
AuthenticateWebRequest(WebRequest)
N/A
Remarks
N/A
Return Value
Type:Void
Description:N/A
Parameters
webRequest
Type:WebRequest
Description:The webRequest which need to apply token to header
GetToken()
N/A
Remarks
N/A
Return Value
Type:String
Description:The AccessToken from server. if the request is canceled by user, return null
Parameters
GetTokenCore()
N/A
Remarks
N/A
Return Value
Type:String
Description:The AccessToken from server. if the request is canceled by user, return null