Degraded access flows degraded-access-flows
Degradation provides the temporary bypassing of specific MVPD authentication and authorization endpoints. Usually, the Programmer initiates this action, but regardless of who triggers a degradation event, the action depends on prior arrangements made with the affected MVPDs.
For more details about Degradation feature, refer to the Degradation documentation.
Degraded access flows allow you to query for the following scenarios:
Perform authentication while degradation is applied perform-authentication-while-degradation-is-applied
Prerequisites prerequisites-perform-authentication-while-degradation-is-applied
Before performing the authentication flow while degradation is applied, ensure the following prerequisites are met:
- The streaming application must initiate an authentication session when it needs to sign in with the MVPD.
- The streaming application does not have a valid profile for that specific MVPD saved in Adobe Pass backend.
- There is an AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
.
Workflow workflow-perform-authentication-while-degradation-is-applied
Follow the given steps to implement the authentication flow while degradation is applied as shown in the following diagram.
Perform authentication while degradation is applied
-
Create authentication session: The streaming application gathers all the necessary data to initiate an authentication session by calling the Sessions endpoint.
note important IMPORTANT Refer to the Create authentication session API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
,domainName
, andredirectUrl
- All the required headers, like
Authorization
andAP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Check degradation rules: The Adobe Pass server verifies if there is an AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
. -
Indicate the next action: The Sessions endpoint response contains the necessary data to guide the streaming application regarding the next action:
- The
actionName
attribute is set to “authorize”. - The
actionType
attribute is set to “direct”.
note important IMPORTANT Refer to the Create authentication session API documentation for details on the information provided in a session response. The Sessions 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 Sessions endpoint uses the request data to check if degraded access conditions are met: - The integration between the provided
serviceProvider
andmvpd
must have an AuthNAll degradation rule applied.
If degraded access validation fails, the response will default to the basic authentication flow. - The
-
Proceed with decisions flows: The streaming application can continue with subsequent decisions flows.
Retrieve authorization decisions while degradation is applied retrieve-authorization-decisions-while-degradation-is-applied
Prerequisites prerequisites-retrieve-authorization-decisions-while-degradation-is-applied
Before retrieving authorization decisions while degradation is applied, ensure the following prerequisites are met:
- The streaming application must retrieve an authorization decision before playing a user selected resource.
- The streaming application does not have a valid profile for that specific MVPD.
- There is an AuthZAll or AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
.
Workflow workflow-retrieve-authorization-decisions-while-degradation-is-applied
Follow the given steps to implement the authorization flow while degradation is applied as shown in the following diagram.
Retrieve authorization decisions while degradation is applied
-
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
-
Check degradation rules: The Adobe Pass server verifies if there is an AuthZAll or AuthNAll degradation rule 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 degraded access conditions are met: - The integration between the provided
serviceProvider
andmvpd
must have an AuthZAll or AuthNAll degradation rule applied.
If degraded access validation fails, the response will default to the basic authorization flow. -
Start stream with media token: The streaming application uses the media token to play the content.
Retrieve preauthorization decisions while degradation is applied retrieve-preauthorization-decisions-while-degradation-is-applied
Prerequisites prerequisites-retrieve-preauthorization-decisions-while-degradation-is-applied
Before retrieving preauthorization decisions while degradation is applied, ensure the following prerequisites are met:
- The streaming application wants to retrieve preauthorization decisions to display a list of resources along with their associated statuses.
- The streaming application does not have a valid profile for that specific MVPD.
- There is an AuthZAll or AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
.
Workflow workflow-retrieve-preauthorization-decisions-while-degradation-is-applied
Follow the given steps to implement the preauthorization flow while degradation is applied as shown in the following diagram.
Retrieve preauthorization decisions while degradation is applied
-
Retrieve preauthorization decisions: The streaming application gathers all the necessary data to obtain preauthorization decisions for a list of resources by calling the Decisions Preauthorize endpoint.
note important IMPORTANT Refer to the Retrieve preauthorization 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
-
Check degradation rules: The Adobe Pass server verifies if there is an AuthZAll or AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
. -
Return preauthorization decisions: The Decisions Preauthorize endpoint response contains a
Permit
decision for each resource.note important IMPORTANT Refer to the Retrieve preauthorization decisions using specific mvpd API documentation for details on the information provided in a decision response. The Decisions Preauthorize 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 Preauthorize endpoint uses the request data to check if degraded access conditions are met: - The integration between the provided
serviceProvider
andmvpd
must have an AuthZAll or AuthNAll degradation rule applied.
If degraded access validation fails, the response will default to the basic preauthorization flow. -
Handle preauthorization decisions: The streaming application processes the response and can use it to optionally display the appropriate status for each resource on the user interface.
Retrieve profile while degradation is applied retrieve-profile-while-degradation-is-applied
Prerequisites prerequisites-retrieve-profile-while-degradation-is-applied
Before retrieving the profile for a specific MVPD while degradation is applied, ensure the following prerequisites are met:
- The streaming application, which has a selected or cached
mvpd
identifier, wants to retrieve the profile for a specific MVPD.
- The streaming application does not have a valid profile for that specific MVPD.
- There is an AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
.
Workflow workflow-retrieve-profile-while-degradation-is-applied
Follow the given steps to implement the profile retrieval flow for a specific MVPD while degradation is applied as shown in the following diagram.
Retrieve profile while degradation is applied
-
Retrieve profile for specific mvpd: The streaming application gathers all necessary data to retrieve profile information for that specific MVPD 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
-
Check degradation rules: The Adobe Pass server verifies if there is an AuthNAll degradation rule applied to the integration between the provided
serviceProvider
andmvpd
. -
Return information about degraded profile: The Profiles endpoint response contains information about the degraded profile, including the attribute
type
set to “degraded”.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 degraded access conditions are met: - The integration between the provided
serviceProvider
andmvpd
must have an AuthNAll degradation rule applied.
If degraded access validation fails, the response will default to the basic profile retrieval flow. -
Proceed with decisions flows: If the Profiles endpoint response contains a profile, the streaming application uses the degraded profile information to continue with subsequent decisions flows.
-
Indicate new basic authentication flow: If the Profiles endpoint response does not contain a profile, the streaming application indicates the user to initiate a new basic authentication flow.