TOTP

A time based one time password (OTP)

OTP.swift:155
struct TOTP

A TOTP uses UNIX time ie the number of seconds since 1970 divided by a time step (normally 30 seconds) as the counter in the OTP computation. This means each password is only ever valid for the timeStep and a new password will be generated after that period.