Tokens
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
public class Tokens : SdkNamespaceAPI Namespace for anything related to tokens
Inheritance and interfaces#
System.Object- SdkNamespace
Members#
| Member | Kind | Description |
|---|---|---|
| Tokens(BimWorksClient) | Constructor | |
| CreateNodesToken(CreateNodesTokenRequest) | Method | Create a new token that gives the user access to one or more nodes This type of token always automatically gives the recipient access to all versions (curren… |
| CreateRecursiveNodeToken(CreateRecursiveNodeTokenRequest) | Method | Create a new token that gives the user access to one or more nodes (like CreateNodesToken), but in this case it's a recursive token. This means that any subf… |
| CreateVersionsToken(CreateVersionsTokenRequest) | Method | Create a new token that gives access to a set of versions. This token is used most often as it gives you the ability to select very specific models. |
Tokens(BimWorksClient)#
public Tokens(BimWorksClient bimWorksClient)Parameters#
| Name | Type | Description |
|---|---|---|
bimWorksClient |
BimWorksClient |
CreateNodesToken(CreateNodesTokenRequest)#
public CreateNodesTokenResponse CreateNodesToken(CreateNodesTokenRequest request)Create a new token that gives the user access to one or more nodes This type of token always automatically gives the recipient access to all versions (current and future versions) of the provided nodes
Parameters#
| Name | Type | Description |
|---|---|---|
request |
CreateNodesTokenRequest |
CreateRecursiveNodeToken(CreateRecursiveNodeTokenRequest)#
public CreateRecursiveNodeTokenResponse CreateRecursiveNodeToken(CreateRecursiveNodeTokenRequest request)Create a new token that gives the user access to one or more nodes (like CreateNodesToken), but in this case it's a recursive token. This means that any subfolders (and subfolders of subfolders etc...) are granted access to.
Care should be taken not to create these tokens on a level in the tree that is too high, potentionally giving access to too many models
Parameters#
| Name | Type | Description |
|---|---|---|
request |
CreateRecursiveNodeTokenRequest |
CreateVersionsToken(CreateVersionsTokenRequest)#
public CreateVersionsTokenResponse CreateVersionsToken(CreateVersionsTokenRequest request)Create a new token that gives access to a set of versions. This token is used most often as it gives you the ability to select very specific models.
Parameters#
| Name | Type | Description |
|---|---|---|
request |
CreateVersionsTokenRequest |
Inherited members#
- BimWorksClient
- Execute(Request)
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