Skip to main content

ModularAuthFramework

Type Alias ModularAuthFramework 

Source
pub type ModularAuthFramework = AuthFramework;
๐Ÿ‘ŽDeprecated since 0.6.0:

removed in 0.7.0: use AuthFramework, or auth_framework::auth_modular::AuthFramework by path

Expand description

Deprecated alias of auth_modular::AuthFramework; removed in 0.7.0.

Use AuthFramework (see COMPATIBILITY.md), or name auth_framework::auth_modular::AuthFramework by path if you need manager-level access.

โ“˜
#![deny(deprecated)]
use auth_framework::ModularAuthFramework;
fn takes(_: Option<ModularAuthFramework>) {}

The same code compiles once the warning is allowed (control):

#![allow(deprecated)]
use auth_framework::ModularAuthFramework;
fn takes(_: Option<ModularAuthFramework>) {}

Aliased Typeยง

pub struct ModularAuthFramework { /* private fields */ }