Class GenerateSessionTokenDetails
Information about the new session token.
Inherited Members
Namespace: Oci.MediaservicesService.Models
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class GenerateSessionTokenDetails
Properties
AssetIds
Declaration
[JsonProperty(PropertyName = "assetIds")]
public List<string> AssetIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Array of asset resource IDs used to limit the scope of the token. |
PackagingConfigId
Declaration
[Required(ErrorMessage = "PackagingConfigId is required.")]
[JsonProperty(PropertyName = "packagingConfigId")]
public string PackagingConfigId { get; set; }
Property Value
Type | Description |
---|---|
string | The packaging config resource identifier used to limit the scope of the token. |
Remarks
Required
Scopes
Declaration
[Required(ErrorMessage = "Scopes is required.")]
[JsonProperty(PropertyName = "scopes", ItemConverterType = typeof(StringEnumConverter))]
public List<GenerateSessionTokenDetails.ScopesEnum> Scopes { get; set; }
Property Value
Type | Description |
---|---|
List<GenerateSessionTokenDetails.ScopesEnum> | Array of scopes the token can act upon. |
Remarks
Required
TimeExpires
Declaration
[JsonProperty(PropertyName = "timeExpires")]
public DateTime? TimeExpires { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Token expiry time. An RFC3339 formatted datetime string. |