pub trait AuthHandlerFn: Fn(String) -> Result<String, Error> + 'static + Send + Sync { }
AuthHandlerFn is a function that takes a consent uri and returns an auth code