PHP Interface Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface

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

Méthodes publiques

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

Method Details

createNewFieldAccessDeniedException() public méthode

public createNewFieldAccessDeniedException ( ResolveInfo $resolveInfo ) : mixed
$resolveInfo Youshido\GraphQL\Execution\ResolveInfo
Résultat mixed

createNewOperationAccessDeniedException() public méthode

public createNewOperationAccessDeniedException ( Query $query ) : mixed
$query Youshido\GraphQL\Parser\Ast\Query
Résultat mixed

isGrantedToFieldResolve() public méthode

public isGrantedToFieldResolve ( ResolveInfo $resolveInfo ) : boolean
$resolveInfo Youshido\GraphQL\Execution\ResolveInfo
Résultat boolean

isGrantedToOperationResolve() public méthode

public isGrantedToOperationResolve ( Query $query ) : boolean
$query Youshido\GraphQL\Parser\Ast\Query
Résultat boolean

isSecurityEnabledFor() public méthode

public isSecurityEnabledFor ( $attribute ) : boolean
$attribute string
Résultat boolean