Struct oauthcli::OAuthAuthorizationHeaderBuilder [] [src]

pub struct OAuthAuthorizationHeaderBuilder<'a> { /* fields omitted */ }

Methods

impl<'a> OAuthAuthorizationHeaderBuilder<'a>
[src]

[src]

[src]

[src]

[src]

[src]

Sets a custom timestamp. If you don't call timestamp(), the current time will be used.

[src]

Sets a custom nonce. If you don't call nonce(), a random string will be used.

[src]

[src]

[src]

Sets the value that indicates whether the builder includes "oauth_version" parameter. The default is true.

[src]

Generate Authorization header for OAuth.

Panics

This function will panic if url is not valid for HTTP or HTTPS.

[src]

Generate Authorization header for Twitter.

Panics

This function will panic if url is not valid for HTTP or HTTPS.