Esempio n. 1
0
        public ApiClient(Uri baseUri, OAuthApiClient oauthClient)
        {
            BaseUri          = baseUri;
            this.oauthClient = oauthClient ?? throw new ArgumentNullException(nameof(oauthClient));

            if (oauthClient.Token != null)
            {
                Client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(oauthClient.Token.TokenType,
                                                                                           oauthClient.Token.AccessToken);
            }
        }
Esempio n. 2
0
 public ClubsApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
Esempio n. 3
0
 public VenuesApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
 public TranspondersApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
 public PersonCategoriesApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
Esempio n. 6
0
 public PersonLicensesApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
Esempio n. 7
0
 public PeopleApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }
Esempio n. 8
0
 public UsersApiClient(Uri baseUri, OAuthApiClient oauthClient) : base(baseUri, oauthClient)
 {
 }