ShazamKit JWT token generation.
ShazamKit uses JWT authentication similar to other Apple APIs. The JWT is used directly as the Bearer token in API requests.
Summary
Functions
Generate the ShazamKit access token.
Like access_token/1 but also returns the unix-epoch expiry time, for cache use.
Build and sign the ShazamKit JWT (ES256).
Types
@type jwt() :: String.t()
Functions
Generate the ShazamKit access token.
Like access_token/1 but also returns the unix-epoch expiry time, for cache use.
Build and sign the ShazamKit JWT (ES256).