might actually happen?
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
14
internal/outpost/radius/eap/payload_identity.go
Normal file
14
internal/outpost/radius/eap/payload_identity.go
Normal 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")
|
||||
}
|
Reference in New Issue
Block a user