@accounts/graphql-api

@accounts/graphql-apiGlobals

Index

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

AuthDirectiveArgs

Ƭ AuthDirectiveArgs: object

Defined in packages/graphql-api/src/models.ts:308

Type declaration:


AuthDirectiveResolver

Ƭ AuthDirectiveResolver: DirectiveResolverFn‹Result, Parent, ContextType, Args›

Defined in packages/graphql-api/src/models.ts:310


AuthenticateParamsInput

Ƭ AuthenticateParamsInput: object

Defined in packages/graphql-api/src/models.ts:18

Type declaration:

  • access_token? : Maybe‹Scalars["String"]›

  • access_token_secret? : Maybe‹Scalars["String"]›

  • code? : Maybe‹Scalars["String"]›

  • password? : Maybe‹Scalars["String"]›

  • provider? : Maybe‹Scalars["String"]›

  • user? : MaybeUserInput


CreateUserInput

Ƭ CreateUserInput: object

Defined in packages/graphql-api/src/models.ts:27

Type declaration:

  • email? : Maybe‹Scalars["String"]›

  • password? : Maybe‹Scalars["String"]›

  • username? : Maybe‹Scalars["String"]›


CreateUserResult

Ƭ CreateUserResult: object

Defined in packages/graphql-api/src/models.ts:33

Type declaration:


CreateUserResultResolvers

Ƭ CreateUserResultResolvers: object

Defined in packages/graphql-api/src/models.ts:312

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • loginResult? : ResolverMaybe‹ResolversTypes["LoginResult"]›, ParentType, ContextType›

  • userId? : ResolverMaybe‹ResolversTypes["ID"]›, ParentType, ContextType›


DirectiveResolverFn

Ƭ DirectiveResolverFn: function

Defined in packages/graphql-api/src/models.ts:258

Type declaration:

▸ (next: NextResolverFn‹TResult›, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo): TResult | Promise‹TResult›

Parameters:

NameType
nextNextResolverFn‹TResult›
parentTParent
argsTArgs
contextTContext
infoGraphQLResolveInfo

DirectiveResolvers

Ƭ DirectiveResolvers: object

Defined in packages/graphql-api/src/models.ts:403

Type declaration:


EmailRecord

Ƭ EmailRecord: object

Defined in packages/graphql-api/src/models.ts:39

Type declaration:

  • __typename? : "EmailRecord"

  • address? : Maybe‹Scalars["String"]›

  • verified? : Maybe‹Scalars["Boolean"]›


EmailRecordResolvers

Ƭ EmailRecordResolvers: object

Defined in packages/graphql-api/src/models.ts:318

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • address? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • verified? : ResolverMaybe‹ResolversTypes["Boolean"]›, ParentType, ContextType›


Exact

Ƭ Exact: object

Defined in packages/graphql-api/src/models.ts:4

Type declaration:


IDirectiveResolvers

Ƭ IDirectiveResolvers: DirectiveResolvers‹ContextType›

Defined in packages/graphql-api/src/models.ts:412

deprecated Use "DirectiveResolvers" root object instead. If you wish to get "IDirectiveResolvers", add "typesPrefix: I" to your config.


IResolvers

Ƭ IResolvers: Resolvers‹ContextType›

Defined in packages/graphql-api/src/models.ts:402

deprecated Use "Resolvers" root object instead. If you wish to get "IResolvers", add "typesPrefix: I" to your config.


ImpersonateReturn

Ƭ ImpersonateReturn: object

Defined in packages/graphql-api/src/models.ts:45

Type declaration:

  • __typename? : "ImpersonateReturn"

  • authorized? : Maybe‹Scalars["Boolean"]›

  • tokens? : MaybeTokens

  • user? : MaybeUser


ImpersonateReturnResolvers

Ƭ ImpersonateReturnResolvers: object

Defined in packages/graphql-api/src/models.ts:324

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • authorized? : ResolverMaybe‹ResolversTypes["Boolean"]›, ParentType, ContextType›

  • tokens? : ResolverMaybe‹ResolversTypes["Tokens"]›, ParentType, ContextType›

  • user? : ResolverMaybe‹ResolversTypes["User"]›, ParentType, ContextType›


ImpersonationUserIdentityInput

Ƭ ImpersonationUserIdentityInput: object

Defined in packages/graphql-api/src/models.ts:52

Type declaration:

  • email? : Maybe‹Scalars["String"]›

  • userId? : Maybe‹Scalars["String"]›

  • username? : Maybe‹Scalars["String"]›


IsTypeOfResolverFn

Ƭ IsTypeOfResolverFn: function

Defined in packages/graphql-api/src/models.ts:254

Type declaration:

▸ (obj: T, context: TContext, info: GraphQLResolveInfo): boolean | Promise‹boolean›

Parameters:

NameType
objT
contextTContext
infoGraphQLResolveInfo

LoginResult

Ƭ LoginResult: object

Defined in packages/graphql-api/src/models.ts:58

Type declaration:


LoginResultResolvers

Ƭ LoginResultResolvers: object

Defined in packages/graphql-api/src/models.ts:331

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • sessionId? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • tokens? : ResolverMaybe‹ResolversTypes["Tokens"]›, ParentType, ContextType›

  • user? : ResolverMaybe‹ResolversTypes["User"]›, ParentType, ContextType›


MakeMaybe

Ƭ MakeMaybe: Omit‹T, K› & object

Defined in packages/graphql-api/src/models.ts:6


MakeOptional

Ƭ MakeOptional: Omit‹T, K› & object

Defined in packages/graphql-api/src/models.ts:5


Maybe

Ƭ Maybe: T | null

Defined in packages/graphql-api/src/models.ts:3


Mutation

Ƭ Mutation: object

Defined in packages/graphql-api/src/models.ts:65

Type declaration:


MutationAddEmailArgs

Ƭ MutationAddEmailArgs: object

Defined in packages/graphql-api/src/models.ts:110

Type declaration:

  • newEmail: Scalars["String"]

MutationAuthenticateArgs

Ƭ MutationAuthenticateArgs: object

Defined in packages/graphql-api/src/models.ts:144

Type declaration:


MutationChangePasswordArgs

Ƭ MutationChangePasswordArgs: object

Defined in packages/graphql-api/src/models.ts:115

Type declaration:

  • newPassword: Scalars["String"]

  • oldPassword: Scalars["String"]


MutationCreateUserArgs

Ƭ MutationCreateUserArgs: object

Defined in packages/graphql-api/src/models.ts:84

Type declaration:


MutationImpersonateArgs

Ƭ MutationImpersonateArgs: object

Defined in packages/graphql-api/src/models.ts:132

Type declaration:


MutationRefreshTokensArgs

Ƭ MutationRefreshTokensArgs: object

Defined in packages/graphql-api/src/models.ts:138

Type declaration:

  • accessToken: Scalars["String"]

  • refreshToken: Scalars["String"]


MutationResetPasswordArgs

Ƭ MutationResetPasswordArgs: object

Defined in packages/graphql-api/src/models.ts:94

Type declaration:

  • newPassword: Scalars["String"]

  • token: Scalars["String"]


MutationResolvers

Ƭ MutationResolvers: object

Defined in packages/graphql-api/src/models.ts:338

Type declaration:


MutationSendResetPasswordEmailArgs

Ƭ MutationSendResetPasswordEmailArgs: object

Defined in packages/graphql-api/src/models.ts:105

Type declaration:

  • email: Scalars["String"]

MutationSendVerificationEmailArgs

Ƭ MutationSendVerificationEmailArgs: object

Defined in packages/graphql-api/src/models.ts:100

Type declaration:

  • email: Scalars["String"]

MutationTwoFactorSetArgs

Ƭ MutationTwoFactorSetArgs: object

Defined in packages/graphql-api/src/models.ts:121

Type declaration:


MutationTwoFactorUnsetArgs

Ƭ MutationTwoFactorUnsetArgs: object

Defined in packages/graphql-api/src/models.ts:127

Type declaration:

  • code: Scalars["String"]

MutationVerifyAuthenticationArgs

Ƭ MutationVerifyAuthenticationArgs: object

Defined in packages/graphql-api/src/models.ts:150

Type declaration:


MutationVerifyEmailArgs

Ƭ MutationVerifyEmailArgs: object

Defined in packages/graphql-api/src/models.ts:89

Type declaration:

  • token: Scalars["String"]

NextResolverFn

Ƭ NextResolverFn: function

Defined in packages/graphql-api/src/models.ts:256

Type declaration:

▸ (): Promise‹T›


Query

Ƭ Query: object

Defined in packages/graphql-api/src/models.ts:155

Type declaration:


QueryResolvers

Ƭ QueryResolvers: object

Defined in packages/graphql-api/src/models.ts:355

Type declaration:

  • getUser? : ResolverMaybe‹ResolversTypes["User"]›, ParentType, ContextType›

  • twoFactorSecret? : ResolverMaybe‹ResolversTypes["TwoFactorSecretKey"]›, ParentType, ContextType›


RequireFields

Ƭ RequireFields: object & object

Defined in packages/graphql-api/src/models.ts:7


Resolver

Ƭ Resolver: ResolverFn‹TResult, TParent, TContext, TArgs›

Defined in packages/graphql-api/src/models.ts:207


ResolverFn

Ƭ ResolverFn: function

Defined in packages/graphql-api/src/models.ts:209

Type declaration:

▸ (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo): Promise‹TResult› | TResult

Parameters:

NameType
parentTParent
argsTArgs
contextTContext
infoGraphQLResolveInfo

ResolverTypeWrapper

Ƭ ResolverTypeWrapper: Promise‹T› | T

Defined in packages/graphql-api/src/models.ts:205


Resolvers

Ƭ Resolvers: object

Defined in packages/graphql-api/src/models.ts:385

Type declaration:


ResolversParentTypes

Ƭ ResolversParentTypes: object

Defined in packages/graphql-api/src/models.ts:288

Mapping between all available schema types and the resolvers parents

Type declaration:


ResolversTypes

Ƭ ResolversTypes: object

Defined in packages/graphql-api/src/models.ts:267

Mapping between all available schema types and the resolvers types

Type declaration:


Scalars

Ƭ Scalars: object

Defined in packages/graphql-api/src/models.ts:9

All built-in and custom scalars, mapped to their actual values

Type declaration:

  • Boolean: boolean

  • Float: number

  • ID: string

  • Int: number

  • String: string


SubscriptionObject

Ƭ SubscriptionObject: SubscriptionSubscriberObject‹TResult, TKey, TParent, TContext, TArgs› | SubscriptionResolverObject‹TResult, TParent, TContext, TArgs›

Defined in packages/graphql-api/src/models.ts:240


SubscriptionResolveFn

Ƭ SubscriptionResolveFn: function

Defined in packages/graphql-api/src/models.ts:223

Type declaration:

▸ (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo): TResult | Promise‹TResult›

Parameters:

NameType
parentTParent
argsTArgs
contextTContext
infoGraphQLResolveInfo

SubscriptionResolver

Ƭ SubscriptionResolver: function | SubscriptionObject‹TResult, TKey, TParent, TContext, TArgs›

Defined in packages/graphql-api/src/models.ts:244


SubscriptionSubscribeFn

Ƭ SubscriptionSubscribeFn: function

Defined in packages/graphql-api/src/models.ts:216

Type declaration:

▸ (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo): AsyncIterator‹TResult› | Promise‹AsyncIterator‹TResult››

Parameters:

NameType
parentTParent
argsTArgs
contextTContext
infoGraphQLResolveInfo

Tokens

Ƭ Tokens: object

Defined in packages/graphql-api/src/models.ts:161

Type declaration:

  • __typename? : "Tokens"

  • accessToken? : Maybe‹Scalars["String"]›

  • refreshToken? : Maybe‹Scalars["String"]›


TokensResolvers

Ƭ TokensResolvers: object

Defined in packages/graphql-api/src/models.ts:360

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • accessToken? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • refreshToken? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›


TwoFactorSecretKey

Ƭ TwoFactorSecretKey: object

Defined in packages/graphql-api/src/models.ts:167

Type declaration:

  • __typename? : "TwoFactorSecretKey"

  • ascii? : Maybe‹Scalars["String"]›

  • base32? : Maybe‹Scalars["String"]›

  • google_auth_qr? : Maybe‹Scalars["String"]›

  • hex? : Maybe‹Scalars["String"]›

  • otpauth_url? : Maybe‹Scalars["String"]›

  • qr_code_ascii? : Maybe‹Scalars["String"]›

  • qr_code_base32? : Maybe‹Scalars["String"]›

  • qr_code_hex? : Maybe‹Scalars["String"]›


TwoFactorSecretKeyInput

Ƭ TwoFactorSecretKeyInput: object

Defined in packages/graphql-api/src/models.ts:179

Type declaration:

  • ascii? : Maybe‹Scalars["String"]›

  • base32? : Maybe‹Scalars["String"]›

  • google_auth_qr? : Maybe‹Scalars["String"]›

  • hex? : Maybe‹Scalars["String"]›

  • otpauth_url? : Maybe‹Scalars["String"]›

  • qr_code_ascii? : Maybe‹Scalars["String"]›

  • qr_code_base32? : Maybe‹Scalars["String"]›

  • qr_code_hex? : Maybe‹Scalars["String"]›


TwoFactorSecretKeyResolvers

Ƭ TwoFactorSecretKeyResolvers: object

Defined in packages/graphql-api/src/models.ts:366

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • ascii? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • base32? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • google_auth_qr? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • hex? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • otpauth_url? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • qr_code_ascii? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • qr_code_base32? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

  • qr_code_hex? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›


TypeResolveFn

Ƭ TypeResolveFn: function

Defined in packages/graphql-api/src/models.ts:248

Type declaration:

▸ (parent: TParent, context: TContext, info: GraphQLResolveInfo): Maybe‹TTypes› | Promise‹Maybe‹TTypes››

Parameters:

NameType
parentTParent
contextTContext
infoGraphQLResolveInfo

User

Ƭ User: object

Defined in packages/graphql-api/src/models.ts:190

Type declaration:

  • __typename? : "User"

  • emails? : Maybe‹Array‹EmailRecord››

  • id: Scalars["ID"]

  • username? : Maybe‹Scalars["String"]›


UserInput

Ƭ UserInput: object

Defined in packages/graphql-api/src/models.ts:197

Type declaration:

  • email? : Maybe‹Scalars["String"]›

  • id? : Maybe‹Scalars["ID"]›

  • username? : Maybe‹Scalars["String"]›


UserResolvers

Ƭ UserResolvers: object

Defined in packages/graphql-api/src/models.ts:378

Type declaration:

  • __isTypeOf? : IsTypeOfResolverFn‹ParentType, ContextType›

  • emails? : ResolverMaybe‹Array‹ResolversTypes["EmailRecord"]››, ParentType, ContextType›

  • id? : Resolver‹ResolversTypes["ID"], ParentType, ContextType›

  • username? : ResolverMaybe‹ResolversTypes["String"]›, ParentType, ContextType›

Variables

Const AccountsModule

AccountsModule: GraphQLModule‹AccountsModuleConfig, AccountsRequest, AccountsModuleContext = new GraphQLModule<AccountsModuleConfig, AccountsRequest, AccountsModuleContext>({ name: 'accounts', typeDefs: ({ config }) => mergeTypeDefs( [ TypesTypeDefs, getQueryTypeDefs(config), getMutationTypeDefs(config), ...getSchemaDef(config), ], { useSchemaDefinition: config.withSchemaDefinition, } ), resolvers: ({ config }) => ({

[config.rootQueryName || 'Query']: Query,
[config.rootMutationName || 'Mutation']: Mutation,
User: UserResolvers,
} as any),

// If necessary, import AccountsPasswordModule together with this module imports: ({ config }) => [ CoreAccountsModule.forRoot({ userAsInterface: config.userAsInterface, }), ...(config.accountsServer.getServices().password ? [ AccountsPasswordModule.forRoot({ accountsPassword: config.accountsServer.getServices().password as AccountsPassword, ...config, }), ] : []), ], providers: ({ config }) => [ { provide: AccountsServer, useValue: config.accountsServer, }, ], context: context('accounts'), schemaDirectives: { auth: AuthenticatedDirective, }, configRequired: true, })

Defined in packages/graphql-api/src/modules/accounts/index.ts:46


Const AccountsPasswordModule

AccountsPasswordModule: GraphQLModule‹AccountsPasswordModuleConfig, AccountsRequest = new GraphQLModule<AccountsPasswordModuleConfig, AccountsRequest>({ name: 'accounts-password', typeDefs: ({ config }) => [TypesTypeDefs, getQueryTypeDefs(config), getMutationTypeDefs(config)], resolvers: ({ config }) => ({

[config.rootQueryName || 'Query']: Query,
[config.rootMutationName || 'Mutation']: Mutation,
} as any),

imports: ({ config }) => [ CoreAccountsModule.forRoot({ userAsInterface: config.userAsInterface, }), ], providers: ({ config }) => [ { provide: AccountsServer, useValue: config.accountsServer, }, { provide: AccountsPassword, useValue: config.accountsPassword, }, ], context: context('accounts-password'), configRequired: true, })

Defined in packages/graphql-api/src/modules/accounts-password/index.ts:25


Const CoreAccountsModule

CoreAccountsModule: GraphQLModule‹CoreAccountsModuleConfig = new GraphQLModule( { typeDefs: ({ config }) => makeSchema(config), resolvers: {}, imports: [], } )

Defined in packages/graphql-api/src/modules/core/index.ts:8


Const User

User: object

Defined in packages/graphql-api/src/modules/accounts/resolvers/user.ts:1

Type declaration:

Functions

Const authenticated

authenticatedCustomRoot, CustomArgs, CustomContext, Info, ReturnType›(func: function): (Anonymous function)

Defined in packages/graphql-api/src/utils/authenticated-resolver.ts:1

Type parameters:

CustomRoot

CustomArgs

CustomContext: object

Info

ReturnType

Parameters:

func: function

▸ (root: CustomRoot, args: CustomArgs, context: CustomContext, info: Info): ReturnType | Promise‹ReturnType›

Parameters:

NameType
rootCustomRoot
argsCustomArgs
contextCustomContext
infoInfo

Returns: (Anonymous function)


Const context

context(moduleName: string): (Anonymous function)

Defined in packages/graphql-api/src/utils/context-builder.ts:5

Parameters:

NameType
moduleNamestring

Returns: (Anonymous function)

Object literals

Const Mutation

Mutation: object

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:6

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:13

addEmail

addEmail(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:14

Parameters:

_: object

__namedParameters: object

NameType
newEmailstring

__namedParameters: object

NameType
injectorInjector‹any›
userUser

Returns: Promise‹any›

authenticate

authenticate(_: object, args: object & object, ctx: AccountsModuleContext‹User› & object): Promise‹LoginResult›

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:7

Parameters:

NameType
_object
argsobject & object
ctxAccountsModuleContext‹User› & object

Returns: Promise‹LoginResult›

changePassword

changePassword(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:23

Parameters:

_: object

__namedParameters: object

NameType
newPasswordstring
oldPasswordstring

__namedParameters: object

NameType
injectorInjector‹any›
userUser

Returns: Promise‹any›

createUser

createUser(_: object, __namedParameters: object, ctx: AccountsModuleContext‹User› & object): Promise‹object | object | object›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:32

Parameters:

_: object

__namedParameters: object

NameType
userobject

ctx: AccountsModuleContext‹User› & object

Returns: Promise‹object | object | object›

impersonate

impersonate(_: object, args: object & object, ctx: AccountsModuleContext‹User› & object): Promise‹ImpersonationResult›

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:25

Parameters:

NameType
_object
argsobject & object
ctxAccountsModuleContext‹User› & object

Returns: Promise‹ImpersonationResult›

logout

logout(_: object, __: object, context: AccountsModuleContext‹User› & object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:47

Parameters:

NameType
_object
__object
contextAccountsModuleContext‹User› & object

Returns: Promise‹any›

refreshTokens

refreshTokens(_: object, args: object & object, ctx: AccountsModuleContext‹User› & object): Promise‹LoginResult›

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:56

Parameters:

NameType
_object
argsobject & object
ctxAccountsModuleContext‹User› & object

Returns: Promise‹LoginResult›

resetPassword

resetPassword(_: object, __namedParameters: object, __namedParameters: object): Promise‹LoginResult›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:97

Parameters:

_: object

__namedParameters: object

NameType
newPasswordstring
tokenstring

__namedParameters: object

NameType
infosConnectionInformations
injectorInjector‹any›

Returns: Promise‹LoginResult›

sendResetPasswordEmail

sendResetPasswordEmail(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:100

Parameters:

_: object

__namedParameters: object

NameType
emailstring

__namedParameters: object

NameType
injectorInjector‹any›

Returns: Promise‹any›

sendVerificationEmail

sendVerificationEmail(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:125

Parameters:

_: object

__namedParameters: object

NameType
emailstring

__namedParameters: object

NameType
injectorInjector‹any›

Returns: Promise‹any›

twoFactorSet

twoFactorSet(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:75

Parameters:

_: object

__namedParameters: object

NameType
codestring
secretobject

__namedParameters: object

NameType
injectorInjector‹any›
userUser

Returns: Promise‹any›

twoFactorUnset

twoFactorUnset(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:86

Parameters:

_: object

__namedParameters: object

NameType
codestring

__namedParameters: object

NameType
injectorInjector‹any›
userUser

Returns: Promise‹any›

verifyAuthentication

verifyAuthentication(_: object, args: object & object, ctx: AccountsModuleContext‹User› & object): Promise‹boolean›

Defined in packages/graphql-api/src/modules/accounts/resolvers/mutation.ts:16

Parameters:

NameType
_object
argsobject & object
ctxAccountsModuleContext‹User› & object

Returns: Promise‹boolean›

verifyEmail

verifyEmail(_: object, __namedParameters: object, __namedParameters: object): Promise‹any›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/mutation.ts:121

Parameters:

_: object

__namedParameters: object

NameType
tokenstring

__namedParameters: object

NameType
injectorInjector‹any›

Returns: Promise‹any›


Const Query

Query: object

Defined in packages/graphql-api/src/modules/accounts/resolvers/query.ts:5

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/query.ts:6

getUser

getUser(_: object, __: object, context: AccountsModuleContext‹User› & object): User

Defined in packages/graphql-api/src/modules/accounts/resolvers/query.ts:6

Parameters:

NameType
_object
__object
contextAccountsModuleContext‹User› & object

Returns: User

twoFactorSecret

twoFactorSecret(_: object, args: object, ctx: AccountsModuleContext‹User› & object): Promise‹Key›

Defined in packages/graphql-api/src/modules/accounts-password/resolvers/query.ts:7

Parameters:

NameType
_object
argsobject
ctxAccountsModuleContext‹User› & object

Returns: Promise‹Key›