NAME
OpenFrame::WebApp::Segment::User::RequestLoader - a pipeline segment to load users from requests
SYNOPSIS
# see OpenFrame::WebApp::Segment::User::Loader for usage
# get id from request param: http://123.com/?user_id=id
$OpenFrame::WebApp::Segment::User::RequestLoader::USER_KEY = 'user_id';
DESCRIPTION
The OpenFrame::WebApp::Segment::User::RequestLoader
class is a user loader that gets user id's from the OpenFrame::Request
object in store. It inherits its interface from OpenFrame::WebApp::Segment::User::Loader
.
METHODS
- $id = $obj->find_user_id()
-
finds user id.
- $id = $obj->look_in_request()
-
gets user id from
OpenFrame::Request
argument named $USER_KEY.
AUTHOR
Steve Purkis <spurkis@epn.nu>
COPYRIGHT
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.
SEE ALSO
OpenFrame::WebApp::User, OpenFrame::WebApp::User::Factory OpenFrame::WebApp::Segment::User::Loader