Difference between revisions of "JSON Web Token (JWT)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
[[wikipedia:JSON Web Token]] (2010)
 
[[wikipedia:JSON Web Token]] (2010)
* Structure: <code>[[Header]], [[Payload]], </code>
+
* Structure: <code>[[Header]], [[Payload]], [[Signature]] </code>
  
 
  Key - Description
 
  Key - Description

Revision as of 12:44, 6 October 2022

wikipedia:JSON Web Token (2010)

Key - Description
alg - The encryption algorithm you used to encrypt the token. APNs supports only the ES256 algorithm, so set the value of this key to ES256.
kid - The 10-character Key ID you obtained from your developer account; see Obtain an Encryption Key and Key ID from Apple.
iss - The issuer key, the value for which is the 10-character Team ID you use for developing your company’s apps. Obtain this value from your developer account.
iat - The “issued at” time, whose value indicates the time at which this JSON token was generated. Specify the value as the number of seconds since Epoch, in UTC. The value must be no more than one hour from the current time.

[1]

Related terms

See also

  • https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns
  • Advertising: