heroku

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal added in v0.0.3

func Equal(a, b []string) bool

Types

type HerokuSSHSessionOauthHandler

type HerokuSSHSessionOauthHandler struct {
	ShellUrl    string
	Tokens      types.TokenStore
	OAuthConfig *oauth2.Config
	// contains filtered or unexported fields
}

func NewHerokuSSHSessionOauthHandler

func NewHerokuSSHSessionOauthHandler(shellUrl string, defaultCommand []string) *HerokuSSHSessionOauthHandler

func (*HerokuSSHSessionOauthHandler) DefaultCommand added in v0.0.3

func (h *HerokuSSHSessionOauthHandler) DefaultCommand() []string

func (*HerokuSSHSessionOauthHandler) GetCachedToken added in v0.0.5

func (h *HerokuSSHSessionOauthHandler) GetCachedToken(session ssh.Session) string

func (*HerokuSSHSessionOauthHandler) HandleAuth

func (*HerokuSSHSessionOauthHandler) HandleAuthCallback

func (h *HerokuSSHSessionOauthHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)

func (*HerokuSSHSessionOauthHandler) HandleUser

func (*HerokuSSHSessionOauthHandler) ObtainToken added in v0.0.5

func (h *HerokuSSHSessionOauthHandler) ObtainToken(session ssh.Session) (string, error)

func (*HerokuSSHSessionOauthHandler) SSHSessionCommandHandler

func (h *HerokuSSHSessionOauthHandler) SSHSessionCommandHandler(session ssh.Session, cmd *exec.Cmd) (err error)

func (*HerokuSSHSessionOauthHandler) SessionHandler added in v0.0.4

func (h *HerokuSSHSessionOauthHandler) SessionHandler(session ssh.Session)

Jump to

Keyboard shortcuts

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