otel-arrow-dfe-engine 0.61.0

Async pipeline engine
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

//! Shared auth data types.
//!
//! The credential ([`BearerToken`]) and the scheme-agnostic authorization
//! outcome vocabulary ([`AuthorizedIdentity`], [`AuthzDecision`],
//! [`DenyReason`]) exchanged by the auth capabilities, one type per file. The
//! submodules are private; each type is re-exported here and again from
//! [`super`], so consumers reach them at `capability::auth::<Type>`.

mod api_key;
mod authorized_identity;
mod authz_decision;
mod basic_auth_credential;
mod bearer_token;
mod deny_reason;
mod sasl_credential;

pub use api_key::{ApiKey, ApiKeyAttributeError, ApiKeyAttributes};
pub use authorized_identity::{AuthorizedIdentity, ClaimValue};
pub use authz_decision::AuthzDecision;
pub use basic_auth_credential::{BasicAuthCredential, BasicAuthCredentialError};
pub use bearer_token::BearerToken;
pub use deny_reason::DenyReason;
pub use sasl_credential::{SaslCredential, SaslCredentialError};