Skip to content

Instance Method

generate(time:)

Generate the TOTP based on a time.
func generate(time: Date) -> String

Parameters

time

The time to generate the TOTP for.

Return Value

The generated TOTP as String.