Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpak-shaikh committed Nov 9, 2023
2 parents 26aacba + ac2be9f commit 63cb65e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
17 changes: 15 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.intuit.graphql</groupId>
<artifactId>graphql-authorization-java</artifactId>
<version>2.0.15-SNAPSHOT</version>
<version>2.0.16-SNAPSHOT</version>
<packaging>jar</packaging>

<name>graphql-authorization-java</name>
Expand Down Expand Up @@ -36,7 +36,7 @@

<properties>
<junit5.version>5.5.0</junit5.version>
<lombok.version>1.18.20</lombok.version>
<lombok.version>1.18.30</lombok.version>
<graphql-java.version>20.4</graphql-java.version>
<jacoco.enabled>true</jacoco.enabled>
<jacoco.version>0.8.4</jacoco.version>
Expand Down Expand Up @@ -135,6 +135,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public interface AuthzClientConfiguration {

/**
* Provide the access control map
* @return Queries by Client
*/
Map<AuthzClient, List<String>> getQueriesByClient();
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public interface AuthzListener {
/**
* This will be called just before a query field is redacted for unauthorized access. It gives the execution context
* and queryVisitorFieldEnvironment as metadata of the field being redacted.
*
* @param executionContext ExecutionContext
* @param queryVisitorFieldEnvironment Environment
*
*/
void onFieldRedaction(final ExecutionContext executionContext,
final QueryVisitorFieldEnvironment queryVisitorFieldEnvironment);
Expand Down

0 comments on commit 63cb65e

Please sign in to comment.