account

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProfile

func GetProfile(w http.ResponseWriter, r *http.Request)

func PostLogin

func PostLogin(w http.ResponseWriter, r *http.Request)

func RefreshTokenHandler

func RefreshTokenHandler(w http.ResponseWriter, r *http.Request)

*

  • API endpoint used to refresh the access token given a valid refresh token
  • is inputted by the user.

Types

type TokenRequest

type TokenRequest struct {
	RefreshToken string `json:"refresh_token,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL