PHP Classes

File: config/token.php

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   Ala PHP API Micro-Framework   config/token.php   Download  
File: config/token.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Ala PHP API Micro-Framework
Generate base code for API using a query builder
Author: By
Last change:
Date: 6 months ago
Size: 427 bytes
 

Contents

Class file image Download
<?php

/**
 * https://ulidgenerator.com/
 * https://emn178.github.io/online-tools/sha512_256.html
 * Tokens and secrets are created by encrypting an ulid with SHA512/256
 */

return [
   
'data' => [
       
'32c5a206ee876f4c6e1c483457561dbed02a531a89b380c3298bb131a844ac3c' => [
           
'name' => 'app-test',
           
'secret' => 'a1c5930d778e632c6684945ca15bcf3c752d17502d4cfbd1184024be6de14540',
        ],
    ],
];