gsdsdk / com.gsd.software.sdk.netconnector.request.authorization / ServerPublicKeyRequest

ServerPublicKeyRequest

class ServerPublicKeyRequest :AbstractRequest<GSDLoginAPI,ResponseObject>

Created by Maksim Shumko on 8/1/2018.

Constructors

Name Summary
<init> ServerPublicKeyRequest(apiClass:Class<GSDLoginAPI>, accessData:AccessData, handleSSL:Boolean)
Created by Maksim Shumko on 8/1/2018.

Inherited Properties

Name Summary
accessData var accessData:AccessData
apiCall var apiCall:T?
externalCallback var externalCallback:NetDataLoadCallback<K>?
gson var gson: Gson?
handleSSL var handleSSL:Boolean
headers var headers:HashMap<String,String>
id val id:String
internalCallback var internalCallback:NetDataLoadCallback<K>?

Functions

Name Summary
automaticallyRenewSession fun automaticallyRenewSession():Boolean
definition fun definition(): Call<ResponseObject>
offlineAutoSave fun offlineAutoSave():Boolean
onFailure fun onFailure(call: Call<ResponseObject>, t:Throwable):Unit
onResponse fun onResponse(call: Call<ResponseObject>, response: Response<ResponseObject>):Unit
setDataLoadCallback fun setDataLoadCallback(externalCallback:NetDataLoadCallback<ResponseObject>):Unit

Inherited Functions

Name Summary
addHeader open fun addHeader(name:String, value:String):Unit
databaseOpAfterSuccess open fun databaseOpAfterSuccess(gsdDao:GSDDao):Unit
execute open fun execute():Unit
fillHeader open fun fillHeader():Unit
getHeaders fun getHeaders():Map<String,String>
hasSessionId fun hasSessionId():Boolean
onRetryFail open fun onRetryFail():Unit
renewSession fun renewSession(secureAuthentication:SecureAuthentication, resultCallback:NetDataLoadCallback<AuthorizationResponse>):Unit