Module base

Source
Expand description

Base One-Time Password (OTP) functionality.

Structs§

Base
Represents OTP base configuration.
BaseBuilder
Use builder syntax to set the inputs and finish with build().
Errorauth
Represents errors that can occur when extracting the base from OTP URLs.
SecretNotFoundErrorauth
Represents errors returned when the secret is not found in the OTP URL.

Enums§

ErrorSourceauth
Represents sources of errors that can occur when extracting base configurations from OTP URLs.

Constants§

ALGORITHMauth
The algorithm literal.
DIGITSauth
The digits literal.
HALF_BYTE
The half byte to extract the offset.
MASK
The mask used to extract relevant bits.
SECRETauth
The secret literal.

Type Aliases§

Owned
Represents owned Base.