Services_OpenStreetMap
[ class tree: Services_OpenStreetMap ] [ index: Services_OpenStreetMap ] [ all elements ]

Class: Services_OpenStreetMap_OAuthHelper

Source Location: /Services_OpenStreetMap-1.0.0RC2/Services/OpenStreetMap/OAuthHelper.php

Class Overview


Services_OpenStreetMap_OAuthHelper


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 24]
Services_OpenStreetMap_OAuthHelper


[ Top ]


Method Detail

assocArrayToString   [line 82]

string|bool assocArrayToString( array $arr, [string $glue = '='], [string $sep = '&'], [string $wrap = ''])

Convert associative array to a string
  • Access: public

Parameters:

array   $arr   —  Array to convert
string   $glue   —  Glue character
string   $sep   —  Value separator
string   $wrap   —  What to wrap the value with

[ Top ]

getOauthNonce   [line 41]

string getOauthNonce( )

Return an oauth nonce
  • Access: public

[ Top ]

getOauthSignature   [line 67]

string getOauthSignature( string $key, mixed $data)

Return a raw url encoded HMAC SHA1 signature for specified key and value/data.
  • Access: public

Parameters:

string   $key   —  Key
mixed   $data   —  Value/Data

[ Top ]

getOauthTimestamp   [line 31]

int getOauthTimestamp( )

Return time-stamp for oauth use
  • Access: public

[ Top ]


Documentation generated on Tue, 28 May 2019 19:19:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.