BaseClientTCreateWithTokenAsync Method |
To get started, call one of the following methods:
- Anysense.API.Client.V1.ApiClient.Create
- Anysense.API.Client.V1.ApiClient.CreateAsync
- Anysense.API.Client.V1.ApiClient.CreateWithToken
- Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Crates an instance of the ApiClient with a manually obtained access token
Namespace: Anysense.API.Client.SharedAssembly: Anysense.API.Client.Shared (in Anysense.API.Client.Shared.dll) Version: 1.31.1+d671d89394079ff2411e503098d3578f08c2de86
Syntax public static Task<T> CreateWithTokenAsync(
string token,
string agreementSubdomain,
string callingAssemblyName = null,
string callingAssemblyVersion = null
)
Parameters
- token String
- The access token used for bearer authentication
- agreementSubdomain String
- Sub domain to the Anysense agreement
- callingAssemblyName String (Optional)
- Name of the program that uses the API client
- callingAssemblyVersion String (Optional)
- Version of the program that uses the API client
Return Value
TaskTTask that returns the ApiClient
See Also