PHP Interface Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface

Author: Portey Vasil ([email protected])
Mostrar archivo Open project: youshido/graphql-bundle Interface Usage Examples

Public Methods

Method Description
createNewFieldAccessDeniedException ( ResolveInfo $resolveInfo ) : mixed
createNewOperationAccessDeniedException ( Query $query ) : mixed
isGrantedToFieldResolve ( ResolveInfo $resolveInfo ) : boolean
isGrantedToOperationResolve ( Query $query ) : boolean
isSecurityEnabledFor ( $attribute ) : boolean

Method Details

createNewFieldAccessDeniedException() public method

public createNewFieldAccessDeniedException ( ResolveInfo $resolveInfo ) : mixed
$resolveInfo Youshido\GraphQL\Execution\ResolveInfo
return mixed

createNewOperationAccessDeniedException() public method

public createNewOperationAccessDeniedException ( Query $query ) : mixed
$query Youshido\GraphQL\Parser\Ast\Query
return mixed

isGrantedToFieldResolve() public method

public isGrantedToFieldResolve ( ResolveInfo $resolveInfo ) : boolean
$resolveInfo Youshido\GraphQL\Execution\ResolveInfo
return boolean

isGrantedToOperationResolve() public method

public isGrantedToOperationResolve ( Query $query ) : boolean
$query Youshido\GraphQL\Parser\Ast\Query
return boolean

isSecurityEnabledFor() public method

public isSecurityEnabledFor ( $attribute ) : boolean
$attribute string
return boolean