<OOSecureURLGenerator > Protocol Reference

A protocol used to request a signed URL for Player API requests. More...

#import <OOSecureURLGenerator.h>

+ Inheritance diagram for <OOSecureURLGenerator >:

Instance Methods

(NSURL *) - secureURL:uri:params:
 Generate the secure URL. More...
 

Detailed Description

A protocol used to request a signed URL for Player API requests.

Method Documentation

- (NSURL * OOSecureURLGenerator) secureURL: (NSString *)  host
uri: (NSString *)  uri
params: (NSDictionary *)  params 

Generate the secure URL.

This method should use one of the following security method to create a complete NSURL:
  • Create a signature from the parameters (including API Key and Domain, which are not guaranteed to be in params) and a secret
Parameters
[in]hostthe hostname for the URL
[in]urithe URI for the URL
[in]paramsthe URI params for the URL (not including any security params that the security method would use)
Returns
a secure NSURL created from the parameters using one of the supported security methods

The documentation for this protocol was generated from the following file: