# Functions
DecodeMarketplaceTokenFromResponse decodes the bearer token and the expiration timestamp from the received response.
GetMarketplaceTokenCacherWithTenantId is the default implementation which returns a default "TokenCacher" instance, which is used in the main application.
GetMarketplaceTokenProviderWithApiKey is the default implementation which returns a default "TokenProvider" instance, which is used in the main application.
SetMarketplaceTokenAuthExtraField tries to put the marketplace token as a JSON string in the "auth.Extra" field only if the provided authentication is of the type "marketplace".
# Variables
GetMarketplaceTokenCacher stores a function that returns a TokenCacher.
GetMarketplaceTokenProvider stores a function that retunrs a TokenProvider.
# Structs
BearerToken represents the bearer token sent by the marketplace, and includes the Unix timestamp of the time when it expires.
MarketplaceTokenCacher is an struct which implements the "TokenCacher" interface.
MarketplaceTokenProvider is a type that satisfies the "TokenProvider" interface.