[docs]asyncdefrefresh_token(self):""" Following the specification, the token response for the client credentials grant SHOULD NOT include a refresh token. The client credentials grant should be used to get a new access token when the previous one has expired. https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.3 Some clients may issue a refresh token for the client credentials flow, even though it is not correct according to the specification. In this case, the refresh token will be used to obtain a new access token. """if"refresh_token"inself.token:# use refresh token when it is availableawaitsuper().refresh_token()# just get a new token using the client credentialsawaitself.fetch_token()