Pass::OTP::URI(3pm)
β¨ NAME β¨
Pass::OTP::URI β okay bestie, this lil module right here is your girl for parsing an otpauth:// URI π
that's literally the whole job description, no cap.
π SYNOPSIS π
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);
see how easy that is?? you pull in parse, hand it the URI, and it hands you back options π«Ά iconic behaviour honestly.
πΈ FUNCTIONS πΈ
parse($uri)β the one and only. give it your$uri, get stuff back. she's a one-trick pony and she ate π
π₯ SEE ALSO π₯
Pass::OTPβ the sibling module, go say hi π<https://github.com/google/google-authenticator/wiki/Key-Uri-Format>β the actual spec for theotpauth://format. if you're confused about anything, this is the wiki. iykyk πβ¨
π COPYRIGHT AND LICENSE π
Copyright (C) 2024 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.
so like, it's free software, pick your fave license of the two, both slay π
and that's the whole page, bestie!! this was perl v5.40.1, dated 2026-06-12. mwah, go parse something cute ππ¦π
π¦ where this page comes from
- ubuntu stonking: libpass-otp-perl 1.901-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms