Struct swagger::auth::AllowAllMiddleware [] [src]

pub struct AllowAllMiddleware(_);

Dummy implementation of an Iron middleware to insert authorization data, allowing all access to an endpoint with the subject "alice".

Methods

impl AllowAllMiddleware
[src]

[src]

Create a middleware that authorizes with the configured subject.

Trait Implementations

impl Debug for AllowAllMiddleware
[src]

[src]

Formats the value using the given formatter.

impl BeforeMiddleware for AllowAllMiddleware
[src]

[src]

Do whatever work this middleware should do with a Request object.

[src]

Respond to an error thrown by a previous BeforeMiddleware. Read more