Reference·.NET · BIM.works_SDK.NET

Auth

Class in BIM.works_SDK.

API catalogue · BIM.works_SDK · Class

.NET#
public class Auth : SdkNamespace

API Namespace for auth related API calls

Inheritance and interfaces#

Members#

Member Kind Description
Auth(BimWorksClient) Constructor
LoginAnonymous() Method Login anonymously, the set of allowed API calls will be very limited, but you can for example request which version of the BIM.works Repository is running
LoginWithApiToken(string) Method Login with an API Token
LoginWithUsernamePassword(string, string) Method Login with a username/password. This is generally not advised to do but can be used for development and testing purposes. In most situations an API Token sho…

Auth(BimWorksClient)#

.NET#
public Auth(BimWorksClient bimWorksClient)

Parameters#

Name Type Description
bimWorksClient BimWorksClient

LoginAnonymous()#

.NET#
public void LoginAnonymous()

Login anonymously, the set of allowed API calls will be very limited, but you can for example request which version of the BIM.works Repository is running

LoginWithApiToken(string)#

.NET#
public void LoginWithApiToken(string apiToken)

Login with an API Token

Parameters#

Name Type Description
apiToken System.String

LoginWithUsernamePassword(string, string)#

.NET#
public void LoginWithUsernamePassword(string username, string password)

Login with a username/password. This is generally not advised to do but can be used for development and testing purposes. In most situations an API Token should be used.

Parameters#

Name Type Description
username System.String
password System.String

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