Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

Any code example about how to generate content_token and content_endpoint? #9

@juveinfo

Description

@juveinfo

Hi All,

Understood the concept of content_token and content endpoint, any code level example can be provided about how to generate "content_token and content endpoint"?

Thanks a lot
Alex

In addition to the launch link parameters described in the launch section, the following parameters will be provided as needed:

content_token: The authorization token to be included on requests to the content endpoint. If missing, the content is not protected and must be accessed directly.

content_endpoint: the absolute URL to use to access protected content. If content token is specified, but the endpoint is not, the TCAPI endpoint, with the postfix “content/” is to be used as the content endpoint.

When a client application needs to access a protected resource, it will first determine the path to the protected resource based on the content endpoint, and the relative path of the protected resource within the Tin Can package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions