Skip to content

setup two factor

POST
/api/v1/auth/setup-2fa

Controller:

github.com/raghavyuva/nixopus-api/internal/features/auth/controller.(*AuthController).SetupTwoFactor

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2

Parameters

Header Parameters

Accept
Type
string

Responses

OK

JSON
{
"data": {
"qr_code": "string",
"secret": "string"
},
"message": "string",
"status": "string"
}

Playground

Server
Headers

Samples

Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)