CreateNodesTokenRequest
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
.NET#
public class CreateNodesTokenRequest : RequestInheritance and interfaces#
System.Object- Request
Members#
| Member | Kind | Description |
|---|---|---|
| CreateNodesTokenRequest(ISet<Guid>, ISet<Scope>, TimeSpan) | Constructor | A token for the given nodes, restricted to the given scopes. The scopes can never exceed those of the issuing credential |
| CreateNodesTokenRequest(ISet<Guid>, ISet<string>, TimeSpan) | Constructor | |
| WriteInput(Utf8JsonWriter) | Method |
CreateNodesTokenRequest(ISet<Guid>, ISet<Scope>, TimeSpan)#
.NET#
public CreateNodesTokenRequest(ISet<Guid> nodeUuids, ISet<Scope> scopes, TimeSpan timeSpan)A token for the given nodes, restricted to the given scopes. The scopes can never exceed those of the issuing credential
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuids |
System.Collections.Generic.ISet{System.Guid} |
|
scopes |
System.Collections.Generic.ISet{BIM.works_SDK.Scope} |
|
timeSpan |
System.TimeSpan |
CreateNodesTokenRequest(ISet<Guid>, ISet<string>, TimeSpan)#
.NET#
[Obsolete("Task-name lists are deprecated, use the constructor that takes scopes")]
public CreateNodesTokenRequest(ISet<Guid> nodeUuids, ISet<string> tasks, TimeSpan timeSpan)Warning
Deprecated: Deprecated
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuids |
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#
- taskName
- id
- projectName
- AddStream(string)
- WriteVersions(Utf8JsonWriter, ISet<Guid>)
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString