Flugg\Responder\Traits\ThrowsApiErrors::failedAuthorization PHP Method

failedAuthorization() protected method

Handle a failed authorization attempt.
protected failedAuthorization ( ) : void
return void
    protected function failedAuthorization()
    {
        throw new UnauthorizedException();
    }