[−][src]Function safe_authenticator::app_auth::app_state
pub async fn app_state<'_, '_, '_>(
client: &'_ AuthClient,
apps: &'_ Apps,
app_id: &'_ str
) -> Result<AppState, AuthError>
Return a current app state (Authenticated
if it has an entry
in the config file AND the access container, Revoked
if it has
an entry in the config but not in the access container, and NotAuthenticated
if it's not registered anywhere).