%3 ::xotcl::Object ::xotcl::Object ::xo::oauth::Signature ::xo::oauth::Signature → base_string_from_url encode ::xo::oauth::Signature->::xotcl::Object

Class ::xo::oauth::Signature

::xo::oauth::Signature[i] create ... \
           [ -base_string_uri base_string_uri ] \
           [ -client_secret client_secret ] \
           [ -request_method (default "POST") ] \
           [ -signature_parameters signature_parameters ] \
           [ -token_secret (default "") ]

Documented Parameters:
protocol_parameters
Expects a list of key-value pairs representing parameters of different sources.
Defined in packages/xooauth/tcl/oauth-procs.tcl

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]

Methods (to be applied on the object)

  • base_string_from_url (scripted, public)

     xo::oauth::Signature[i] base_string_from_url uri

    This procedure transforms a given URL into a format that is conformant to "http://tools.ietf.org/html/rfc5849#section-3.4.1.2". Most importantly, it strips any query part from the URL.

    Parameters:
    uri

    Partial Call Graph (max 5 caller/called nodes):
    %3 uri::join uri::join uri::split uri::split xo::oauth::Signature proc base_string_from_url xo::oauth::Signature proc base_string_from_url xo::oauth::Signature proc base_string_from_url->uri::join xo::oauth::Signature proc base_string_from_url->uri::split

    Testcases:
    No testcase defined.

Methods (to be applied on instances)

  • encode (scripted, public)

     <instance of xo::oauth::Signature[i]> encode s
    Parameters:
    s
    See Also:

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.