pub struct ApiKeyPlugin { /* private fields */ }Expand description
API Key management plugin.
Implementations§
Source§impl ApiKeyPlugin
impl ApiKeyPlugin
Sourcepub async fn delete_all_expired_api_keys(
&self,
ctx: &AuthContext<impl AuthSchema>,
) -> DeleteExpiredApiKeysResponse
pub async fn delete_all_expired_api_keys( &self, ctx: &AuthContext<impl AuthSchema>, ) -> DeleteExpiredApiKeysResponse
Force cleanup across owners/configurations, updating the same global automatic-cleanup timestamp and awaiting deletion despite the throttle.
Source§impl ApiKeyPlugin
impl ApiKeyPlugin
Sourcepub fn verify_endpoint(
input: &ApiKeyVerificationInput,
) -> AuthResult<ServerEndpoint<ApiKeyVerificationOutput>>
pub fn verify_endpoint( input: &ApiKeyVerificationInput, ) -> AuthResult<ServerEndpoint<ApiKeyVerificationOutput>>
Verify and consume usage through the installed logical endpoint pipeline.
§Errors
Returns an error if input serialization fails.
pub const fn delete_all_expired_endpoint() -> ServerEndpoint<DeleteExpiredApiKeysResponse>
Sourcepub fn create_endpoint(
body: &CreateKeyRequest,
) -> AuthResult<ServerEndpoint<CreateKeyResponse>>
pub fn create_endpoint( body: &CreateKeyRequest, ) -> AuthResult<ServerEndpoint<CreateKeyResponse>>
Create a key through installed hooks and actual server/client context policy.
§Errors
Returns an error if input serialization fails.
Sourcepub fn update_endpoint(
body: &UpdateKeyRequest,
) -> AuthResult<ServerEndpoint<ApiKeyView>>
pub fn update_endpoint( body: &UpdateKeyRequest, ) -> AuthResult<ServerEndpoint<ApiKeyView>>
Update through installed hooks and owner checks after patched-body validation.
§Errors
Returns an error if input serialization fails.
Sourcepub fn get_endpoint(
query: &GetKeyQuery,
) -> AuthResult<ServerEndpoint<ApiKeyView>>
pub fn get_endpoint( query: &GetKeyQuery, ) -> AuthResult<ServerEndpoint<ApiKeyView>>
Read an owned key through installed hooks without exposing its secret.
§Errors
Returns an error if query serialization fails.
Sourcepub fn delete_endpoint(
body: &DeleteKeyRequest,
) -> AuthResult<ServerEndpoint<DeleteKeyResponse>>
pub fn delete_endpoint( body: &DeleteKeyRequest, ) -> AuthResult<ServerEndpoint<DeleteKeyResponse>>
Delete an owned key through installed hooks and authenticated policy.
§Errors
Returns an error if body serialization fails.
Sourcepub fn list_endpoint(
query: &ListKeysQuery,
) -> AuthResult<ServerEndpoint<ListKeysResponse>>
pub fn list_endpoint( query: &ListKeysQuery, ) -> AuthResult<ServerEndpoint<ListKeysResponse>>
List visible keys through installed hooks and authenticated ownership policy.
§Errors
Returns an error if query serialization fails.
Source§impl ApiKeyPlugin
impl ApiKeyPlugin
Sourcepub async fn create_key(
&self,
ctx: &AuthContext<impl AuthSchema>,
body: &CreateKeyRequest,
) -> AuthResult<CreateKeyResponse>
pub async fn create_key( &self, ctx: &AuthContext<impl AuthSchema>, body: &CreateKeyRequest, ) -> AuthResult<CreateKeyResponse>
Create a key on behalf of body.user_id from trusted server code.
Organization configurations still require the user’s organization permission.
§Errors
Returns errors from input validation, permission checks, or API-key storage.
Sourcepub async fn update_key(
&self,
ctx: &AuthContext<impl AuthSchema>,
body: &UpdateKeyRequest,
) -> AuthResult<ApiKeyView>
pub async fn update_key( &self, ctx: &AuthContext<impl AuthSchema>, body: &UpdateKeyRequest, ) -> AuthResult<ApiKeyView>
Update a key on behalf of body.user_id from trusted server code.
The caller must authorize access before invoking this server-only method.
§Errors
Returns errors from input validation, permission checks, or API-key storage.
Source§impl ApiKeyPlugin
impl ApiKeyPlugin
Sourcepub async fn verify_api_key(
&self,
input: &VerifyApiKey<'_>,
ctx: &AuthContext<impl AuthSchema>,
) -> Result<ApiKeyView, ApiKeyVerificationError>
pub async fn verify_api_key( &self, input: &VerifyApiKey<'_>, ctx: &AuthContext<impl AuthSchema>, ) -> Result<ApiKeyView, ApiKeyVerificationError>
Verify a machine credential without a user session or public HTTP endpoint.
A successful verification consumes quota and a rate-limit slot. Permissions and configuration mismatches do not consume usage. The returned key omits the plaintext credential and stored hash.
Without config_id, lookup uses the default configuration’s hashing
setting. Validation then uses the configuration that issued the key.
§Errors
Returns an error if verification hooks or storage operations fail.
Sourcepub async fn verify_api_key_with_request(
&self,
input: &VerifyApiKey<'_>,
request: &AuthRequest,
ctx: &AuthContext<impl AuthSchema>,
) -> Result<ApiKeyView, ApiKeyVerificationError>
pub async fn verify_api_key_with_request( &self, input: &VerifyApiKey<'_>, request: &AuthRequest, ctx: &AuthContext<impl AuthSchema>, ) -> Result<ApiKeyView, ApiKeyVerificationError>
Verify with the actual caller request available to trusted predicates.
This performs the same server-only verification operation as verify_api_key.
§Errors
Propagates verification-hook or storage errors for the supplied request.
Source§impl ApiKeyPlugin
impl ApiKeyPlugin
Sourcepub fn configuration(self, config: ApiKeyConfig) -> Self
pub fn configuration(self, config: ApiKeyConfig) -> Self
Register an additional named configuration.
Upstream allows several api-key configurations side by side, each with
its own config_id, ownership model and limits.
Source§impl ApiKeyPlugin
Builder for ApiKeyPlugin powered by the bon crate.
impl ApiKeyPlugin
Builder for ApiKeyPlugin powered by the bon crate.
Usage:
use alibi_plugins::api_key::{ApiKeyPlugin, RateLimitDefaults};
let plugin = ApiKeyPlugin::builder()
.key_length(48)
.prefix("ba_".to_string())
.enable_metadata(true)
.rate_limit(RateLimitDefaults { enabled: true, time_window: 60_000.0, max_requests: 5.0 })
.build();pub fn with_config(config: ApiKeyConfig) -> Self
pub fn builder() -> ApiKeyPluginBuilder
Trait Implementations§
Source§impl<S: AuthSchema> AuthPlugin<S> for ApiKeyPlugin
impl<S: AuthSchema> AuthPlugin<S> for ApiKeyPlugin
Source§fn on_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<AuthResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn on_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<AuthResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn static_openapi_metadata(&self) -> PluginOpenApiMetadata
fn static_openapi_metadata(&self) -> PluginOpenApiMetadata
Source§fn openapi_metadata(&self, ctx: &AuthInitContext<S>) -> PluginOpenApiMetadata
fn openapi_metadata(&self, ctx: &AuthInitContext<S>) -> PluginOpenApiMetadata
Source§fn on_init<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 mut AuthInitContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn on_init<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 mut AuthInitContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn server_endpoints(&self) -> Vec<EndpointDefinition>
fn server_endpoints(&self) -> Vec<EndpointDefinition>
Source§fn endpoint_hooks(&self) -> Vec<&dyn EndpointHook<S>>
fn endpoint_hooks(&self) -> Vec<&dyn EndpointHook<S>>
Source§fn validate_endpoint(
&self,
call: &EndpointCall,
_ctx: &AuthContext<S>,
) -> AuthResult<EndpointInput>
fn validate_endpoint( &self, call: &EndpointCall, _ctx: &AuthContext<S>, ) -> AuthResult<EndpointInput>
Source§fn on_endpoint<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
call: &'life1 EndpointCall,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<EndpointResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn on_endpoint<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
call: &'life1 EndpointCall,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<EndpointResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn before_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<BeforeRequestAction>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn before_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<BeforeRequestAction>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn rate_limits(&self) -> Vec<PluginRateLimit>
fn rate_limits(&self) -> Vec<PluginRateLimit>
Source§fn allowed_media_types(&self, _route: &AuthRoute) -> Vec<&'static str>
fn allowed_media_types(&self, _route: &AuthRoute) -> Vec<&'static str>
Source§fn origin_check_skip_paths(&self) -> Vec<&'static str>
fn origin_check_skip_paths(&self) -> Vec<&'static str>
Source§fn session_fields(&self) -> IndexMap<String, FieldConfig>
fn session_fields(&self) -> IndexMap<String, FieldConfig>
fn user_fields(&self) -> IndexMap<String, FieldConfig>
fn account_fields(&self) -> IndexMap<String, FieldConfig>
Source§fn on_http_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_http_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§fn on_http_request_action<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<HttpRequestAction>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_http_request_action<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<HttpRequestAction>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
on_http_request implementations. Request-local configuration has already
been resolved from the incoming request, matching the Source HTTP handler.Source§fn on_http_response<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
_response: &'life3 AuthResponse,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn on_http_response<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
_response: &'life3 AuthResponse,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Source§fn on_http_endpoint<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<HttpEndpointResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_http_endpoint<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 AuthRequest,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<Option<HttpEndpointResponse>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
on_request; plugins returning a native raw response can
override this method to bypass the endpoint after-hook pipeline.Source§fn after_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
response: AuthResponse,
) -> Pin<Box<dyn Future<Output = Result<AuthResponse, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn after_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_req: &'life1 AuthRequest,
_ctx: &'life2 AuthContext<S>,
response: AuthResponse,
) -> Pin<Box<dyn Future<Output = Result<AuthResponse, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§fn on_user_created<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_user: &'life1 <S as AuthSchema>::User,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_user_created<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_user: &'life1 <S as AuthSchema>::User,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§fn on_session_created<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_session: &'life1 <S as AuthSchema>::Session,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_session_created<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_session: &'life1 <S as AuthSchema>::Session,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§fn on_user_deleted<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_user_id: &'life1 str,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_user_deleted<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_user_id: &'life1 str,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§fn on_session_deleted<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_session_token: &'life1 str,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn on_session_deleted<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_session_token: &'life1 str,
_ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Source§impl Clone for ApiKeyPlugin
impl Clone for ApiKeyPlugin
Source§impl Debug for ApiKeyPlugin
impl Debug for ApiKeyPlugin
Source§impl<S: AuthSchema> EndpointHook<S> for ApiKeyPlugin
impl<S: AuthSchema> EndpointHook<S> for ApiKeyPlugin
Source§fn matches_before(
&self,
call: &EndpointCall,
ctx: &AuthContext<S>,
) -> AuthResult<bool>
fn matches_before( &self, call: &EndpointCall, ctx: &AuthContext<S>, ) -> AuthResult<bool>
Source§fn before<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
call: &'life1 EndpointCall,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<BeforeEndpointAction>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn before<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
call: &'life1 EndpointCall,
ctx: &'life2 AuthContext<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<BeforeEndpointAction>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn matches_after(
&self,
_call: &EndpointCall,
_ctx: &AuthContext<S>,
_response: &EndpointResponse,
) -> Result<bool, AuthError>
fn matches_after( &self, _call: &EndpointCall, _ctx: &AuthContext<S>, _response: &EndpointResponse, ) -> Result<bool, AuthError>
Source§fn after<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_call: &'life1 EndpointCall,
_ctx: &'life2 AuthContext<S>,
response: EndpointResponse,
) -> Pin<Box<dyn Future<Output = Result<EndpointResponse, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn after<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_call: &'life1 EndpointCall,
_ctx: &'life2 AuthContext<S>,
response: EndpointResponse,
) -> Pin<Box<dyn Future<Output = Result<EndpointResponse, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ApiKeyPlugin
impl !UnwindSafe for ApiKeyPlugin
impl Freeze for ApiKeyPlugin
impl Send for ApiKeyPlugin
impl Sync for ApiKeyPlugin
impl Unpin for ApiKeyPlugin
impl UnsafeUnpin for ApiKeyPlugin
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more