Package 

Enum AuthenticationFailedReason

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      INVALID_KEY_SIGNATURE_PAIR

      The Apptentive Key and Apptentive Signature fields do not match. Make sure you got them from the same app's Apptentive settings page.

      MISSING_APP_SIGNATURE

      The Apptentive Signature field was not specified during registration. You can get this from your app's Apptentive settings.

      MISSING_APP_KEY

      The Apptentive Key field was not specified during registration. You can get this from your app's Apptentive settings.

      REVOKED_TOKEN

      The JWT has been revoked. This happens after a successful logout. In such cases, you will need a new JWT to login.

      EXPIRED_TOKEN

      The expiration "exp" claim is expired. The "exp" claim is a UNIX timestamp in milliseconds. The JWT will receive this authentication failure when the "exp" time has elapsed.

      INVALID_SUB_CLAIM

      Internal use only.

      MISMATCHED_SUB_CLAIM

      The JWT "sub" claim does not match the one previously registered to the internal Apptentive conversation. Internal use only.

      MISSING_SUB_CLAIM

      There is no "sub" property in the JWT claims. The "sub" is required, and should be an immutable, unique id for your user.

      INVALID_TOKEN

      The token is not signed properly, or can't be decoded.

      MALFORMED_TOKEN

      The JWT structure is constructed improperly (missing a part, etc.)

      INVALID_ALGORITHM

      Currently only the HS512 signature algorithm is supported.

      UNKNOWN

      This should not happen.