args

package
v0.0.0-...-aa4767a Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseArgs

func ParseArgs(zc common.ZAuthCommonComp) error

Types

type AlgorithmReader

type AlgorithmReader interface {
	ReadAlgorithm(common.ZAuthCommonComp) (string, error)
}

type CounterReader

type CounterReader interface {
	ReadCounter(common.ZAuthCommonComp) (int64, error)
}

type DigitsReader

type DigitsReader interface {
	ReadDigits(common.ZAuthCommonComp) (int, error)
}

type IdentifierReader

type IdentifierReader interface {
	ReadIdentifier(common.ZAuthCommonComp) (string, error)
}

type IssuerReader

type IssuerReader interface {
	ReadIssuer(common.ZAuthCommonComp) (string, error)
}

type PeriodReader

type PeriodReader interface {
	ReadPeriod(common.ZAuthCommonComp) (int64, error)
}

type SecretReader

type SecretReader interface {
	ReadSecret(common.ZAuthCommonComp) (string, error)
}

type TypeReader

type TypeReader interface {
	ReadType(common.ZAuthCommonComp) (string, error)
}

type ZAuthArgsEntry

type ZAuthArgsEntry struct{}

func (*ZAuthArgsEntry) ReadAlgorithm

func (za *ZAuthArgsEntry) ReadAlgorithm(zc common.ZAuthCommonComp) (string, error)

func (*ZAuthArgsEntry) ReadCounter

func (za *ZAuthArgsEntry) ReadCounter(zc common.ZAuthCommonComp) (int64, error)

func (*ZAuthArgsEntry) ReadDigits

func (za *ZAuthArgsEntry) ReadDigits(zc common.ZAuthCommonComp) (int, error)

func (*ZAuthArgsEntry) ReadIdentifier

func (za *ZAuthArgsEntry) ReadIdentifier(zc common.ZAuthCommonComp) (string, error)

func (*ZAuthArgsEntry) ReadIssuer

func (za *ZAuthArgsEntry) ReadIssuer(zc common.ZAuthCommonComp) (string, error)

func (*ZAuthArgsEntry) ReadPeriod

func (za *ZAuthArgsEntry) ReadPeriod(zc common.ZAuthCommonComp) (int64, error)

func (*ZAuthArgsEntry) ReadSecret

func (za *ZAuthArgsEntry) ReadSecret(zc common.ZAuthCommonComp) (string, error)

func (*ZAuthArgsEntry) ReadType

func (za *ZAuthArgsEntry) ReadType(zc common.ZAuthCommonComp) (string, error)

Jump to

Keyboard shortcuts

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