+14
config/client.php
+14
config/client.php
···
176
176
177
177
'redirect_to' => env('ATP_SCOPE_REDIRECT', '/login'),
178
178
],
179
+
180
+
/*
181
+
|--------------------------------------------------------------------------
182
+
| Generator Settings
183
+
|--------------------------------------------------------------------------
184
+
|
185
+
| Configure paths for the make:atp-client and make:atp-request commands.
186
+
| Paths are relative to the application base path.
187
+
|
188
+
*/
189
+
'generators' => [
190
+
'client_path' => 'app/Services/Clients',
191
+
'request_path' => 'app/Services/Clients/Requests',
192
+
],
179
193
];
+4
src/AtpClientServiceProvider.php
+4
src/AtpClientServiceProvider.php
···
16
16
use SocialDept\AtpClient\Enums\ScopeEnforcementLevel;
17
17
use SocialDept\AtpClient\Http\Middleware\RequiresScopeMiddleware;
18
18
use SocialDept\AtpClient\Console\GenerateOAuthKeyCommand;
19
+
use SocialDept\AtpClient\Console\MakeAtpClientCommand;
20
+
use SocialDept\AtpClient\Console\MakeAtpRequestCommand;
19
21
use SocialDept\AtpClient\Contracts\CredentialProvider;
20
22
use SocialDept\AtpClient\Contracts\KeyStore;
21
23
use SocialDept\AtpClient\Http\Controllers\ClientMetadataController;
···
140
142
141
143
$this->commands([
142
144
GenerateOAuthKeyCommand::class,
145
+
MakeAtpClientCommand::class,
146
+
MakeAtpRequestCommand::class,
143
147
]);
144
148
}
145
149