EHS
Twitch.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/EHS.h
"
4
#include "
ehs/Str.h
"
5
#include "
ehs/io/socket/SSL.h
"
6
7
namespace
ehs
8
{
9
class
EHS_LIB_IO
Twitch
10
{
11
private
:
12
SSL
client;
13
Str_8
clientId;
14
Str_8
secret;
15
Str_8
redURI;
16
Array<Str_8>
scopes;
17
bool
forceVerify;
18
Str_8
token;
19
20
public
:
21
virtual
~Twitch
();
22
23
Twitch
();
24
25
Twitch
(
const
Str_8
& clientId,
const
Str_8
& secret,
const
Str_8
& redURI,
const
Array<Str_8>
& scopes,
const
bool
forceVerify);
26
27
bool
Authorize();
28
29
Str_8
GetClientId()
const
;
30
31
Str_8
GetSecret()
const
;
32
33
Str_8
GetRedURI()
const
;
34
35
bool
IsVerificationForced()
const
;
36
37
Str_8
GetToken()
const
;
38
};
39
}
EHS.h
SSL.h
Str.h
ehs::Array
Definition:
Array.h:16
ehs::SSL
A class for handling the HTTP(S) TCP socket layer.
Definition:
SSL.h:16
ehs::Str< Char_8, UInt_64 >
ehs::Twitch
Definition:
Twitch.h:10
ehs
Definition:
Anchor.h:6
include
ehs
io
socket
rest
Twitch.h
Generated by
1.9.4