프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$authorizers | array | The authorizer classes for registered handlers. | |
$container | Illuminate\Contracts\Container\Container | The container instance. | |
$next | FluxBB\Server\ServerInterface | The wrapped server instance. |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Contracts\Container\Container $container, FluxBB\Server\ServerInterface $next ) | Create the authorization server instance. | |
dispatch ( |
Resolve the request and return a response. | |
registerAuthorizer ( string $name, string $authorizerClass ) | Register an authorizer to be used for a given action. |
메소드 | 설명 | |
---|---|---|
authorize ( |
Authorize the given request. | |
getSubject ( ) : FluxBB\Models\HasPermissions | Get the authorization subject from the environment. | |
resolveAuthorizer ( |
Resolve the matching authorizer instance. |
public __construct ( Illuminate\Contracts\Container\Container $container, FluxBB\Server\ServerInterface $next ) | ||
$container | Illuminate\Contracts\Container\Container | |
$next | FluxBB\Server\ServerInterface |
public dispatch ( |
||
$request | ||
리턴 |
protected getSubject ( ) : FluxBB\Models\HasPermissions | ||
리턴 | FluxBB\Models\HasPermissions |
public registerAuthorizer ( string $name, string $authorizerClass ) | ||
$name | string | |
$authorizerClass | string |
protected resolveAuthorizer ( |
||
$request | ||
리턴 |
protected array $authorizers | ||
리턴 | array |
protected Container,Illuminate\Contracts\Container $container | ||
리턴 | Illuminate\Contracts\Container\Container |