---
name: "Pass::OTP::URI"
section: "3pm"
platform: "linux"
package: "libpass-otp-perl"
version: "1.801-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Pass::OTP::URI"
---

# Pass::OTP::URI(3pm)

Parse otpauth:// URI

## NAME

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

## 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);
```

## FUNCTIONS

- parse($uri)

  ## SEE ALSO

Pass::OTP

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

## 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.
