@universal-packages/trpc-authentication-apple-module
v1.1.5
Published
universal-authentication-apple-module implementation on top of trpc.
Downloads
52
Readme
tRPC Authentication Apple Module
universal-authentication-apple-module implementation on top of trpc
Router creator
createAppleModuleRouter(trpc: TRPCInstance)
Create a trpc router with the authentication apple module methods. You usually want to combine the base router with other modules.
import { initTRPC } from '@trpc/server'
import { createAuthenticationRouter, createDefaultAuthenticationModuleRouter, initialize } from '@universal-packages/trpc-authentication'
import { createAppleModuleRouter } from '@universal-packages/trpc-authentication-apple-module'
export const trpc = initTRPC.create()
export const appRouter = trpc.router({
authentication: trpc.mergeRouters(createAuthenticationRouter(trpc), createDefaultAuthenticationModuleRouter(trpc), createAppleModuleRouter(trpc))
})Typescript
This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.
