OAuth Util
OAuth cryptography utilities.
Functions
Link copied to clipboard
fun initialAuthorizationHeaderComponents( consumerKey: String, accessToken: String? = null, callback: String? = null, nonce: String = randomUUID, timestamp: String = currentEpochTime): MutableMap<String, String?>
Content copied to clipboard
Creates initial authorization header components.
Link copied to clipboard
Link copied to clipboard
Creates signature param string.
Link copied to clipboard
fun signingBaseString( httpMethod: HttpMethod, url: Url, signatureParamString: String): String
Content copied to clipboard
Creates signing base string.
Link copied to clipboard
fun signingKey(consumerSecret: String, accessTokenSecret: String? = null): String
Content copied to clipboard
Creates signing key.