digits

fun digits(digits: Int): S

Sets the digits query parameter, which is the length of the generated code.

This value is equivalent to the TimeBasedOneTimePasswordConfig.codeDigits and HmacOneTimePasswordConfig.codeDigits configuration.

The Google Authenticator may ignore this value and always uses 6.

This is an optional parameter.