Reference·.NET · BIM.works_SDK.NET

Tokens

Class in BIM.works_SDK.

API catalogue · BIM.works_SDK · Class

.NET#
public class Tokens : SdkNamespace

API Namespace for anything related to tokens

Inheritance and interfaces#

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)#

.NET#
public Tokens(BimWorksClient bimWorksClient)

Parameters#

Name Type Description
bimWorksClient BimWorksClient

CreateNodesToken(CreateNodesTokenRequest)#

.NET#
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)#

.NET#
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)#

.NET#
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.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString