Class AttestationService

  • All Implemented Interfaces:
    com.sap.cloud.mobile.foundation.networking.InterceptorProvider

    @Deprecated(message = "Deprecated in SDK 7.0", replaceWith = @ReplaceWith(imports = {}, expression = "IntegrityService")) 
    public final class AttestationService
    extends MobileService implements InterceptorProvider
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Duration duration
      private Application application
      private String apiKey
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Duration getDuration()
      final Unit setDuration(Duration duration)
      Interceptor getInterceptor() Returns interceptor to be used in OkHttpClient.
      Interceptor getNetworkInterceptor() Returns network interceptor to be used in OkHttpClient.
      Unit init(Application application, String apiKey) Initializes the mobile service
      Unit reset() Resets the mobile service to the state that just initialized.
      Unit onStateChange(ApplicationState state) Notified when application state changes.
      final ServiceResult<AttestationResult> attest(Boolean force)
      final String getAttestationToken()
      final Long getAttestationTime()
      • Methods inherited from class com.sap.cloud.mobile.foundation.mobileservices.MobileService

        enableNetworkPolicy, getApiKey, getApplication, isApplicationInitialized, mayStartNewProcess, setApiKey, setApplication
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttestationService

        AttestationService(Duration duration)
      • AttestationService

        AttestationService()