fn create_oauth_field(
consumer_key: &str,
access_token: &str,
) -> BTreeMap<String, String>
Expand description
OAuth 1.0a 認証のための KeyValue セットを生成する。
oauth_signature フィールドはこれらを含むデータを元に計算する必要があるので まだ設定しない。 乱数による nonce やタイムスタンプが含まれるため、呼び出すたびに結果は変わる。
詳細: https://developer.twitter.com/en/docs/authentication/oauth-1-0a/authorizing-a-request