gentleman.v2: Index | Files

package auth

import ""


Package Files


func Basic Uses

func Basic(username, password string) p.Plugin

Basic defines an authorization basic header in the outgoing request

func Bearer Uses

func Bearer(token string) p.Plugin

Bearer defines an authorization bearer token header in the outgoing request

func Custom Uses

func Custom(value string) p.Plugin

Custom defines a custom authorization header field in the outgoing request

Package auth imports 2 packages (graph) and is imported by 1 packages. Updated 2020-02-19. Refresh now. Tools for package owners.