# actix_identity::config - Rust
Configuration options to tune the behaviour of [`IdentityMiddleware`].
Keywords: rust, rustlang, rust-lang, config

# Module actix_identity::config

source · [−]
Expand description

Configuration options to tune the behaviour of `IdentityMiddleware`.

## Structs

IdentityMiddlewareBuilder

A fluent builder to construct an `IdentityMiddleware` instance with custom configuration parameters.

## Enums

LogoutBehaviour

`LogoutBehaviour` controls what actions are going to be performed when `Identity::logout` is invoked.