C# Class BIMToolkitAPIClient.Dal.ApiAccess

Demonstration of how to call BIM Toolkit API server side
Show file Open project: theNBS/BimtoolkitApiClient

Public Methods

Method Description
CallApi ( string path ) : string

Get a token before making a GET request to the specified api path

GetToken ( ) : string

Get a token using Thinktecture OAuth2Client

GetTokenExplained ( ) : string

Illustrates how to get token without OAuth2Client helper

Method Details

CallApi() public static method

Get a token before making a GET request to the specified api path
public static CallApi ( string path ) : string
path string
return string

GetToken() public static method

Get a token using Thinktecture OAuth2Client
public static GetToken ( ) : string
return string

GetTokenExplained() public static method

Illustrates how to get token without OAuth2Client helper
public static GetTokenExplained ( ) : string
return string