Skip to main content

has_oauth_or_managed_auth

Function has_oauth_or_managed_auth 

Source
pub fn has_oauth_or_managed_auth(discovered: &[DiscoveredProvider]) -> bool
Expand description

Check whether any provider in the slice has an OAuth session or managed auth.

Used by secret-management UIs to decide whether to show the generic secret add/delete hints or the OAuth-specific login hint.