ClientId is the identifier of your app (aka. Service ID).
Duration specifies how long the generated JWT should be considered valid. The specified value must be in seconds and max 15777000 (~6months).
KeyId is a 10-character key identifier generated for the "Sign in with Apple" private key associated with your developer account.
PrivateKey is the private key associated to your app. Usually wrapped within -----BEGIN PRIVATE KEY----- X -----END PRIVATE KEY-----.
TeamId is a 10-character string associated with your developer account (usually could be found next to your name in the Apple Developer site).
Generated using TypeDoc
AppleClientSecretCreate is a form struct to generate a new Apple Client Secret.
Reference: https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens