-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuPrincipal.dfm
190 lines (190 loc) · 4.24 KB
/
uPrincipal.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 438
ClientWidth = 725
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
DesignSize = (
725
438)
PixelsPerInch = 96
TextHeight = 13
object lbl_status: TLabel
Left = -134
Top = 2
Width = 859
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
end
object edt_GoogleTasks_BaseURL: TLabeledEdit
Left = 32
Top = 32
Width = 273
Height = 21
EditLabel.Width = 50
EditLabel.Height = 13
EditLabel.Caption = 'Base-URL:'
TabOrder = 0
Text = 'https://www.googleapis.com/calendar/v3'
end
object edt_GoogleTasks_ResourceURI: TLabeledEdit
Left = 32
Top = 80
Width = 273
Height = 21
EditLabel.Width = 71
EditLabel.Height = 13
EditLabel.Caption = 'Resource-URI:'
TabOrder = 1
Text = '/users/me/calendarList/primary'
end
object edt_GoogleTasks_AccessToken: TLabeledEdit
Left = 320
Top = 80
Width = 161
Height = 21
EditLabel.Width = 70
EditLabel.Height = 13
EditLabel.Caption = 'Access-Token:'
TabOrder = 2
end
object edt_GoogleTasks_ClientID: TLabeledEdit
Left = 320
Top = 32
Width = 161
Height = 21
EditLabel.Width = 46
EditLabel.Height = 13
EditLabel.Caption = 'Client-ID:'
TabOrder = 3
end
object edt_GoogleTasks_AuthCode: TLabeledEdit
Left = 320
Top = 132
Width = 161
Height = 21
EditLabel.Width = 56
EditLabel.Height = 13
EditLabel.Caption = 'Auth-Code:'
TabOrder = 4
end
object btn_GoogleTasks_FetchAuthToken: TButton
Left = 32
Top = 132
Width = 273
Height = 49
Caption = 'Step #1 fetch auch-code && access-token'
TabOrder = 5
OnClick = btn_GoogleTasks_FetchAuthTokenClick
end
object btn_GoogleTasks_FetchLists: TButton
Left = 32
Top = 195
Width = 273
Height = 49
Caption = 'Step #2 fetch list of tasks'
TabOrder = 6
end
object edt_GoogleTasks_RefreshToken: TLabeledEdit
Left = 320
Top = 187
Width = 161
Height = 21
EditLabel.Width = 75
EditLabel.Height = 13
EditLabel.Caption = 'Refresh-Token:'
TabOrder = 7
end
object edt_GoogleTasks_ClientSecret: TLabeledEdit
Left = 487
Top = 187
Width = 230
Height = 21
EditLabel.Width = 66
EditLabel.Height = 13
EditLabel.Caption = 'Client-Secret:'
TabOrder = 8
end
object edt_scope: TLabeledEdit
Left = 487
Top = 132
Width = 230
Height = 21
EditLabel.Width = 29
EditLabel.Height = 13
EditLabel.Caption = 'Scope'
TabOrder = 9
Text = 'https://www.googleapis.com/auth/calendar'
end
object Memo1: TMemo
Left = 32
Top = 272
Width = 685
Height = 158
Lines.Strings = (
'')
TabOrder = 10
end
object nmEmail: TLabeledEdit
Left = 496
Top = 32
Width = 205
Height = 21
EditLabel.Width = 24
EditLabel.Height = 13
EditLabel.Caption = 'email'
TabOrder = 11
end
object Button1: TButton
Left = 640
Top = 80
Width = 75
Height = 25
Caption = 'Button1'
TabOrder = 12
OnClick = Button1Click
end
object OAuth2_GoogleTasks: TOAuth2Authenticator
AccessTokenEndpoint = 'https://accounts.google.com/o/oauth2/token'
AccessTokenExpiry = 41488.448189351900000000
AuthorizationEndpoint = 'https://accounts.google.com/o/oauth2/auth'
RedirectionEndpoint = 'urn:ietf:wg:oauth:2.0:oob'
Scope = 'https://www.googleapis.com/auth/tasks'
Left = 288
Top = 275
AccessTokenExpiryDate = 41488.4481893519d
end
object RESTRequest: TRESTRequest
Client = RESTClient
Params = <>
Response = RESTResponse
OnAfterExecute = RESTRequestAfterExecute
SynchronizedEvents = False
Left = 472
Top = 242
end
object RESTResponse: TRESTResponse
Left = 552
Top = 242
end
object RESTClient: TRESTClient
Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
Params = <>
HandleRedirects = True
Left = 400
Top = 242
end
object RESTResponseDataSetAdapter: TRESTResponseDataSetAdapter
FieldDefs = <>
Left = 400
Top = 306
end
end