#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
pub mod access_scope;
pub mod authenticator;
pub mod bin_codec;
pub mod constants;
pub mod context;
pub mod internal_auth;
#[cfg(feature = "internal-auth-cache")]
pub mod internal_auth_cache;
pub mod internal_auth_config;
pub mod prelude;
pub mod shared_secret;
pub use access_scope::{
AccessScope, EmptyScopeConstraint, EqScopeFilter, InGroupScopeFilter,
InGroupSubtreeScopeFilter, InScopeFilter, InTenantSubtreeScopeFilter, ScopeConstraint,
ScopeFilter, ScopeValue, pep_properties,
};
pub use authenticator::{
AuthNError, BearerAuthenticator, DynBearerAuthenticator, DynInternalAuthenticator,
};
pub use context::{SecurityContext, SecurityContextBuildError};
pub use internal_auth::{
InternalAuthNError, InternalAuthenticator, InternalCredential, PeerAuthenticated,
PlatformAuthEnforced, PlatformIdentity, PlatformSecurityContext,
};
#[cfg(feature = "internal-auth-cache")]
pub use internal_auth_cache::{
CachingInternalAuthenticator, DEFAULT_TOKEN_REVIEW_CACHE_TTL, InvalidCacheTtl,
MAX_TOKEN_REVIEW_CACHE_TTL,
};
pub use internal_auth_config::{
BuiltAuthenticator, DEFAULT_INTERNAL_PEER_NAME, InternalAuthConfig, InvalidInternalAuth,
};
pub use shared_secret::{
InvalidSharedSecret, REDACTED_PLACEHOLDER, SharedSecretInternalAuthenticator,
};
pub use bin_codec::{
SECCTX_BIN_VERSION, SecCtxDecodeError, SecCtxEncodeError, decode_bin, encode_bin,
};