public class StreamRepoUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.squareup.okhttp.Request.Builder |
addAuthentication(BaseFeed feed,
String secretKey,
com.squareup.okhttp.Request.Builder httpRequest)
Generate the authentication header.
|
static String |
createFeedSignature(BaseFeed feed,
String secretKey)
Generate the signature for a feed.
|
static String |
createFeedToken(BaseFeed feed,
String secretKey)
Generate the token for a feed.
|
public static com.squareup.okhttp.Request.Builder addAuthentication(BaseFeed feed, String secretKey, com.squareup.okhttp.Request.Builder httpRequest)
feed - secretKey - httpRequest - public static String createFeedToken(BaseFeed feed, String secretKey)
feed - secretKey - Copyright © 2015. All rights reserved.