Giter VIP home page Giter VIP logo

ae_sdk's Introduction

Hello, I'm Moh3A

Actually, My name is Ait Abdelmalek Mohamed.

With several years of experience in customer service and multiple positions related to industrial production, combined with a solid academic background (M.A) in geotechnics, I find that my ability to acquire new knowledge is my strength. But a few years ago, during my journey, I discovered what I yearned for.

The instant I hit play on my first video explaining how the web works, I couldn't get enough. Web development calls to all my passions. Since then, I have continued to learn new skills, programming languages and technologies and apply them in my projects. I'm still enthusiastically grabbing onto any other programming languages, frameworks or principles I can integrate into my projects whenever I have free time.

πŸ”Œ My most used tech...

top languages

git Neovim TypeScript Nodejs npm Nest.js Next.js Astro Tailwind Rust Go Postgres MongoDB WebRTC Prisma Docker Supabase Expo PWA

πŸ”¨The project I am currently working on...

Readme card

πŸ’¬ Contact me

LinkedIn

ae_sdk's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar moh3a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ai-ev1lc0rp

ae_sdk's Issues

AESystemClient.generateToken not working due to nuance

AESystemClient.generateToken not working due to nuance with new&migrated API signing

/auth/token/create is new API so according to documentation (step #3) you have to create string in next format {api_path}{sorted_key_value_without_method}

Actually I copied if statement from AEBaseClient.call method and it works well for me

protected sign(params: any): string {
    const p = {...params};
    let basestring = '';
    if (p.method.includes("/")) {
      basestring = p.method;
      delete p.method;
    };

    basestring += Object.keys(p).sort().map(key => key + p[key as keyof typeof p]).join('');
    
    return createHmac("sha256", this.app_secret, { encoding: "utf-8" })
      .update(basestring)
      .digest("hex")
      .toUpperCase();
  }

Also really appreciate your intention and solution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.