The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Solstice::Controller::Application::REST - The Application controller for the REST 'cgi'.

SYNOPSIS

my $rest = Solstice::Controller::Application::REST->new();
my $is_valid = $rest->isValidServiceRequest($service_name);
my $has_access = $rest->hasServiceAccess($service_name, $consumer_private_key);

my $requires_user_auth = $rest->requiresUserAuth($service_name);
my $has_user_auth = $rest->hasUserAuth($service_name, $consumer_private_key, $person_id);
my $response = $rest->getResponseData();

DESCRIPTION

This process all requests to Solstice REST web services.

Export

None by default.

Methods

new

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.