Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -28,59 +28,6 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
*/
|
||||
class {class} extends SSOAbstract
|
||||
{
|
||||
/**
|
||||
* Determine if the extension is currently enabled
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isEnabled(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of setting keys that will be overridden by this extension
|
||||
* Example: post_before_registering might always return a value of 0
|
||||
* Would return an array like [ 'post_before_registering' => 0 ]
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function overrideSettings(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return URL guest should be redirected to for login
|
||||
*
|
||||
* @return Url|null
|
||||
*/
|
||||
public function loginUrl(): Url|null
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return URL guest should be redirect to for login
|
||||
*
|
||||
* @param Url $redirectUrl
|
||||
* @return Url|null
|
||||
*/
|
||||
public function logoutUrl( Url $redirectUrl ): Url|null
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return URL user should visit to change display name
|
||||
*
|
||||
* @return Url|null
|
||||
*/
|
||||
public function displayNameChange(): Url|null
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom logic executed on session init
|
||||
*
|
||||
@@ -103,14 +50,4 @@ class {class} extends SSOAbstract
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Does SSO support login as?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function supportsLoginAs(): bool
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user