label
fun label( accountName: String, issuer: String?, encodeSeparator: Boolean = false): S
Content copied to clipboard
Sets the label path part of the URI, which consist of an account name and an optional issuer. Both values will be separated by a colon (:), which can be URL encoded by setting the parameter encodeSeparator.
The issuer is a provider or service to which the account name (for which the OTP code gets used) belongs to.
The issuer and account name will be URL encoded.
The OTP Auth URI specification recommends to always set this path part with both values. And if it is set, the issuer parameter should also be set.
This is an optional path part.