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: 6 Imported by: 0

Documentation

Overview

Package client provides a thin API client for communicating with AAA Server. This can be used by apps to discover and contact the service, without knowing about the underlying RPC implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

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

Handle handles passed EAP payload & returns corresponding EAP result

func HandleIdentity

func HandleIdentity(in *protos.EapIdentity) (*protos.Eap, error)

HandleIdentity 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 InterimUpdate

func InterimUpdate(ur *protos.UpdateRequest) (*protos.AcctResp, error)

Acct-Status-Type Stop

func Start

func Start(aaaCtx *protos.Context) (*protos.AcctResp, error)

Start implements Radius Acct-Status-Type: Start endpoint

func Stop

func Stop(req *protos.StopRequest) (*protos.AcctResp, error)

Stop implements Radius Acct-Status-Type: Stop endpoint

func SupportedMethods

func SupportedMethods() (*protos.EapMethodList, error)

SupportedMethods returns sorted list (ascending, by type) of registered EAP Provider Methods

Types

This section is empty.

Jump to

Keyboard shortcuts

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