Ir al contenido principal

Autenticacion por dos (1)

Nombre del servicio

  • Módulo: Auth
  • Servicio:

Contexto funcional

  • ¿Cuándo se usa? Cuando ingresa al modulo “Auth”
  • ¿Qué hace?
  • Pantallazo de la app:

image.png

Detalles técnicos

Request ejemplo:

{
    "username": "76458910"
}

Response ejemplo:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Server Error</title>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="<https://fonts.googleapis.com/css?family=Nunito>" rel="stylesheet">

    <!-- Styles -->
    <style>
        html,
        body {
            background-color: #fff;
            color: #636b6f;
            font-family: 'Nunito', sans-serif;
            font-weight: 100;
            height: 100vh;
            margin: 0;
        }

        .full-height {
            height: 100vh;
        }

        .flex-center {
            align-items: center;
            display: flex;
            justify-content: center;
        }

        .position-ref {
            position: relative;
        }

        .code {
            border-right: 2px solid;
            font-size: 26px;
            padding: 0 15px 0 15px;
            text-align: center;
        }

        .message {
            font-size: 18px;
            text-align: center;
        }
    </style>
</head>

<body>
    <div class="flex-center position-ref full-height">
        <div class="code">
            500 </div>

        <div class="message" style="padding: 10px;">
            Server Error </div>
    </div>
</body>

</html>

Servicios relacionados

Ruta Flutter

  • lib/src/Pages/Autenticator/auth_view.dart

DOCUMENTACION DEL SERVICIO: https://shalom-documentation.shalomcontrol.com/books/doc-servicios-app-shalom-familia/page/autenticacion-por-dos-1-generatecodeauthenticator