addCredentialFromUri

Creates an OATH Credential from a standard otpauth:// URI (typically from a QR code).

Return

A Result containing the created OathCredential or an Exception in case of failure.

Parameters

uri

The URI string in the format otpauth://totp/issuer:accountName?secret=SECRET&issuer=issuer&algorithm=SHA1&digits=6&period=30