#NEWLINE# def prepare_refresh_body( self , body = '' , refresh_token = None , scope = None ) : #NEWLINE# #INDENT# 'Prepare an access token request, using a refresh token.\n\n        If the authorization server issued a refresh token to the client, the\n        client makes a refresh request to the token endpoint by adding the\n        following parameters using the "application/x-www-form-urlencoded"\n        format in the HTTP request entity-body:\n\n        grant_type\n                REQUIRED.  Value MUST be set to "refresh_token".\n        refresh_token\n                REQUIRED.  The refresh token issued to the client.\n        scope\n                OPTIONAL.  The scope of the access request as described by\n                Section 3.3.  The requested scope MUST NOT include any scope\n                not originally granted by the resource owner, and if omitted is\n                treated as equal to the scope originally granted by the\n                resource owner.\n        ' #NEWLINE# refresh_token = ( refresh_token or self . refresh_token ) #NEWLINE# return prepare_token_request ( 'refresh_token' , body = body , scope = scope , refresh_token = refresh_token )