DOKK / manpages / debian 12 / libpass-otp-perl / Pass::OTP::URI.3pm.en
Pass::OTP::URI(3pm) User Contributed Perl Documentation Pass::OTP::URI(3pm)

Pass::OTP::URI - Parse otpauth:// URI

    use Pass::OTP::URI qw(parse);
    my $uri = "otpauth://totp/ACME:john.doe@email.com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME&digits=6";
    my %options = parse($uri);

Pass::OTP

<https://github.com/google/google-authenticator/wiki/Key-Uri-Format>

Copyright (C) 2020 Jan Baier

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See <http://dev.perl.org/licenses/> for more information.

2022-11-20 perl v5.36.0