Show / Hide Table of Contents

Class GenerateSessionTokenDetails

Information about the new session token.

Inheritance
object
GenerateSessionTokenDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top