Skip to content

Enumeration

JWTGeneratorError

Errors thrown by JWTGenerator before reaching the JWT-signing layer.

enum JWTGeneratorError

Topics

Enumeration Cases

  • case invalidKeyEncoding

    The private key data could not be decoded as UTF-8 PEM text.

  • case missingPEMHeader

    The data does not begin with a PEM header (-----BEGIN). Most likely cause: App Store Connect credentials are not configured (ASC_PRIVATE_KEY / ASC_PRIVATE_KEY_PATH not set or not exported).

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Error
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype