Skip to main content

Class: TokenDirective

Hierarchy

  • SchemaDirectiveVisitor

    ↳ TokenDirective

Properties

schema

β€’ schema: GraphQLSchema

Inherited from

SchemaDirectiveVisitor.schema

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:4


name

β€’ name: string

Inherited from

SchemaDirectiveVisitor.name

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:30


args

β€’ args: Object

Index signature

β–ͺ [name: string]: any

Inherited from

SchemaDirectiveVisitor.args

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:31


visitedType

β€’ visitedType: VisitableSchemaType

Inherited from

SchemaDirectiveVisitor.visitedType

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:34


context

β€’ context: Object

Index signature

β–ͺ [key: string]: any

Inherited from

SchemaDirectiveVisitor.context

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:35

Methods

implementsVisitorMethod

β–Έ Static implementsVisitorMethod(methodName): boolean

Parameters

NameType
methodNamestring

Returns

boolean

Inherited from

SchemaDirectiveVisitor.implementsVisitorMethod

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:5


visitSchema

β–Έ visitSchema(schema): void

Parameters

NameType
schemaGraphQLSchema

Returns

void

Inherited from

SchemaDirectiveVisitor.visitSchema

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:6


visitScalar

β–Έ visitScalar(scalar): null | void | GraphQLScalarType

Parameters

NameType
scalarGraphQLScalarType

Returns

null | void | GraphQLScalarType

Inherited from

SchemaDirectiveVisitor.visitScalar

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:7


visitObject

β–Έ visitObject(object): null | void | GraphQLObjectType<any, any>

Parameters

NameType
objectGraphQLObjectType<any, any>

Returns

null | void | GraphQLObjectType<any, any>

Inherited from

SchemaDirectiveVisitor.visitObject

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:8


visitArgumentDefinition

β–Έ visitArgumentDefinition(argument, details): null | void | GraphQLArgument

Parameters

NameType
argumentGraphQLArgument
detailsObject
details.fieldGraphQLField<any, any, Object>
details.objectTypeGraphQLInterfaceType | GraphQLObjectType<any, any>

Returns

null | void | GraphQLArgument

Inherited from

SchemaDirectiveVisitor.visitArgumentDefinition

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:12


visitInterface

β–Έ visitInterface(iface): null | void | GraphQLInterfaceType

Parameters

NameType
ifaceGraphQLInterfaceType

Returns

null | void | GraphQLInterfaceType

Inherited from

SchemaDirectiveVisitor.visitInterface

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:16


visitUnion

β–Έ visitUnion(union): null | void | GraphQLUnionType

Parameters

NameType
unionGraphQLUnionType

Returns

null | void | GraphQLUnionType

Inherited from

SchemaDirectiveVisitor.visitUnion

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:17


visitEnum

β–Έ visitEnum(type): null | void | GraphQLEnumType

Parameters

NameType
typeGraphQLEnumType

Returns

null | void | GraphQLEnumType

Inherited from

SchemaDirectiveVisitor.visitEnum

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:18


visitEnumValue

β–Έ visitEnumValue(value, details): null | void | GraphQLEnumValue

Parameters

NameType
valueGraphQLEnumValue
detailsObject
details.enumTypeGraphQLEnumType

Returns

null | void | GraphQLEnumValue

Inherited from

SchemaDirectiveVisitor.visitEnumValue

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:19


visitInputObject

β–Έ visitInputObject(object): null | void | GraphQLInputObjectType

Parameters

NameType
objectGraphQLInputObjectType

Returns

null | void | GraphQLInputObjectType

Inherited from

SchemaDirectiveVisitor.visitInputObject

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:22


getDirectiveDeclaration

β–Έ Static getDirectiveDeclaration(directiveName, schema): GraphQLDirective

Parameters

NameType
directiveNamestring
schemaGraphQLSchema

Returns

GraphQLDirective

Inherited from

SchemaDirectiveVisitor.getDirectiveDeclaration

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:38


visitSchemaDirectives

β–Έ Static visitSchemaDirectives(schema, directiveVisitors, context?): Object

Parameters

NameType
schemaGraphQLSchema
directiveVisitorsObject
context?Object

Returns

Object

Inherited from

SchemaDirectiveVisitor.visitSchemaDirectives

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:39


getDeclaredDirectives

β–Έ Static Protected getDeclaredDirectives(schema, directiveVisitors): Object

Parameters

NameType
schemaGraphQLSchema
directiveVisitorsObject

Returns

Object

Inherited from

SchemaDirectiveVisitor.getDeclaredDirectives

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:46


visitFieldDefinition

β–Έ visitFieldDefinition(field): void

Parameters

NameType
fieldGraphQLField<any, string, Object>

Returns

void

Overrides

SchemaDirectiveVisitor.visitFieldDefinition

Defined in

lunadefend/js/sdks/packages/node-sdk/src/graphql/lunasec-token-directive.ts:49


visitInputFieldDefinition

β–Έ visitInputFieldDefinition(field, details): void

Parameters

NameType
fieldGraphQLInputField
detailsany

Returns

void

Overrides

SchemaDirectiveVisitor.visitInputFieldDefinition

Defined in

lunadefend/js/sdks/packages/node-sdk/src/graphql/lunasec-token-directive.ts:75

Constructors

constructor

β€’ Protected new TokenDirective(config)

Parameters

NameType
configObject
config.namestring
config.argsObject
config.visitedTypeVisitableSchemaType
config.schemaGraphQLSchema
config.contextObject

Inherited from

SchemaDirectiveVisitor.constructor

Defined in

.yarn/virtual/graphql-tools-virtual-59a42bda69/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:51