client

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package client (eap.client) provides interface to supported & registered EAP Authenticator Providers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToStr

func BytesToStr(b []byte) string

BytesToStr returns Go compatible byte slice string

func Handle

func Handle(msg *protos.Eap) (*protos.Eap, error)

Handle handles passed EAP payload & returns corresponding EAP result

func HandleIdentityResponse

func HandleIdentityResponse(providerType uint8, msg *protos.Eap) (*protos.Eap, error)

HandleIdentityResponse passes Identity EAP payload to corresponding method provider & returns corresponding EAP result NOTE: Identity Request is handled by APs & does not involve EAP Authenticator's support

func SupportedTypes

func SupportedTypes() []uint8

SupportedTypes returns sorted list (ascending, by type) of registered EAP Providers SupportedTypes makes copy of an internally maintained supported types list, so callers are advised to save the result locally and re-use it if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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