mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 05:07:33 +00:00
ssh/tailssh: do the full auth flow during ssh auth
Fixes #5091 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
@@ -38,6 +38,10 @@ type Handler func(Session)
|
||||
// PublicKeyHandler is a callback for performing public key authentication.
|
||||
type PublicKeyHandler func(ctx Context, key PublicKey) error
|
||||
|
||||
type NoClientAuthHandler func(ctx Context) error
|
||||
|
||||
type BannerHandler func(ctx Context) string
|
||||
|
||||
// PasswordHandler is a callback for performing password authentication.
|
||||
type PasswordHandler func(ctx Context, password string) bool
|
||||
|
||||
|
Reference in New Issue
Block a user