Protocols

The following protocols are available globally.

  • This protocol is a base representation of Error object generated by FRAuth framework

    See more

    Declaration

    Swift

    public protocol FRError : Error
  • Declaration

    Swift

    @objc
    public protocol FRLogger
  • Declaration

    Swift

    @objc
    public protocol FRHistory
  • Declaration

    Swift

    public protocol FRURLSessionHandlerProtocol : URLSessionTaskDelegate
  • RequestInterceptor is an interface that allows developers to implement to intercept Requests and modify the SDK generated Request as needed. Once RequestInterceptor is implemented, an array of RequestInterceptor can be registered to RequestInterceptorFactory which then every time that Request is being made from SDK, SDK invokes ‘RequestInterceptor.intercept()’ method to allow modification of that particular request.

    See more

    Declaration

    Swift

    public protocol RequestInterceptor
  • JailbreakDetector protocol represents definition of JailbreakDetector which is used as individual analyzer to detect whether the device is Jailbroken or not. Each detector should analyze its logic to determine whether the device is suspicious to be Jailbroken or not, and returns the result score with maximum of 1.0

    See more

    Declaration

    Swift

    @objc
    public protocol JailbreakDetector