mirror of
https://github.com/zerotier/ratpack.git
synced 2026-05-22 16:27:23 -07:00
@@ -20,7 +20,7 @@ Here is an example which carries global _application state_ as an authentication
|
||||
use ratpack::prelude::*;
|
||||
|
||||
// We'll use authstate to (optionally) capture information about the token
|
||||
// being correct. if it is Some(true), tehe user was authed, if None, there was no
|
||||
// being correct. if it is Some(true), the user was authed, if None, there was no
|
||||
// authentication performed.
|
||||
#[derive(Clone)]
|
||||
struct AuthedState {
|
||||
|
||||
Reference in New Issue
Block a user