schema([ Forms\Components\TextInput::make('name')->label(__('label.name')), Forms\Components\TextInput::make('redirect')->label(__('oauth.redirect')), Forms\Components\Radio::make('skips_authorization') ->options(self::getYesNoOptions()) ->inline() ->default(0) ->label(__('oauth.skips_authorization')), ]); } public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('id'), Tables\Columns\TextColumn::make('name')->label(__('label.name')), Tables\Columns\TextColumn::make('secret')->label(__('oauth.secret')), Tables\Columns\TextColumn::make('redirect')->label(__('oauth.redirect')), Tables\Columns\IconColumn::make('skips_authorization') ->boolean() ->label(__('oauth.skips_authorization')) , ]) ->filters([ // ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } public static function getPages(): array { return [ 'index' => Pages\ManageClients::route('/'), ]; } }