Skip to main content

render_sso_options

Function render_sso_options 

Source
fn render_sso_options<'a, I>(
    heading: &str,
    context: Flow<'_>,
    providers: I,
) -> String
where I: IntoIterator<Item = (&'a str, &'a str)>,
Expand description

List each provider as a link that preserves the authentication flow.

Names are HTML-escaped with braces encoded too, since the result is filled in before the error and context placeholders.