'Receive authorization token.'

@callback
def get(self, request):

    hass = request.app['hass']
    self.oauth.get_access_token(request.query['code'])
    hass.async_add_job(setup_platform, hass, self.config, self.add_devices)
