Temporary access flows temporary-access-flows
TempPass allows Programmers to provide temporary access to their protected content without asking users to authenticate with a valid MVPD account.
For more details about TempPass feature, refer to the TempPass documentation.
Temporary access flows allow you to query for the following scenarios:
- Retrieve authorization decisions using basic TempPass
- Retrieve authorization decisions using promotional TempPass
- Consume maximum number of resources using promotional TempPass
- Retrieve authorization decisions when basic or promotional TempPass expires
- Retrieve profile for basic TempPass
- Retrieve profile for promotional TempPass
Retrieve authorization decisions using basic TempPass retrieve-authorization-decisions-using-basic-temppass
Prerequisites prerequisites-retrieve-authorization-decisions-using-basic-temppass
Before retrieving authorization decisions using basic TempPass, ensure the following prerequisites are met:
- The streaming application wants to provide temporary access to play content without asking the user to authenticate.
- The streaming application must retrieve an authorization decision before playing a user selected resource.
- There must be a valid configuration setup of basic TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the basic TempPass has not expired.
Workflow workflow-retrieve-authorization-decisions-using-basic-temppass
Follow the given steps to implement the authorization flow using basic TempPass as shown in the following diagram.
Retrieve authorization decisions using basic TempPass
-
Retrieve authorization decision: The streaming application gathers all the necessary data to obtain an authorization decision for a specific resource by calling the Decisions Authorize endpoint.
note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andresources
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Validate basic TempPass: The Adobe Pass server verifies if there is a valid configuration setup of basic TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return
Permit
decision with media token: The Decisions Authorize endpoint response contains aPermit
decision and a media token.note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Authorize endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Decisions Authorize endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the basic TempPass must not be expired.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Start stream with media token: The streaming application uses the media token to play the content.
Retrieve authorization decisions using promotional TempPass retrieve-authorization-decisions-using-promotional-temppass
Prerequisites prerequisites-retrieve-authorization-decisions-using-promotional-temppass
Before retrieving authorization decisions using promotional TempPass, ensure the following prerequisites are met:
- The streaming application wants to provide temporary access to play a maximum number of resources without asking the user to authenticate.
- The streaming application must include unique information about the identity of the user when retrieving an authorization decision.
- The streaming application must retrieve an authorization decision before playing a user selected resource.
- There must be a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the promotional TempPass has not expired.
- The maximum number of resources configured for the promotional TempPass has not been consumed.
Workflow workflow-retrieve-authorization-decisions-using-promotional-temppass
Follow the given steps to implement the authorization flow using promotional TempPass as shown in the following diagram.
Retrieve authorization decisions using promotional TempPass
-
Retrieve authorization decision: The streaming application gathers all the necessary data to obtain an authorization decision for a specific resource by calling the Decisions Authorize endpoint.
note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andresources
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
The Decisions Authorize endpoint requires the presence of AP-TempPass-Identity
header when using promotional TempPass. The header includes unique information about the identity of the user accessing the content.For more details about AP-TempPass-Identity
header, refer to the AP-TempPass-Identity documentation. - All the required parameters, like
-
Validate promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return
Permit
decision with media token: The Decisions Authorize endpoint response contains aPermit
decision and a media token.note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Authorize endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Decisions Authorize endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Start stream with media token: The streaming application uses the media token to play the content.
Consume maximum number of resources using promotional TempPass consume-maximum-number-of-resources-using-promotional-temppass
Prerequisites prerequisites-consume-maximum-number-of-resources-using-promotional-temppass
Before consuming a maximum number of resources using promotional TempPass, ensure the following prerequisites are met:
- The streaming application wants to provide temporary access to play a maximum number of resources without asking the user to authenticate.
- The streaming application must include unique information about the identity of the user when retrieving an authorization decision.
- The streaming application must retrieve an authorization decision before playing a user selected resource.
- There must be a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the promotional TempPass has not expired.
- The maximum number of resources configured for the promotional TempPass is 1.
Workflow workflow-consume-maximum-number-of-resources-using-promotional-temppass
Follow the given steps to implement the authorization flow when consuming a maximum number of resources using promotional TempPass as shown in the following diagram.
Consume maximum number of resources using promotional TempPass
-
Retrieve profile for promotional TempPass: The streaming application gathers all the necessary data to retrieve profile information for promotional TempPass by sending a request to the Profiles endpoint.
note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
, andmvpd
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
The Profiles endpoint query is optional and can be used to determine how many resources can still be played using the promotional TempPass. - All the required parameters, like
-
Validate promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return information about temporary profile: The Profiles endpoint response contains information about the temporary profile, including the attribute
type
set to “temporary”.note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on the information provided in a profile response. The Profiles endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Profiles endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Proceed with decisions flows: If the Profiles endpoint response contains a profile, the streaming application uses the temporary profile information to continue with subsequent decisions flows.
-
Retrieve authorization decision: The streaming application gathers all the necessary data to obtain an authorization decision for a specific resource by calling the Decisions Authorize endpoint.
note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andresources
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
The Decisions Authorize endpoint requires the presence of AP-TempPass-Identity
header when using promotional TempPass. The header includes unique information about the identity of the user accessing the content.For more details about AP-TempPass-Identity
header, refer to the AP-TempPass-Identity documentation. - All the required parameters, like
-
Validate promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return
Permit
decision with media token: The Decisions Authorize endpoint response contains aPermit
decision and a media token.note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Authorize endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Decisions Authorize endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Retrieve authorization decision: The streaming application gathers all the necessary data to obtain an authorization decision for a specific resource by calling the Decisions Authorize endpoint.
note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andresources
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
The Decisions Authorize endpoint requires the presence of AP-TempPass-Identity
header when using promotional TempPass. The header includes unique information about the identity of the user accessing the content.For more details about AP-TempPass-Identity
header, refer to the AP-TempPass-Identity documentation. - All the required parameters, like
-
Validate promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return
Deny
decision with details: The Decisions Authorize endpoint response contains aDeny
decision and an error payload which adheres to the Enhanced Error Codes documentation.note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Authorize endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Decisions Authorize endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Handle
Deny
decision details: The streaming application processes the error information from the response and can use it to optionally display a specific message on the user interface.note tip TIP Suggestion: The streaming application can inform users that the maximum number of resources was exceeded and advise them to initiate a basic authentication flow using a regular MVPD to continue watching.
Retrieve authorization decisions when basic or promotional TempPass expires retrieve-authorization-decisions-when-basic-or-promotional-temppass-expires
Prerequisites prerequisites-retrieve-authorization-decisions-when-basic-or-promotional-temppass-expires
Before retrieving authorization decisions when basic or promotional TempPass expires, ensure the following prerequisites are met:
- There must be a valid configuration setup of basic or promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the basic or promotional The temporary access duration limit has been exceeded.
Workflow workflow-retrieve-authorization-decisions-when-basic-or-promotional-temppass-expires
Follow the given steps to implement the authorization flow when basic or promotional TempPass expires as shown in the following diagram.
Retrieve authorization decisions when basic or promotional TempPass expires
-
Retrieve authorization decision: The streaming application gathers all the necessary data to obtain an authorization decision for a specific resource by calling the Decisions Authorize endpoint.
note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andresources
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
The Decisions Authorize endpoint requires the presence of AP-TempPass-Identity
header when using promotional TempPass. The header includes unique information about the identity of the user accessing the content.For more details about AP-TempPass-Identity
header, refer to the AP-TempPass-Identity documentation. - All the required parameters, like
-
Validate basic or promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of basic or promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return
Deny
decision with details: The Decisions Authorize endpoint response contains aDeny
decision and an error payload which adheres to the Enhanced Error Codes documentation.note important IMPORTANT Refer to the Retrieve authorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Authorize endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Decisions Authorize endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the basic or promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Handle
Deny
decision details: The streaming application processes the error information from the response and can use it to optionally display a specific message on the user interface.note tip TIP Suggestion: The streaming application can inform users that the temporary access has expired and advise them to initiate a basic authentication flow using a regular MVPD to continue watching.
Retrieve profile for basic TempPass retrieve-profile-for-basic-temppass
Prerequisites prerequisites-retrieve-profile-for-basic-temppass
Before retrieving the profile for basic TempPass, ensure the following prerequisites are met:
- The streaming application wants to retrieve the temporary profile to ensure that the temporary access has not expired.
- There must be a valid configuration setup of basic TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the basic TempPass must not be expired.
Workflow workflow-retrieve-profile-information-for-basic-temppass
Follow the given steps to implement the profile retrieval flow for basic TempPass as shown in the following diagram.
Retrieve profile for basic TempPass
-
Retrieve profile for basic TempPass: The streaming application gathers all the necessary data to retrieve profile information for basic TempPass by sending a request to the Profiles endpoint.
note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
, andmvpd
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Validate basic TempPass: The Adobe Pass server verifies if there is a valid configuration setup of basic TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return information about temporary profile: The Profiles endpoint response contains information about the temporary profile, including the attribute
type
set to “temporary”.note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on the information provided in a profile response. The Profiles endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Profiles endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the basic TempPass must not be expired.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Proceed with decisions flows: If the Profiles endpoint response contains a profile, the streaming application uses the temporary profile information to continue with subsequent decisions flows.
Retrieve profile for promotional TempPass retrieve-profile-for-promotional-temppass
Prerequisites prerequisites-retrieve-profile-for-promotional-temppass
Before retrieving the profile for promotional TempPass, ensure the following prerequisites are met:
- The streaming application wants to retrieve the temporary profile to ensure that the temporary access has not expired or to determine how many resources can still be played.
- There must be a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. - The Time-To-Live (TTL) configured for the promotional TempPass has not expired.
- The maximum number of resources configured for the promotional TempPass has not been consumed.
Workflow workflow-retrieve-profile-information-for-promotional-temppass
Follow the given steps to implement the profile retrieval flow for promotional TempPass as shown in the following diagram.
Retrieve profile for promotional TempPass
-
Retrieve profile for promotional TempPass: The streaming application gathers all the necessary data to retrieve profile information for promotional TempPass by sending a request to the Profiles endpoint.
note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
, andmvpd
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Validate promotional TempPass: The Adobe Pass server verifies if there is a valid configuration setup of promotional TempPass applied to the integration between the provided
serviceProvider
andmvpd
. -
Return information about temporary profile: The Profiles endpoint response contains information about the temporary profile, including the attribute
type
set to “temporary”.note important IMPORTANT Refer to the Retrieve profile for specific mvpd API documentation for details on the information provided in a profile response. The Profiles endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If basic validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. The Profiles endpoint uses the request data to check if temporary access conditions are met: - The Time-To-Live (TTL) configured for the promotional TempPass must not be expired.
- The maximum number of resources configured for the promotional TempPass must not be consumed.
If temporary access validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Proceed with decisions flows: If the Profiles endpoint response contains a profile, the streaming application uses the temporary profile information to continue with subsequent decisions flows.