Basic profiles flow performed within primary application basic-profiles-flow-primary-application
The Profiles flow within Adobe Pass Authentication entitlement allows the streaming application to access information on active user logins.
Basic profiles flow allows you to query for the following scenarios:
Retrieve profiles retrieve-profiles
Prerequisites prerequisites-retrieve-profiles
Before retrieving profiles, ensure the following prerequisites are met:
- The streaming application wants to retrieve all regular profiles.
Workflow workflow-retrieve-profiles
Follow the given steps to implement the basic profiles retrieval flow performed within a primary application as shown in the following diagram.
Retrieve profiles
-
Retrieve profiles: The streaming application gathers all the necessary data to retrieve all profiles information by sending a request to the Profiles endpoint.
note important IMPORTANT Refer to the Retrieve profiles API documentation for details on: - All the required parameters, like
serviceProvider
- All the required headers, like
Authorization
,AP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Find regular profiles: The Adobe Pass server identifies all valid profiles based on the received parameters and headers.
-
Return information about regular profiles: The Profiles endpoint response contains information about the found profiles associated with the received parameters and headers.
note important IMPORTANT Refer to the Retrieve profiles 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.
If validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Choose a profile and proceed with decisions flows: If the Profiles endpoint response contains profiles, the streaming application uses its internal logic (eventually by interacting with the end user) to choose one of the available profiles 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.
Retrieve profile for specific mvpd retrieve-profile-for-specific-mvpd
Prerequisites prerequisites-retrieve-profile-for-specific-mvpd
Before retrieving the profile for a specific MVPD, ensure the following prerequisites are met:
- The streaming application, which has a selected or cached
mvpd
identifier, wants to retrieve the regular profile for a specific MVPD.
Workflow workflow-retrieve-profile-for-specific-mvpd
Follow the given steps to implement the basic profile retrieval flow for a specific MVPD performed within a primary application as shown in the following diagram.
Retrieve profile for specific mvpd
-
Retrieve profile for specific mvpd: The streaming application gathers all the 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
,AP-Device-Identifier
- All the optional parameters and headers
- All the required parameters, like
-
Find regular profile: The Adobe Pass server identifies a valid profile based on the received parameters and headers.
-
Return information about regular profile: The Profiles endpoint response contains information about the found profile associated with the received parameters and headers.
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 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 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.
Retrieve profile for specific code retrieve-profile-for-specific-code
Prerequisites prerequisites-retrieve-profile-for-specific-code
Before retrieving the profile for a specific authentication code, ensure the following prerequisites are met:
- The streaming application, which has a
code
used to perform the interactive authentication with the MVPD, wants to retrieve the profile for a specific authentication code.
Workflow workflow-retrieve-profile-for-specific-code
Follow the given steps to implement the basic profile retrieval flow for a specific authentication code performed within a primary application as shown in the following diagram.
Retrieve profile for specific code
-
Retrieve profile for specific code: The streaming application gathers all the necessary data to retrieve profile information for that specific authentication code by sending a request to the Profiles endpoint.
note important IMPORTANT Refer to the Retrieve profile for specific code API documentation for details on: - All the required parameters, like
serviceProvider
, andcode
- All the required headers, like
Authorization
- All the optional parameters and headers
- All the required parameters, like
-
Find regular profile: The Adobe Pass server identifies a valid profile based on the received parameters and headers.
-
Return information about regular profile: The Profiles endpoint response contains information about the found profile associated with the received parameters and headers.
note important IMPORTANT Refer to the Retrieve profile for specific code 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.
If 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 profile information to continue with subsequent decisions flows.
-
Indicate new basic authentication flow: If the Profiles endpoint response does not contain a profile, the primary application indicates the user to initiate a new basic authentication flow.