null, 'client_secret' => env('OAUTH_STEAM_CLIENT_SECRET'), 'allowed_hosts' => [ str_replace(['http://', 'https://'], '', env('APP_URL')), ], ]; } public function getSettingsForm(): array { return [ TextInput::make('OAUTH_STEAM_CLIENT_SECRET') ->label('Web API Key') ->placeholder('Web API Key') ->columnSpan(4) ->required() ->password() ->revealable() ->autocomplete(false) ->default(env('OAUTH_STEAM_CLIENT_SECRET')), ]; } public function getSetupSteps(): array { return array_merge([ Step::make('Create API Key') ->schema([ Placeholder::make('') ->content(new HtmlString(Blade::render('Visit https://steamcommunity.com/dev/apikey to generate an API key.'))), ]), ], parent::getSetupSteps()); } public function getIcon(): string { return 'tabler-brand-steam-f'; } public function getHexColor(): string { return '#00adee'; } public static function register(Application $app): self { return new self($app); } }