Default implementation of OOSignatureGenerator which will generate Ooyala API signatures using API secret.
More...
#import "OOEmbeddedSignatureGenerator.h"
Default implementation of OOSignatureGenerator which will generate Ooyala API signatures using API secret.
OOEmbeddedSignatureGenerator.
Note that embedding your API secret into the app is not very secure. To minimize the risk, use read-only API keys if possible. Alternatively, implement your own OOSignatureGenerator and keep the API keys and secrets on server-side.
OOEmbeddedSignatureGenerator.h in OoyalaSDK
- (id) initWithSecret: |
|
(NSString *) |
theSecret |
|
- (NSString *) sign: |
|
(NSString *) |
data |
|
Generate the APIv2/SAS style signature.
- Parameters
-
[in] | data | the NSString to create the signature from |
- Returns
- an NSString containing the signature
The documentation for this class was generated from the following file: