PORTOS Developers
  • 👋Introduction
  • 📖Glossary
  • HTTP Status codes
  • Error models
  • Error codes
  • Validation constraints
  • Resource names
  • 🔒User rights
  • Device environments
  • 🌍Localization
  • 🔍NData query syntax
  • OpenAPI specification
  • Data models
  • Authentication
    • 🔐Authentication schemes
      • JWT Bearer Authentication
      • HMAC Authentication
  • ⚡Notifications
    • SignalR
    • Webhooks
  • API reference
    • 🔑API keys
    • 🛍️Article categories
    • 💼Companies
    • 💱Currencies
    • 👫Customers
    • 📈Daily sales reports
    • 🖥️Devices
    • 🖨️Fiscals
    • ❤️Health check
    • 📃License
    • 🎚️Modifiers
    • 👨‍🍳Order endpoints
    • 🛎️Orders
    • 🪙Payment types
    • ☕Plus
    • 🔏Roles
    • 🔐Sessions
    • ⚙️Settings
    • 🔎Stock takings
    • 🔢Stock transfer numbering
    • 🚚Stock transfers
    • 📦Stocks
    • 🧾Tickets
      • Ticket Model States
      • Ticket Operations and User Rights
      • Ticket Model Mathematics
    • 👨‍💼Users
    • ⚖️Vats
    • 🪑Zones
  • 3rd Party Integrations
    • Introduction
    • Online orders API
    • Rewards API
    • PDA Files
  • Previous versions
    • Migration to V4.1
    • Migration to V4
    • Legacy documentation
Powered by GitBook
On this page
  • PHP
  • .NET C#

Was this helpful?

  1. Authentication
  2. Authentication schemes

HMAC Authentication

PreviousJWT Bearer AuthenticationNextSignalR

Last updated 1 year ago

Was this helpful?

We have developed example projects that illustrate the implementation of HMAC authentication for communication with the PORTOS API.

PHP

The source project and examples can be found in GitHub project.

.NET C#

The example project for C# can be found in GitHub project.

Examples are using the NineDigit.NWS4 library, which can be found as NuGet package at .

🔐
ninedigit/AspNetCore.Identity.NWS4.Examples
nuget.org
ninedigit/nws4-php
GitHub - ninedigit/nws4-php: PHP HttpClient library supporting NWS4 HMAC authenticationGitHub
The NWS4 implementation in PHP
GitHub - ninedigit/AspNetCore.Identity.NWS4.Examples: Examples for NWS4 AuthenticationGitHub
The NWS4 examples in C#
NineDigit.NWS4 3.0.0-alpha.4nuget
The NWS4 C# NuGet library
Logo
Logo
Logo