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 "") ]

Defined in

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 (required)

    Testcases:
    No testcase defined.

Methods (to be applied on instances)

  • base_string_uri (setter)

  • client_secret (setter)

  • construct_base_string (scripted)

  • encode (scripted, public)

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

    Testcases:
    No testcase defined.
  • generate (scripted)

  • normalize_parameters (scripted)

  • request_method (setter)

  • signature_parameters (setter)

  • token_secret (setter)

Variables

::xo::oauth::Signature set __default_metaclass ::xotcl::Class
::xo::oauth::Signature set __default_superclass ::xotcl::Object