Engines and applications use JSON Web Tokens (JWT) for authentication. JSON Web Tokens provide access to the resources needed to complete the processing tasks of a job, or for other limited services. An example would be a temporal data object (TDO)'s media assets. For engines, the token is passed in the task payload at engine runtime.
Use the following mutation to generate a JSON Web Token.
Mutation in GraphQL
graphql
mutation jwt {
getEngineJWT(input: {
resource {
tdoID: 12345678
}
}) {
token
}
}
where
tdoID is the ID of the TDO.