Skip to main content

render_login_qr

Function render_login_qr 

Source
pub fn render_login_qr(url: &str, style: QrStyle) -> Option<String>
Expand description

Render url as a multi-line QR string. Returns None only when QR encoding itself fails (URL exceeds version 40 capacity ~4 KB — never the case for OAuth URLs in practice).