github.com/sap/cf-mta-plugin@v2.6.3+incompatible/clients/csrf/csrf_token_fetcher.go (about)

     1  package csrf
     2  
     3  import (
     4  	"net/http"
     5  
     6  	"github.com/cloudfoundry-incubator/multiapps-cli-plugin/clients/csrf/csrf_parameters"
     7  )
     8  
     9  type CsrfTokenFetcher interface {
    10  	FetchCsrfToken(url string, currentRequest *http.Request) (*csrf_parameters.CsrfRequestHeader, error)
    11  }