RegistrationAttributes

public enum RegistrationAttributes : String

The enumerated type that provides constant values of the registration attributes.

Supported attributes

DeviceIdentifier An alphanumeric string that uniquely identifies a device to the app’s vendor.

DeviceName The name of the device.

DeviceType The type of the device.

OSVersion The version number of the operating system.

FingerprintSupport The flag to indicate if the device supports Fingerprint Manager or TouchId.

FingerprintEnrolled The flag to indicate the Fingerprint Manager or TouchId has been enrolled.

FrontCameraSupport The flag to indicate if the device has a front facing camera.

PushToken The unique identifier of the device for supporting push notification.

ApplicationIdentifier The bundler identifier of the application.

TenantIdentifier A client generated unique identifier to represent the tenant.

  • DeviceIdentifier An alphanumeric string that uniquely identifies a device to the app’s vendor.

    Declaration

    Swift

    case deviceIdentifier = "device_id"
  • DeviceName The name of the device.

    Declaration

    Swift

    case deviceName = "device_name"
  • DeviceType The type of the device.

    Declaration

    Swift

    case deviceType = "device_type"
  • OSVersion The version number of the operating system.

    Declaration

    Swift

    case osVersion = "os_version"
  • FingerprintSupport The flag to indicate if the device supports TouchId.

    Declaration

    Swift

    case fingerprintSupport = "fingerprint_support"
  • FingerprintEnrolled The flag to indicate the Fingerprint Manager or TouchId has been enrolled.

    Remark

    This value is dependant on FingerprintSupport evaluating to true.

    Declaration

    Swift

    case fingerprintEnrolled = "fingerprint_enrolled"
  • BiometryName is the friendly name of the support biometric sensor for the device.

    Declaration

    Swift

    case biometryName = "biometric_name"
  • FrontCameraSupport The flag to indicate if the device has a front facing camera.

    Declaration

    Swift

    case frontCameraSupport = "front_camera_support"
  • PushNotificationIdentifier The unique identifier of the device for supporting push notification.

    Declaration

    Swift

    case pushNotificationIdentifier = "push_token"
  • ApplicationIdentifier The bundler identifier of the application.

    Declaration

    Swift

    case applicationIdentifier = "application_id"
  • TenantIdentifier A client generated unique identifier to represent the tenant.

    Remark

    Ensure that unique tenant identifiers are provided in OAuth refresh operations.

    Declaration

    Swift

    case tenantIdentifier = "tenant_id"
  • Return the value representing the attribute.

    Declaration

    Swift

    public static func getAttributeValue(_ attribute: RegistrationAttributes) -> Any

    Parameters

    attribute

    The RegistrationAttributes enumerated type.

    Return Value

    Any object.

  • Return all the attribute values.

    Declaration

    Swift

    public static func getAllAttributeValues() -> [String : Any]

    Return Value

    A dictionary representing the attribute name and value.