Protocols

The following protocols are available globally.

  • Defines methods for communication with Box APIs

    See more

    Declaration

    Swift

    public protocol BoxClientProtocol : AnyObject
  • General BoxEnum protocol specifying response model enum behaviour

    See more

    Declaration

    Swift

    public protocol BoxEnum : QueryParameterConvertible, Decodable, Encodable, Equatable, LosslessStringConvertible
  • Defines main log destination behaviour

    See more

    Declaration

    Swift

    public protocol LogDestination
  • Defines methods for Token refreshing.

    See more

    Declaration

    Swift

    public protocol TokenRefreshing
  • Defines networking layer interface

    See more

    Declaration

    Swift

    public protocol NetworkAgentProtocol
  • Defines items convertible to query parameter

    See more

    Declaration

    Swift

    public protocol QueryParameterConvertible
  • Defines Box SDK model behavior

    See more

    Declaration

    Swift

    public protocol BoxModel
  • Box inner model

    Declaration

    Swift

    public protocol BoxInnerModel : Decodable, Encodable
  • Defines methods for managing session token.

    See more

    Declaration

    Swift

    public protocol SessionProtocol
  • Defines handler for expired token.

    See more

    Declaration

    Swift

    public protocol ExpiredTokenHandling
  • Defines an interface for managing token.

    See more

    Declaration

    Swift

    public protocol TokenStore