- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::oauth::Signature
::xo::oauth::Signature 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
::xotcl::Class create ::xo::oauth::Signature \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
base_string_from_url (scripted, public)
xo::oauth::Signature base_string_from_url uriThis 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.
set info [uri::split $uri] set base_string_uri [uri::join scheme [dict get $info scheme] host [dict get $info host] port [dict get $info port] path [dict get $info path]] return $base_string_uriMethods (to be applied on instances)
encode (scripted, public)
<instance of xo::oauth::Signature> encode s
- Parameters:
- s (required)
- See Also:
- Testcases:
- No testcase defined.
#return [::xowiki::utility urlencode $s] return [::xo::oauth::utility urlencode $s]Variables
::xo::oauth::Signature set __default_metaclass ::xotcl::Class ::xo::oauth::Signature set __default_superclass ::xotcl::Object
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables