Enumerations

The following enumerations are available globally.

  • NetworkError represents an error captured by FRCore SDK during REST API

    • apiFailedWithError: Generic API request failure with error details from server side
    • authenticationTimeout: Authentication session is timed out
    • invalidCredentials: Authentication failed with invalid user credentials
    • invalidResponseDataType: Invalid response data was received and the response data could not be serialized
    • requestFailWithError: API request failed with unknown server side error
    • invalidRequest: Invalid request is provided to the client, and failed to generate URLRequest object
    See more

    Declaration

    Swift

    public enum NetworkError : FRError
    extension NetworkError: CustomNSError
  • SecurityError represents an error captured by FRCore SDK’s security operations

    See more

    Declaration

    Swift

    public enum SecurityError : FRError
    extension SecurityError: CustomNSError
  • KeychainAccessibility represents Accessibility value for Keychain Service

    See more

    Declaration

    Swift

    public enum KeychainAccessibility : String
  • ActionType in enumeration string

    See more

    Declaration

    Swift

    public enum ActionType : String
  • This enumeration is a representation for FRAuth’s API result

    • success: request successfully completed with its response data, and URLResponse object
    • failure: request failed with an error
    See more

    Declaration

    Swift

    public enum Result