more debug tools

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-23 20:13:51 +02:00
parent 7c996d9d9d
commit 10fc15ffe0
8 changed files with 105 additions and 5 deletions

View File

@ -1,6 +1,10 @@
package legacy_nak
import "goauthentik.io/internal/outpost/radius/eap/protocol"
import (
"fmt"
"goauthentik.io/internal/outpost/radius/eap/protocol"
)
const TypeLegacyNAK protocol.Type = 3
@ -35,3 +39,10 @@ func (p *Payload) Handle(ctx protocol.Context) protocol.Payload {
func (p *Payload) Offerable() bool {
return false
}
func (p *Payload) String() string {
return fmt.Sprintf(
"<Legacy NAK Packet DesiredType=%d>",
p.DesiredType,
)
}