Skip to main content

Class: TokenDirective

Hierarchy

  • SchemaDirectiveVisitor

    โ†ณ TokenDirective

Properties

schema

โ€ข schema: GraphQLSchema

Inherited from

SchemaDirectiveVisitor.schema

Defined in

.yarn/virtual/graphql-tools-virtual-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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-da89c43c92/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

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

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-da89c43c92/0/cache/graphql-tools-npm-4.0.8-8345536f34-6a2dc7f158.zip/node_modules/graphql-tools/dist/schemaVisitor.d.ts:51