Builds the MAL refresh coordinator: the shared lifecycle bound to the
MAL_TOKEN_GRANT descriptor.
The coordinator runs MAL's refresh-token grant with the client ID (and
the client secret when the application requires one) through the shared
token transport; its sanitized error (an AniLinkApiError or
AniLinkNetworkError) is the error the awaiting caller catches. Grant
failures are reported under the malTokenRefresh hook name.
Builds the MAL refresh coordinator: the shared lifecycle bound to the MAL_TOKEN_GRANT descriptor.
The coordinator runs MAL's refresh-token grant with the client ID (and the client secret when the application requires one) through the shared token transport; its sanitized error (an
AniLinkApiErrororAniLinkNetworkError) is the error the awaiting caller catches. Grant failures are reported under themalTokenRefreshhook name.