Documentation ¶
Index ¶
- type OauthController
- func (oC *OauthController) Authorize(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (oC *OauthController) GetRoutes() []*routes.WebRoute
- func (oC *OauthController) Info(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (oC *OauthController) Token(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OauthController ¶
type OauthController struct { controllers.JsonController NatsCon *natsio.Nats NatsRequestTimeout time.Duration Server *osin.Server }
func NewOauthController ¶
func NewOauthController(natsCon *natsio.Nats, server *osin.Server) *OauthController
func (*OauthController) Authorize ¶
func (oC *OauthController) Authorize(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*OauthController) GetRoutes ¶
func (oC *OauthController) GetRoutes() []*routes.WebRoute
func (*OauthController) Info ¶
func (oC *OauthController) Info(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*OauthController) Token ¶
func (oC *OauthController) Token(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Click to show internal directories.
Click to hide internal directories.