Свойство | Тип | Описание | |
---|---|---|---|
$authenticationProviders | array | Controller authentication providers. | |
$rateLimit | array | Controller rate limit and expiration. | |
$scopes | array | Controller scopes. | |
$throttles | array | Controller rate limit throttles. |
Метод | Описание | |
---|---|---|
__call ( string $method, array $parameters ) : |
Magically handle calls to certain methods on the response factory. | |
__get ( string $key ) : mixed | Magically handle calls to certain properties. | |
api ( ) : |
Get the internal dispatcher instance. | |
getAuthenticationProviders ( ) : array | Get the controllers authentication providers. | |
getRateLimit ( ) : array | Get the controllers rate limit and expiration. | |
getScopes ( ) : array | Get the controllers scopes. | |
getThrottles ( ) : array | Get the controllers rate limiting throttles. |
Метод | Описание | |
---|---|---|
auth ( ) : Dingo\Api\Auth\Auth | Get the auth instance. | |
authenticateWith ( string | array $providers, array $options = [] ) : void | Authenticate with certain providers on controller methods. | |
getPropertyValue ( string | array $value ) : array | Prepare a property value. | |
rateLimit ( integer $limit, integer $expires, array $options = [] ) : void | Rate limit controller methods. | |
response ( ) : |
Get the response factory instance. | |
scopes ( string | array $scopes, array $options = [] ) : void | Add scopes to controller methods. | |
throttle ( string | Dingo\Api\Contract\Http\RateLimit\Throttle $class, array $options = [] ) : void | Throttles for controller methods. | |
user ( ) : mixed | Get the authenticated user. |
public api ( ) : |
||
Результат |
protected auth ( ) : Dingo\Api\Auth\Auth | ||
Результат | Dingo\Api\Auth\Auth |
public getAuthenticationProviders ( ) : array | ||
Результат | array |
public getRateLimit ( ) : array | ||
Результат | array |
public getThrottles ( ) : array | ||
Результат | array |
protected response ( ) : |
||
Результат |
protected array $authenticationProviders | ||
Результат | array |
protected array $rateLimit | ||
Результат | array |
protected array $throttles | ||
Результат | array |