AuthenticatedDirective

@accounts/graphql-apiGlobalsAuthenticatedDirective

Type parameters

TArgs

TContext

Hierarchy

  • SchemaDirectiveVisitor

    AuthenticatedDirective

Index

Constructors

Properties

Methods

Constructors

Protected constructor

+ new AuthenticatedDirective(config: object): AuthenticatedDirective

Inherited from AuthenticatedDirective.constructor

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:17

Parameters:

config: object

NameType
argsTArgs
contextTContext
namestring
schemaGraphQLSchema
visitedTypeVisitableSchemaType

Returns: AuthenticatedDirective

Properties

args

args: TArgs

Inherited from AuthenticatedDirective.args

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:10


context

context: TContext

Inherited from AuthenticatedDirective.context

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:12


name

name: string

Inherited from AuthenticatedDirective.name

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:9


schema

schema: GraphQLSchema

Inherited from AuthenticatedDirective.schema

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:3


visitedType

visitedType: VisitableSchemaType

Inherited from AuthenticatedDirective.visitedType

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:11

Methods

visitArgumentDefinition

visitArgumentDefinition(_argument: GraphQLArgument, _details: object): GraphQLArgument | void | null

Inherited from AuthenticatedDirective.visitArgumentDefinition

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:11

Parameters:

_argument: GraphQLArgument

_details: object

NameType
fieldGraphQLField‹any, any›
objectTypeGraphQLObjectType | GraphQLInterfaceType

Returns: GraphQLArgument | void | null


visitEnum

visitEnum(_type: GraphQLEnumType): GraphQLEnumType | void | null

Inherited from AuthenticatedDirective.visitEnum

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:17

Parameters:

NameType
_typeGraphQLEnumType

Returns: GraphQLEnumType | void | null


visitEnumValue

visitEnumValue(_value: GraphQLEnumValue, _details: object): GraphQLEnumValue | void | null

Inherited from AuthenticatedDirective.visitEnumValue

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:18

Parameters:

_value: GraphQLEnumValue

_details: object

NameType
enumTypeGraphQLEnumType

Returns: GraphQLEnumValue | void | null


visitFieldDefinition

visitFieldDefinition(field: any): void

Overrides void

Defined in packages/graphql-api/src/utils/authenticated-directive.ts:4

Parameters:

NameType
fieldany

Returns: void


visitInputFieldDefinition

visitInputFieldDefinition(_field: GraphQLInputField, _details: object): GraphQLInputField | void | null

Inherited from AuthenticatedDirective.visitInputFieldDefinition

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:22

Parameters:

_field: GraphQLInputField

_details: object

NameType
objectTypeGraphQLInputObjectType

Returns: GraphQLInputField | void | null


visitInputObject

visitInputObject(_object: GraphQLInputObjectType): GraphQLInputObjectType | void | null

Inherited from AuthenticatedDirective.visitInputObject

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:21

Parameters:

NameType
_objectGraphQLInputObjectType

Returns: GraphQLInputObjectType | void | null


visitInterface

visitInterface(_iface: GraphQLInterfaceType): GraphQLInterfaceType | void | null

Inherited from AuthenticatedDirective.visitInterface

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:15

Parameters:

NameType
_ifaceGraphQLInterfaceType

Returns: GraphQLInterfaceType | void | null


visitObject

visitObject(object: any): void

Overrides void

Defined in packages/graphql-api/src/utils/authenticated-directive.ts:7

Parameters:

NameType
objectany

Returns: void


visitScalar

visitScalar(_scalar: GraphQLScalarType): GraphQLScalarType | void | null

Inherited from AuthenticatedDirective.visitScalar

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:6

Parameters:

NameType
_scalarGraphQLScalarType

Returns: GraphQLScalarType | void | null


visitSchema

visitSchema(_schema: GraphQLSchema): void

Inherited from AuthenticatedDirective.visitSchema

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:5

Parameters:

NameType
_schemaGraphQLSchema

Returns: void


visitUnion

visitUnion(_union: GraphQLUnionType): GraphQLUnionType | void | null

Inherited from AuthenticatedDirective.visitUnion

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:16

Parameters:

NameType
_unionGraphQLUnionType

Returns: GraphQLUnionType | void | null


Static Protected getDeclaredDirectives

getDeclaredDirectives(schema: GraphQLSchema, directiveVisitors: Record‹string, typeof SchemaDirectiveVisitor›): Record‹string, GraphQLDirective›

Inherited from AuthenticatedDirective.getDeclaredDirectives

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:17

Parameters:

NameType
schemaGraphQLSchema
directiveVisitorsRecord‹string, typeof SchemaDirectiveVisitor›

Returns: Record‹string, GraphQLDirective›


Static getDirectiveDeclaration

getDirectiveDeclaration(directiveName: string, schema: GraphQLSchema): GraphQLDirective | null | undefined

Inherited from AuthenticatedDirective.getDirectiveDeclaration

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:13

Parameters:

NameType
directiveNamestring
schemaGraphQLSchema

Returns: GraphQLDirective | null | undefined


Static implementsVisitorMethod

implementsVisitorMethod(methodName: string): boolean

Inherited from AuthenticatedDirective.implementsVisitorMethod

Defined in node_modules/graphql-tools/utils/SchemaVisitor.d.ts:4

Parameters:

NameType
methodNamestring

Returns: boolean


Static visitSchemaDirectives

visitSchemaDirectives(schema: GraphQLSchema, directiveVisitors: Record‹string, typeof SchemaDirectiveVisitor›, context?: object): Record‹string, Array‹SchemaDirectiveVisitor››

Inherited from AuthenticatedDirective.visitSchemaDirectives

Defined in node_modules/graphql-tools/utils/SchemaDirectiveVisitor.d.ts:14

Parameters:

NameType
schemaGraphQLSchema
directiveVisitorsRecord‹string, typeof SchemaDirectiveVisitor›
context?object

Returns: Record‹string, Array‹SchemaDirectiveVisitor››