Documentation ¶
Index ¶
- func ParseArgs(zc common.ZAuthCommonComp) error
- type AlgorithmReader
- type CounterReader
- type DigitsReader
- type IdentifierReader
- type IssuerReader
- type PeriodReader
- type SecretReader
- type TypeReader
- type ZAuthArgsEntry
- func (za *ZAuthArgsEntry) ReadAlgorithm(zc common.ZAuthCommonComp) (string, error)
- func (za *ZAuthArgsEntry) ReadCounter(zc common.ZAuthCommonComp) (int64, error)
- func (za *ZAuthArgsEntry) ReadDigits(zc common.ZAuthCommonComp) (int, error)
- func (za *ZAuthArgsEntry) ReadIdentifier(zc common.ZAuthCommonComp) (string, error)
- func (za *ZAuthArgsEntry) ReadIssuer(zc common.ZAuthCommonComp) (string, error)
- func (za *ZAuthArgsEntry) ReadPeriod(zc common.ZAuthCommonComp) (int64, error)
- func (za *ZAuthArgsEntry) ReadSecret(zc common.ZAuthCommonComp) (string, error)
- func (za *ZAuthArgsEntry) ReadType(zc common.ZAuthCommonComp) (string, error)
- type ZAuthArgsEntryInput
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)
type ZAuthArgsEntryInput ¶
type ZAuthArgsEntryInput interface { SecretReader PeriodReader CounterReader AlgorithmReader DigitsReader TypeReader IdentifierReader IssuerReader }
Click to show internal directories.
Click to hide internal directories.