OAuthConfig
Configuration Object for OAuth.
Methods
consumerKey
consumerKey(
pConsumerKey):OAuthConfig
Sets the consumer key.
Parameters
string | number | booleanthe consumer key
Returns
OAuthConfigOAuthConfig
consumerSecret
consumerSecret(
pConsumerSecret):OAuthConfig
Sets the consumer secret.
Parameters
string | number | booleanthe consumer secret
Returns
OAuthConfigOAuthConfig
getConsumerKey
getConsumerKey():
string
Returns the consumer key.
Returns
stringthe consumer key
getConsumerSecret
getConsumerSecret():
string
Returns the consumer secret.
Returns
stringthe consumer secret
getNonce
getNonce():
string
Returns the nonce.
Returns
stringthe nonce
getRealm
getRealm():
string
Returns the authorization realm.
Returns
stringthe realm
getSignatureMethod
getSignatureMethod():
string
Returns the signature method.
Returns
stringthe signature method
getTimeStamp
getTimeStamp():
string
Returns the timestamp.
Returns
stringtimestamp
getToken
getToken():
string
Returns the OAuth token.
Returns
stringthe token
getTokenSecret
getTokenSecret():
string
Returns the toke secret.
Returns
stringthe toke secret
getVersion
getVersion():
string
Returns the version.
Returns
stringthe version
nonce
nonce(
pNonce):OAuthConfig
Sets the nonce.
Parameters
string | number | booleanthe nonce
Returns
OAuthConfigOAuthConfig
realm
realm(
pRealm):OAuthConfig
Sets the authorization realm.
Parameters
string | number | booleanthe realm
Returns
OAuthConfigOAuthConfig
signatureMethod
signatureMethod(
pSignatureMethod):OAuthConfig
Sets the signature method.
Parameters
string | number | booleanthe signature method.
Returns
OAuthConfigOAuthConfig
timeStamp
timeStamp(
pTimeStamp):OAuthConfig
Sets the timestamp.
Parameters
string | number | booleanthe timestamp
Returns
OAuthConfigOAuthConfig
token
token(
pToken):OAuthConfig
Sets the OAuth token.
Parameters
string | number | booleanthe token
Returns
OAuthConfigOAuthConfig
tokenSecret
tokenSecret(
pTokenSecret):OAuthConfig
Sets the token secret.
Parameters
string | number | booleanthe token secret
Returns
OAuthConfigOAuthConfig
version
version(
pVersion):OAuthConfig
Sets the version.
Parameters
string | number | booleanthe version
Returns
OAuthConfigOAuthConfig