parse
Parse an OATH URI string into an OathCredential. Format: otpauth://totp/Issuer:AccountName?secret=SECRET&issuer=Issuer&algorithm=SHA1&digits=6&period=30 Format: otpauth://hotp/Issuer:AccountName?secret=SECRET&issuer=Issuer&algorithm=SHA1&digits=6&counter=0
Return
An OathCredential.
Parameters
uri
The URI string.
Throws
if the URI is invalid.