Click or drag to resize

SecurityErrors Enumeration

Documentation home page
Security errors

Namespace:  Ricardo.Enums
Assembly:  Ricardo.Enums (in Ricardo.Enums.dll) Version: 1.1.15308.4 (1.1.15308.4)
Syntax
public enum SecurityErrors
Members
  Member nameValueDescription
UnknownProperty0 Use during API security process
CustomerNotArticleOwner1 the current customer can't act on the article as he's not the owner
CheckPasswordWrongPassword2 happens when the CheckPassword is used with a wrong password
CheckPasswordBlacklistedIp3 happens when the CheckPassword is used with a blacklisted IP
CheckPasswordBannedCustomer4 happens when the CheckPassword is used with a bannished Customer, additional info contains the date since when the user is bannished as Datetime
CheckPasswordClosedCustomer5 happens when the CheckPassword is used with a closed customer, additional info contains the date since when the user is closed as Datetime
LogAdminFailed6 Returned when admin login failed
TokenError7 Token error for API
TokenExpired8 Token expired for API
AnonymousNotAllowed9 Returned when an anonymous call is not allowed
TemporayCredentialExpired10 TemporayCredential expired for API
TemporayCredentialUnvalidated11 TemporayCredential unvalidated for API
SessionExpired12 Session expired
UpdatePasswordPolicyInvalid13 happens when the CustomerUpdatePassword is used with a password with invalid policy There must be at least 8 characters. At least 1 uppercase character. At least 1 non alpha numeric.
AFTokenError14 The Anti Forgery token error
UnknownPartnership15 Unknown partnership
CheckPasswordPendingEmailValidation16 User has not validated his email
ValidateCustomerAddressDisabled17 Validation of User Address is disabled
AccountBanned18 The account linked to the customer has been banned
AccountClosed19 The account linked to the customer has been closed
MethodNotAllowed20 The Partnership used is not allowed to use this method
CheckTokenUnknownToken21 When checking token validity, the token is unknown
CheckTokenTokenExpired22 When checking token validity, the token has expired
CheckTokenSessionExpired23 When checking token validity, the token's session has expired
CheckTokenWrongUser24 When checking token validity, the given token and userId do not match
EmptyCustomerIDDev25 The DEV customer identifier can't be empty or = 0
EmptyCustomerIDBeta26 The BETA customer identifier can't be empty or = 0
EmptyCustomerIDProd27 The PROD customer identifier can't be empty or = 0
EmptyNickname28 The Nick can't be empty
NotNullThirdPartyId29 The ThirdPartyId must be null if you set CreateThirdParty = true
EmptyThirdPartyName30 The ThirdPartyName can't be empty if you set CreateThirdParty = true
EmptyThirdPartyAddress31 The ThirdPartyAddress can't be empty if you set CreateThirdParty = true
EmptyThirdPartyMail32 The ThirdPartyMail can't be empty if you set CreateThirdParty = true
NullThirdPartyId33 The ThirdPartyId must be > 0 if you set CreateThirdParty = false
NotEmptyThirdPartyName34 The ThirdPartyName must be null (or empty) if you set CreateThirdParty = false
NotEmptyThirdPartyAddress35 The ThirdPartyAddress must be null (or empty) if you set CreateThirdParty = false
NotEmptyThirdPartyMail36 The ThirdPartyMail must be null (or empty) if you set CreateThirdParty = false
CustomerNotConcernedByTransaction37 the current customer can't act on the transaction as he's not concerned
UnknownNickname38 the nickname provided is unknown
UnknownCustomerId39 the customer id provided is unknown
CustomerIdAndNicknameDontMatch40 the customer id provided do not match the nickname
EmptyDEKey41 The DE Key is empty
EmptyDEPwd42 The DE Password is empty
EmptyDEDescription43 The DE description is empty
EmptyFRKey44 The FR Key is empty
EmptyFRPwd45 The 45 Password is empty
EmptyFRDescription46 The FR description is empty
DEAndFRIdAreEqual47 The DEId and FRId must be different
DEAndFRKeyAreEqual48 The KeyDE and KeyFR must be different
PartnershipMustBeAtLeastDEorFR49 You must select at least PartnershipDE or PartnershipFR
IncorrectDEId50 The PartnershipDEId is incorrect (null or < 1000)
IncorrectFRId51 The PartnershipFRId is incorrect (null or < 1000)
CustomerNotAdmin52 The customer logged is not admin
WebSessionExpired53 The web session associated to the given GUID has expired.
InvalidSession54 The session is invalid.
IncorrectGuid55 Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
HeaderUserNameMissing56 The header Ricardo-Username is missing in the API Request
TokenAndNickMismatched57 The token and the nick provided don't match.
Auth0Error58 We received an unhandled exception from auth during login.
TooManyAttempts59 Too many logins with the same username or email.
MissingPartnershipKey60 Http header 'Ricardo-PartnershipKey' is mandatory for authentication using jwt
InvalidPartnershipKey61 The header 'Ricardo-PartnershipKey' must contain a GUID
InvalidJwt62 The JWT provided is invalid
See Also