The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::TypePad::RequestProperties - RequestProperties API methods

METHODS

get
  my $res = $tp->request_properties->get();

Retrieve some request properties. This can be useful for debugging authentication issues.

Returns RequestProperties which contains following properties.

userId

(string) The M<urlId> of the authenticated user for this request. Ommitted if there is no authenticated user.

applicationId

(string) The M<urlId> of the authenticated application for this request. Ommitted if there is no authenticated application.

apiKey

(string) The API key that was used for this request, if the request is using OAuth. Ommitted if the request is not using OAuth.

canModifyApplicationContent

(boolean) True if the caller for this request could modify content connected to the authenticated application, or false otherwise.

canModifyTypepadContent

(boolean) True if the caller for this request could modify content that is part of the main TypePad application, or false otherwise.

clientIsInternal

(boolean) True if this request came in on a channel that has access to internal-only API features.

remoteIpAddress

(string) The IP address of the requesting client, expressed in dotted-decimal notation.