|
| Auth (IApiSettings settings, IRateLimiter rateLimiter, IHttpCallHandler http) |
|
Task< RefreshResponse > | RefreshAuthTokenAsync (string refreshToken, string clientSecret, string clientId=null) |
|
string | GetAuthorizationCodeUrl (string redirectUri, IEnumerable< AuthScopes > scopes, bool forceVerify=false, string state=null, string clientId=null) |
| Generates an authorization code URL. Please see OAuth authorization code flow https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#oauth-authorization-code-flow. More...
|
|
Task< AuthCodeResponse > | GetAccessTokenFromCodeAsync (string code, string clientSecret, string redirectUri, string clientId=null) |
|
async Task< ValidateAccessTokenResponse > | ValidateAccessTokenAsync (string accessToken=null) |
| Checks the validation of the Settings.AccessToken or passed in AccessToken. If invalid, a null response is returned More...
|
|
| ApiBase (IApiSettings settings, IRateLimiter rateLimiter, IHttpCallHandler http) |
|
async ValueTask< string > | GetAccessTokenAsync (string accessToken=null) |
|
|
async Task< string > | TwitchGetAsync (string resource, ApiVersion api, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchGetGenericAsync< T > (string resource, ApiVersion api, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchPatchGenericAsync< T > (string resource, ApiVersion api, string payload, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< string > | TwitchPatchAsync (string resource, ApiVersion api, string payload, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< KeyValuePair< int, string > > | TwitchDeleteAsync (string resource, ApiVersion api, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchPostGenericAsync< T > (string resource, ApiVersion api, string payload, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchPostGenericModelAsync< T > (string resource, ApiVersion api, RequestModel model, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchDeleteGenericAsync< T > (string resource, ApiVersion api, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< T > | TwitchPutGenericAsync< T > (string resource, ApiVersion api, string payload=null, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< string > | TwitchPutAsync (string resource, ApiVersion api, string payload, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
async Task< KeyValuePair< int, string > > | TwitchPostAsync (string resource, ApiVersion api, string payload, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, string clientId=null, string customBase=null) |
|
Task | PutBytesAsync (string url, byte[] payload) |
|
async Task< T > | GetGenericAsync< T > (string url, List< KeyValuePair< string, string > > getParams=null, string accessToken=null, ApiVersion api=ApiVersion.Helix, string clientId=null) |
|
readonly IApiSettings | Settings |
|
These endpoints fall outside of v5 and Helix, and relate to Authorization