class ROTP::HOTP
def provisioning_uri(name = nil, initial_count = 0)
-
(String)- provisioning uri
Parameters:
-
initial_count(Integer) -- starting counter value, defaults to 0 -
name(String) -- of the account
def provisioning_uri(name = nil, initial_count = 0) OTP::URI.new(self, account_name: name || @name, counter: initial_count).to_s end