Documentation ¶
Index ¶
- type HerokuSSHSessionOauthHandler
- func (h *HerokuSSHSessionOauthHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
- func (h *HerokuSSHSessionOauthHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
- func (h *HerokuSSHSessionOauthHandler) HandleUser(w http.ResponseWriter, r *http.Request)
- func (h *HerokuSSHSessionOauthHandler) SSHSessionCommandHandler(session ssh.Session, cmd *exec.Cmd) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HerokuSSHSessionOauthHandler ¶
type HerokuSSHSessionOauthHandler struct { ShellUrl string Tokens types.TokenStore OAuthConfig *oauth2.Config }
func NewHerokuSSHSessionOauthHandler ¶
func NewHerokuSSHSessionOauthHandler(shellUrl string) *HerokuSSHSessionOauthHandler
func (*HerokuSSHSessionOauthHandler) HandleAuth ¶
func (h *HerokuSSHSessionOauthHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
func (*HerokuSSHSessionOauthHandler) HandleAuthCallback ¶
func (h *HerokuSSHSessionOauthHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
func (*HerokuSSHSessionOauthHandler) HandleUser ¶
func (h *HerokuSSHSessionOauthHandler) HandleUser(w http.ResponseWriter, r *http.Request)
func (*HerokuSSHSessionOauthHandler) SSHSessionCommandHandler ¶
Click to show internal directories.
Click to hide internal directories.