Skip to content

Instantly share code, notes, and snippets.

View CosminMihuMDC's full-sized avatar

Cosmin Mihu CosminMihuMDC

View GitHub Profile
@CosminMihuMDC
CosminMihuMDC / Oauth1SigningInterceptor.java
Last active April 19, 2019 09:33 — forked from JakeWharton/Oauth1SigningInterceptor.java
An OkHttp interceptor which does OAuth1 signing. Requires Guava and Java 8, although those dependencies wouldn't be too hard to break if you didn't have them.
/*
* Copyright (C) 2015 Jake Wharton
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software