mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 11:16:51 +01:00 
			
		
		
		
	Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> Co-authored-by: Boy132 <Boy132@users.noreply.github.com> Co-authored-by: Lance Pioch <git@lance.sh>
		
			
				
	
	
		
			40 lines
		
	
	
		
			876 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			876 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Extensions\OAuth;
 | 
						|
 | 
						|
use Filament\Schemas\Components\Component;
 | 
						|
use Filament\Schemas\Components\Wizard\Step;
 | 
						|
 | 
						|
interface OAuthSchemaInterface
 | 
						|
{
 | 
						|
    public function getId(): string;
 | 
						|
 | 
						|
    public function getName(): string;
 | 
						|
 | 
						|
    public function getConfigKey(): string;
 | 
						|
 | 
						|
    /** @return ?class-string */
 | 
						|
    public function getSocialiteProvider(): ?string;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @return array<string, string|string[]|bool|null>
 | 
						|
     */
 | 
						|
    public function getServiceConfig(): array;
 | 
						|
 | 
						|
    /** @return Component[] */
 | 
						|
    public function getSettingsForm(): array;
 | 
						|
 | 
						|
    /** @return Step[] */
 | 
						|
    public function getSetupSteps(): array;
 | 
						|
 | 
						|
    public function getIcon(): ?string;
 | 
						|
 | 
						|
    public function getHexColor(): ?string;
 | 
						|
 | 
						|
    public function isEnabled(): bool;
 | 
						|
 | 
						|
    public function shouldCreateMissingUsers(): bool;
 | 
						|
 | 
						|
    public function shouldLinkMissingUsers(): bool;
 | 
						|
}
 |