Reference·.NET · BIM.works_SDK.NET

CreateVersionsTokenRequest

Class in BIM.works_SDK.

API catalogue · BIM.works_SDK · Class

.NET#
public class CreateVersionsTokenRequest : Request

Inheritance and interfaces#

Members#

Member Kind Description
CreateVersionsTokenRequest(ISet<Guid>, ISet<Scope>, TimeSpan) Constructor A token for the given versions, restricted to the given scopes. The scopes can never exceed those of the issuing credential
CreateVersionsTokenRequest(ISet<Guid>, ISet<string>, TimeSpan) Constructor
WriteInput(Utf8JsonWriter) Method

CreateVersionsTokenRequest(ISet<Guid>, ISet<Scope>, TimeSpan)#

.NET#
public CreateVersionsTokenRequest(ISet<Guid> versionUuids, ISet<Scope> scopes, TimeSpan timeSpan)

A token for the given versions, restricted to the given scopes. The scopes can never exceed those of the issuing credential

Parameters#

Name Type Description
versionUuids System.Collections.Generic.ISet{System.Guid}
scopes System.Collections.Generic.ISet{BIM.works_SDK.Scope}
timeSpan System.TimeSpan

CreateVersionsTokenRequest(ISet<Guid>, ISet<string>, TimeSpan)#

.NET#
[Obsolete("Task-name lists are deprecated, use the constructor that takes scopes")]
public CreateVersionsTokenRequest(ISet<Guid> versionUuids, ISet<string> tasks, TimeSpan timeSpan)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
versionUuids System.Collections.Generic.ISet{System.Guid}
tasks System.Collections.Generic.ISet{System.String}
timeSpan System.TimeSpan

WriteInput(Utf8JsonWriter)#

.NET#
public override void WriteInput(Utf8JsonWriter writer)

Parameters#

Name Type Description
writer System.Text.Json.Utf8JsonWriter

Inherited members#