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

AuthenticateRequest

class AuthenticateRequest :AbstractRequest<GSDLoginAPI,ResponseObject>, Callback<ResponseObject>

Created by PJablonski on 05.07.2017.

Constructors

Name Summary
<init> AuthenticateRequest(encryptionInterceptor:EncryptionInterceptor, apiClass:Class<GSDLoginAPI>, accessData:AccessData, handleSSL:Boolean)
Created by PJablonski on 05.07.2017.

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>
fillHeader fun fillHeader():Unit
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
getHeaders fun getHeaders():Map<String,String>
hasSessionId fun hasSessionId():Boolean
onRetryFail open fun onRetryFail():Unit
renewSession fun renewSession(secureAuthentication:SecureAuthentication, resultCallback:NetDataLoadCallback<AuthorizationResponse>):Unit