ScopeInterface.php in OAuth2 Server 8
Same filename and directory in other branches
Namespace
Drupal\oauth2_serverFile
src/ScopeInterface.phpView source
<?php
namespace Drupal\oauth2_server;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Defines the interface for scope entities.
*
* @package Drupal\oauth2_server
*/
interface ScopeInterface extends ConfigEntityInterface {
/**
* Returns the server the scope belongs to.
*
* @return \Drupal\oauth2_server\ServerInterface
* Returns the server object the scope belongs to.
*/
public function getServer();
/**
* Returns whether the scope is the default server scope.
*
* @return bool
* TRUE or FALSE
*/
public function isDefault();
}
Interfaces
Name | Description |
---|---|
ScopeInterface | Defines the interface for scope entities. |