might actually happen?

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-14 02:00:20 +02:00
parent 767c0a8e45
commit 2bba0ddd74
15 changed files with 491 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package eap
type IdentityPayload struct {
Identity string
}
func (ip *IdentityPayload) Decode(raw []byte) error {
ip.Identity = string(raw)
return nil
}
func (ip *IdentityPayload) Encode() ([]byte, error) {
panic("Identity encode")
}