Details
@objc(MoEngageJwtAuthenticationErrorDetails)
public final class Details : MoEngageAuthenticationError.Details
JWT Authentication Error Details.
This class contains JWT-specific error details that provide additional context about the authentication error.
-
The JWT error code indicating the type of failure.
Declaration
Swift
@objc public let code: Code -
The JWT token associated with the error.
This property contains the JWT token that was being processed when the error occurred. It can be used for debugging purposes or for token refresh scenarios.
Declaration
Swift
@objc public let token: String? -
The user identifier associated with the error.
This property contains the user identifier that was being processed when the error occurred. It can be used for debugging purposes or for user context validation.
Declaration
Swift
@objc public let identifier: String? -
JWT Authentication Error Codes.
This enum defines all possible JWT authentication error codes that can occur during token processing and validation. Each code represents a specific failure scenario with a unique integer value for easy identification.
See moreDeclaration
Swift
@objc(MoEngageJwtAuthenticationErrorDetailsCode) public enum Code : Int, RawRepresentable, CustomStringConvertible