@accounts/module-password
Index
Functions
Interfaces
Type Aliases
- AuthenticateParamsInput
- CreateUserInput
- CreateUserResult
- CreateUserResultResolvers
- DirectiveResolverFn
- EmailRecord
- EmailRecordResolvers
- Exact
- ImpersonateReturn
- ImpersonateReturnResolvers
- ImpersonationUserIdentityInput
- Incremental
- InputMaybe
- IsTypeOfResolverFn
- LoginResult
- LoginResultResolvers
- MakeEmpty
- MakeMaybe
- MakeOptional
- Maybe
- Mutation
- MutationAddEmailArgs
- MutationAuthenticateArgs
- MutationChangePasswordArgs
- MutationCreateUserArgs
- MutationImpersonateArgs
- MutationRefreshTokensArgs
- MutationResetPasswordArgs
- MutationResolvers
- MutationSendResetPasswordEmailArgs
- MutationSendVerificationEmailArgs
- MutationTwoFactorSetArgs
- MutationTwoFactorUnsetArgs
- MutationVerifyAuthenticationArgs
- MutationVerifyEmailArgs
- NextResolverFn
- Query
- QueryResolvers
- RequireFields
- Resolver
- ResolverFn
- ResolverTypeWrapper
- Resolvers
- ResolversParentTypes
- ResolversTypes
- Scalars
- SubscriptionObject
- SubscriptionResolveFn
- SubscriptionResolver
- SubscriptionSubscribeFn
- Tokens
- TokensResolvers
- TwoFactorSecretKey
- TwoFactorSecretKeyInput
- TwoFactorSecretKeyResolvers
- TypeResolveFn
- User
- UserInput
- UserResolvers
Type Aliases
AuthenticateParamsInput
Type declaration
optionalaccess_token?: InputMaybe<Scalars[String][input]>
optionalaccess_token_secret?: InputMaybe<Scalars[String][input]>
optionalcode?: InputMaybe<Scalars[String][input]>
optionalpassword?: InputMaybe<Scalars[String][input]>
optionalprovider?: InputMaybe<Scalars[String][input]>
optionaltoken?: InputMaybe<Scalars[String][input]>
optionaluser?: InputMaybe<UserInput>
CreateUserInput
Type declaration
optionalemail?: InputMaybe<Scalars[String][input]>
optionalpassword?: InputMaybe<Scalars[String][input]>
optionalusername?: InputMaybe<Scalars[String][input]>
CreateUserResult
Type declaration
optional__typename?: CreateUserResult
optionalloginResult?: Maybe<LoginResult>
optionaluserId?: Maybe<Scalars[ID][output]>
CreateUserResultResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[CreateUserResult] = ResolversParentTypes[CreateUserResult]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalloginResult?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType>
optionaluserId?: Resolver<Maybe<ResolversTypes[ID]>, ParentType, ContextType>
DirectiveResolverFn
Type parameters
- TResult = {}
- TParent = {}
- TContext = {}
- TArgs = {}
Type declaration
Parameters
next: NextResolverFn<TResult>
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns TResult | Promise<TResult>
EmailRecord
EmailRecordResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[EmailRecord] = ResolversParentTypes[EmailRecord]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionaladdress?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalverified?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
Exact
Type parameters
- T: {}
ImpersonateReturn
ImpersonateReturnResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[ImpersonateReturn] = ResolversParentTypes[ImpersonateReturn]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalauthorized?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
optionaltokens?: Resolver<Maybe<ResolversTypes[Tokens]>, ParentType, ContextType>
optionaluser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
ImpersonationUserIdentityInput
Type declaration
optionalemail?: InputMaybe<Scalars[String][input]>
optionaluserId?: InputMaybe<Scalars[String][input]>
optionalusername?: InputMaybe<Scalars[String][input]>
Incremental
Type parameters
- T
InputMaybe
Type parameters
- T
IsTypeOfResolverFn
Type parameters
- T = {}
- TContext = {}
Type declaration
Parameters
obj: T
context: TContext
info: GraphQLResolveInfo
Returns boolean | Promise<boolean>
LoginResult
LoginResultResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[LoginResult] = ResolversParentTypes[LoginResult]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalsessionId?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionaltokens?: Resolver<Maybe<ResolversTypes[Tokens]>, ParentType, ContextType>
optionaluser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
MakeEmpty
Type parameters
- T: {}
- K: keyof T
MakeMaybe
Type parameters
- T
- K: keyof T
MakeOptional
Type parameters
- T
- K: keyof T
Maybe
Type parameters
- T
Mutation
Type declaration
optional__typename?: Mutation
optionaladdEmail?: Maybe<Scalars[Boolean][output]>
optionalauthenticate?: Maybe<LoginResult>
optionalchangePassword?: Maybe<Scalars[Boolean][output]>
optionalcreateUser?: Maybe<CreateUserResult>
optionalimpersonate?: Maybe<ImpersonateReturn>
optionallogout?: Maybe<Scalars[Boolean][output]>
optionalrefreshTokens?: Maybe<LoginResult>
optionalresetPassword?: Maybe<LoginResult>
optionalsendResetPasswordEmail?: Maybe<Scalars[Boolean][output]>
optionalsendVerificationEmail?: Maybe<Scalars[Boolean][output]>
optionaltwoFactorSet?: Maybe<Scalars[Boolean][output]>
optionaltwoFactorUnset?: Maybe<Scalars[Boolean][output]>
optionalverifyAuthentication?: Maybe<Scalars[Boolean][output]>
optionalverifyEmail?: Maybe<Scalars[Boolean][output]>
MutationAddEmailArgs
Type declaration
newEmail: Scalars[String][input]
MutationAuthenticateArgs
Type declaration
params: AuthenticateParamsInput
serviceName: Scalars[String][input]
MutationChangePasswordArgs
MutationCreateUserArgs
Type declaration
user: CreateUserInput
MutationImpersonateArgs
Type declaration
accessToken: Scalars[String][input]
impersonated: ImpersonationUserIdentityInput
MutationRefreshTokensArgs
MutationResetPasswordArgs
MutationResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Mutation] = ResolversParentTypes[Mutation]
Type declaration
optionaladdEmail?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationAddEmailArgs, newEmail>>
optionalauthenticate?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType, RequireFields<MutationAuthenticateArgs, params | serviceName>>
optionalchangePassword?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationChangePasswordArgs, newPassword | oldPassword>>
optionalcreateUser?: Resolver<Maybe<ResolversTypes[CreateUserResult]>, ParentType, ContextType, RequireFields<MutationCreateUserArgs, user>>
optionalimpersonate?: Resolver<Maybe<ResolversTypes[ImpersonateReturn]>, ParentType, ContextType, RequireFields<MutationImpersonateArgs, accessToken | impersonated>>
optionallogout?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType>
optionalrefreshTokens?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType, RequireFields<MutationRefreshTokensArgs, accessToken | refreshToken>>
optionalresetPassword?: Resolver<Maybe<ResolversTypes[LoginResult]>, ParentType, ContextType, RequireFields<MutationResetPasswordArgs, newPassword | token>>
optionalsendResetPasswordEmail?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationSendResetPasswordEmailArgs, email>>
optionalsendVerificationEmail?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationSendVerificationEmailArgs, email>>
optionaltwoFactorSet?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationTwoFactorSetArgs, code | secret>>
optionaltwoFactorUnset?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationTwoFactorUnsetArgs, code>>
optionalverifyAuthentication?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationVerifyAuthenticationArgs, params | serviceName>>
optionalverifyEmail?: Resolver<Maybe<ResolversTypes[Boolean]>, ParentType, ContextType, RequireFields<MutationVerifyEmailArgs, token>>
MutationSendResetPasswordEmailArgs
Type declaration
email: Scalars[String][input]
MutationSendVerificationEmailArgs
Type declaration
email: Scalars[String][input]
MutationTwoFactorSetArgs
Type declaration
code: Scalars[String][input]
secret: TwoFactorSecretKeyInput
MutationTwoFactorUnsetArgs
Type declaration
code: Scalars[String][input]
MutationVerifyAuthenticationArgs
Type declaration
params: AuthenticateParamsInput
serviceName: Scalars[String][input]
MutationVerifyEmailArgs
Type declaration
token: Scalars[String][input]
NextResolverFn
Type parameters
- T
Type declaration
Returns Promise<T>
Query
Type declaration
optional__typename?: Query
optionalgetUser?: Maybe<User>
optionaltwoFactorSecret?: Maybe<TwoFactorSecretKey>
QueryResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Query] = ResolversParentTypes[Query]
Type declaration
optionalgetUser?: Resolver<Maybe<ResolversTypes[User]>, ParentType, ContextType>
optionaltwoFactorSecret?: Resolver<Maybe<ResolversTypes[TwoFactorSecretKey]>, ParentType, ContextType>
RequireFields
Type parameters
- T
- K: keyof T
Resolver
Type parameters
- TResult
- TParent = {}
- TContext = {}
- TArgs = {}
ResolverFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns Promise<TResult> | TResult
ResolverTypeWrapper
Type parameters
- T
Resolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
Type declaration
optionalCreateUserResult?: CreateUserResultResolvers<ContextType>
optionalEmailRecord?: EmailRecordResolvers<ContextType>
optionalImpersonateReturn?: ImpersonateReturnResolvers<ContextType>
optionalLoginResult?: LoginResultResolvers<ContextType>
optionalMutation?: MutationResolvers<ContextType>
optionalQuery?: QueryResolvers<ContextType>
optionalTokens?: TokensResolvers<ContextType>
optionalTwoFactorSecretKey?: TwoFactorSecretKeyResolvers<ContextType>
optionalUser?: UserResolvers<ContextType>
ResolversParentTypes
Type declaration
AuthenticateParamsInput: AuthenticateParamsInput
Boolean: Scalars[Boolean][output]
CreateUserInput: CreateUserInput
CreateUserResult: CreateUserResult
EmailRecord: EmailRecord
ID: Scalars[ID][output]
ImpersonateReturn: ImpersonateReturn
ImpersonationUserIdentityInput: ImpersonationUserIdentityInput
LoginResult: LoginResult
Mutation: {}
Query: {}
String: Scalars[String][output]
Tokens: Tokens
TwoFactorSecretKey: TwoFactorSecretKey
TwoFactorSecretKeyInput: TwoFactorSecretKeyInput
User: User
UserInput: UserInput
ResolversTypes
Mapping between all available schema types and the resolvers types
Type declaration
AuthenticateParamsInput: AuthenticateParamsInput
Boolean: ResolverTypeWrapper<Scalars[Boolean][output]>
CreateUserInput: CreateUserInput
CreateUserResult: ResolverTypeWrapper<CreateUserResult>
EmailRecord: ResolverTypeWrapper<EmailRecord>
ID: ResolverTypeWrapper<Scalars[ID][output]>
ImpersonateReturn: ResolverTypeWrapper<ImpersonateReturn>
ImpersonationUserIdentityInput: ImpersonationUserIdentityInput
LoginResult: ResolverTypeWrapper<LoginResult>
Mutation: ResolverTypeWrapper<{}>
Query: ResolverTypeWrapper<{}>
String: ResolverTypeWrapper<Scalars[String][output]>
Tokens: ResolverTypeWrapper<Tokens>
TwoFactorSecretKey: ResolverTypeWrapper<TwoFactorSecretKey>
TwoFactorSecretKeyInput: TwoFactorSecretKeyInput
User: ResolverTypeWrapper<User>
UserInput: UserInput
Scalars
All built-in and custom scalars, mapped to their actual values
Type declaration
Boolean: { input: boolean; output: boolean }
input: boolean
output: boolean
Float: { input: number; output: number }
input: number
output: number
ID: { input: string; output: string }
input: string
output: string
Int: { input: number; output: number }
input: number
output: number
String: { input: string; output: string }
input: string
output: string
SubscriptionObject
Type parameters
- TResult
- TKey: string
- TParent
- TContext
- TArgs
SubscriptionResolveFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns TResult | Promise<TResult>
SubscriptionResolver
Type parameters
- TResult
- TKey: string
- TParent = {}
- TContext = {}
- TArgs = {}
SubscriptionSubscribeFn
Type parameters
- TResult
- TParent
- TContext
- TArgs
Type declaration
Parameters
parent: TParent
args: TArgs
context: TContext
info: GraphQLResolveInfo
Returns AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>
Tokens
TokensResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[Tokens] = ResolversParentTypes[Tokens]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalaccessToken?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalrefreshToken?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
TwoFactorSecretKey
Type declaration
optional__typename?: TwoFactorSecretKey
optionalascii?: Maybe<Scalars[String][output]>
optionalbase32?: Maybe<Scalars[String][output]>
optionalgoogle_auth_qr?: Maybe<Scalars[String][output]>
optionalhex?: Maybe<Scalars[String][output]>
optionalotpauth_url?: Maybe<Scalars[String][output]>
optionalqr_code_ascii?: Maybe<Scalars[String][output]>
optionalqr_code_base32?: Maybe<Scalars[String][output]>
optionalqr_code_hex?: Maybe<Scalars[String][output]>
TwoFactorSecretKeyInput
Type declaration
optionalascii?: InputMaybe<Scalars[String][input]>
optionalbase32?: InputMaybe<Scalars[String][input]>
optionalgoogle_auth_qr?: InputMaybe<Scalars[String][input]>
optionalhex?: InputMaybe<Scalars[String][input]>
optionalotpauth_url?: InputMaybe<Scalars[String][input]>
optionalqr_code_ascii?: InputMaybe<Scalars[String][input]>
optionalqr_code_base32?: InputMaybe<Scalars[String][input]>
optionalqr_code_hex?: InputMaybe<Scalars[String][input]>
TwoFactorSecretKeyResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[TwoFactorSecretKey] = ResolversParentTypes[TwoFactorSecretKey]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalascii?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalbase32?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalgoogle_auth_qr?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalhex?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalotpauth_url?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalqr_code_ascii?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalqr_code_base32?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
optionalqr_code_hex?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
TypeResolveFn
User
Type declaration
optional__typename?: User
optionalemails?: Maybe<EmailRecord[]>
id: Scalars[ID][output]
optionalusername?: Maybe<Scalars[String][output]>
UserInput
Type declaration
optionalemail?: InputMaybe<Scalars[String][input]>
optionalid?: InputMaybe<Scalars[ID][input]>
optionalusername?: InputMaybe<Scalars[String][input]>
UserResolvers
Type parameters
- ContextType = AccountsContextGraphQLModules
- ParentType: ResolversParentTypes[User] = ResolversParentTypes[User]
Type declaration
optional__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>
optionalemails?: Resolver<Maybe<ResolversTypes[EmailRecord][]>, ParentType, ContextType>
optionalid?: Resolver<ResolversTypes[ID], ParentType, ContextType>
optionalusername?: Resolver<Maybe<ResolversTypes[String]>, ParentType, ContextType>
Mapping between all available schema types and the resolvers parents