Laravel AT Protocol Client (alpha & unstable)
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Important classes instead of full inline class paths

+7 -5
+7 -5
src/AtpClientServiceProvider.php
··· 9 9 use SocialDept\AtpClient\Auth\DPoPNonceManager; 10 10 use SocialDept\AtpClient\Auth\OAuthEngine; 11 11 use SocialDept\AtpClient\Auth\TokenRefresher; 12 + use SocialDept\AtpClient\Console\GenerateOAuthKeyCommand; 12 13 use SocialDept\AtpClient\Contracts\CredentialProvider; 13 14 use SocialDept\AtpClient\Contracts\KeyStore; 14 - use SocialDept\AtpClient\Providers\ArrayCredentialProvider; 15 + use SocialDept\AtpClient\Http\Controllers\ClientMetadataController; 16 + use SocialDept\AtpClient\Http\Controllers\JwksController; 15 17 use SocialDept\AtpClient\Session\SessionManager; 16 18 use SocialDept\AtpClient\Storage\EncryptedFileKeyStore; 17 19 ··· 109 111 ], 'atp-client-config'); 110 112 111 113 $this->commands([ 112 - \SocialDept\AtpClient\Console\GenerateOAuthKeyCommand::class, 114 + GenerateOAuthKeyCommand::class, 113 115 ]); 114 116 } 115 117 ··· 128 130 $prefix = config('atp-client.oauth.prefix', '/atp/oauth/'); 129 131 130 132 Route::prefix($prefix)->group(function () { 131 - Route::get('client-metadata.json', \SocialDept\AtpClient\Http\Controllers\ClientMetadataController::class) 133 + Route::get('client-metadata.json', ClientMetadataController::class) 132 134 ->name('atp.oauth.client-metadata'); 133 135 134 - Route::get('jwks.json', \SocialDept\AtpClient\Http\Controllers\JwksController::class) 136 + Route::get('jwks.json', JwksController::class) 135 137 ->name('atp.oauth.jwks'); 136 138 }); 137 139 138 140 // Register standard .well-known endpoint 139 - Route::get('.well-known/oauth-client-metadata', \SocialDept\AtpClient\Http\Controllers\ClientMetadataController::class) 141 + Route::get('.well-known/oauth-client-metadata', ClientMetadataController::class) 140 142 ->name('atp.oauth.well-known'); 141 143 } 142 144