프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |