Class DenyAnonymousExtension

java.lang.Object
com.atlassian.confluence.plugins.graphql.extensions.DenyAnonymousExtension
All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLExtensions, com.atlassian.graphql.spi.GraphQLTypeContributor

public class DenyAnonymousExtension extends Object implements com.atlassian.graphql.spi.GraphQLExtensions
A graphql extension to deny field queries for anonymous access, unless AnonymousSiteAccess is applied to the provider class.
Since:
6.12.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    graphql.schema.DataFetcher
    getDataFetcherThunk(Type type, Member accessor, graphql.schema.DataFetcher dataFetcher)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.atlassian.graphql.spi.GraphQLExtensions

    contributeFields, contributeTypeName, getAdditionalTypeBuilders, getDataFetcher, getExpansionRootPaths, getInstrumentation, getValueTransformer, isExpansionField
  • Constructor Details

    • DenyAnonymousExtension

      public DenyAnonymousExtension()
  • Method Details

    • getDataFetcherThunk

      public graphql.schema.DataFetcher getDataFetcherThunk(Type type, Member accessor, graphql.schema.DataFetcher dataFetcher)
      Specified by:
      getDataFetcherThunk in interface com.atlassian.graphql.spi.GraphQLExtensions