def generate_client_secret():
 client_secret_generator = oauth2_settings.CLIENT_SECRET_GENERATOR_CLASS()
 return client_secret_generator.hash()

def generate_client_secret ( ) : client_secret_generator = oauth2_settings . CLIENT_SECRET_GENERATOR_CLASS ( ) return client_secret_generator . hash ( )
generate a suitable client secret .