Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/example/authentication/src/auth/auth.controller.ts>AuthController

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class AuthController
import { AuthController } from "https://deno.land/x/deno_nest@v3.15.1/example/authentication/src/auth/auth.controller.ts";

Constructors

new
AuthController(authService: AuthService)

Methods

Skip authentication by adding @Public() decorator

get profile of current user

signIn(signInDto: SignInDto)

login