C# Class BIMToolkitAPIClient.Dal.ApiAccess

Demonstration of how to call BIM Toolkit API server side
Afficher le fichier Open project: theNBS/BimtoolkitApiClient

Méthodes publiques

Méthode 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 méthode

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

GetToken() public static méthode

Get a token using Thinktecture OAuth2Client
public static GetToken ( ) : string
Résultat string

GetTokenExplained() public static méthode

Illustrates how to get token without OAuth2Client helper
public static GetTokenExplained ( ) : string
Résultat string