Module core

Source
Available on crate feature auth only.
Expand description

Core functionality for authentication.

Structs§

Auth
Represents OTP authentication.
AuthBuilder
Use builder syntax to set the inputs and finish with build().
Error
Represents errors that can occur when parsing OTP URLs.

Enums§

ErrorSource
Represents sources of errors that can occur when parsing OTP URLs.

Constants§

BASE_URL_ALWAYS_VALID
Base OTP URL is always valid.
SCHEME
The scheme of OTP URLs.

Type Aliases§

Owned
Represents owned Auth.
OwnedParts
Represents owned Parts.
Parts
Represents (otp, label) parts of the authentication.