Function oauth2::syntax::valid_grant_name_str [] [src]

pub fn valid_grant_name_str<'a>(grant_type: &'a str) -> bool

grant_type may also be a URI. This only checks grant_name variants