Possible errors thrown by the customer's device.
The device may return various errors as listed in the following tables. All errors in the tables are from the
Missing Token or Missing Code.
Thrown when the authentication plugin cannot retrieve a token or a code from the redirect URL.
Empty data received when exchanging token.
Thrown when the authentication plugin receives an empty response when exchanging the code for a token.
Missing access token from response.
Thrown when the authentication plugin receives a valid response, but the response is missing access_token from the JSON body.
Empty string received for key.
Thrown when the cryptor is given an empty public key.
Key is not UTF-8.
Thrown when the cryptor Base64-decodes the public key and fails because the encoding is not UTF-8.
Public key is invalid.
Thrown when the cryptor fails to validate the key against SecKeyAlgorith.eciesEnCryptionCofactorVariableVX963SHA256AESGCM.
Failed adding key.
Failed reading key.
Failed deleting key.
Thrown when the cryptor cannot complete the given task due to an internal error.
Unable to encrypt token.
Thrown when the cryptor fails to encrypt a given payload using the provided public key.