'Exchange a scoped token for a SAML assertion.
:param auth: Dictionary that contains a token and service provider ID
:returns: SAML Assertion based on properties from the token'

def create_saml_assertion(self, request, auth):

    validation.lazy_validate(schema.saml_create, auth)
    t = self._create_base_saml_assertion(request.context_dict, auth)
    (response, service_provider) = t
    headers = self._build_response_headers(service_provider)
    return wsgi.render_response(body=response.to_string(), status=(http_client.OK, http_client.responses[http_client.OK]), headers=headers)
