Documentation ¶ Index ¶ Constants type Refresh func (h Refresh) Authenticate(requestToAuth *http.Request) (bool, error) Constants ¶ View Source const Backend = "refresh" Backend name Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Refresh ¶ type Refresh struct { // contains filtered or unexported fields } Refresh backend provides authentication against a refresh token endpoint. If the refresh request returns a http 200 status code then the user is considered logged in. func (Refresh) Authenticate ¶ func (h Refresh) Authenticate(requestToAuth *http.Request) (bool, error) Authenticate fulfils the backend interface Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.