Libraries tagged by HTTP Signatures

silversoft/api-client

0 Favers
25 Downloads

Klient wewnętrznego API: JSON po HTTP z podpisem RFC 9421, bez zależności zewnętrznych.

Go to Download


hlw2326/think-request-crypto

0 Favers
1 Downloads

Multi-driver HTTP request signature verification, RSA context encryption and decryption library for ThinkPHP.

Go to Download


clawdreyhepburn/aauth-php

0 Favers
1 Downloads

PHP verifier for AAuth — agent-authentication for HTTP, ready to drop onto shared hosting.

Go to Download


pculka/aws4-auth-bundle

1 Favers
7 Downloads

Allows HTTP requests to check for AWS4 signature

Go to Download


zeroad.network/token

1 Favers
44 Downloads

Offline verification of Zero Ad Network subscriber tokens for publisher backends. No dependencies beyond ext-sodium.

Go to Download


sugarcommerce/s3-signer

0 Favers
31 Downloads

AWS Signature Version 4 signing for S3-compatible object storage. Presigned URLs and signed request headers, no HTTP client, no SDK. Verified against Cloudflare R2, AWS S3, Backblaze B2 and DigitalOcean Spaces.

Go to Download


qingze-lab/esignbao-sdk-php

0 Favers
24 Downloads

易签宝 REST API PHP SDK,支持实名认证V3和PDF合同签署,包含令牌管理、可重试HTTP和领域服务。

Go to Download


messagemedia/signingkeys-sdk

1 Favers
18 Downloads

The MessageMedia Signature Key API provides a number of endpoints for managing key used to sign each unique request to ensure security and the requests can't (easily) be spoofed. This is similar to using HMAC in your outbound messaging (rather than HTTP Basic).

Go to Download


madassdev/99guzzle

0 Favers
5 Downloads

Sign and verify HTTP messages with Guzzle 6

Go to Download


ion-bazan/guzzle-bundle-aliyun-signer-plugin

0 Favers
5 Downloads

Alibaba Cloud API Gateway request signing plugin for Guzzle Bundle ⛽️

Go to Download


andreascandle/php_teken_aja

1 Favers
15 Downloads

Packages for using teken aja API

Go to Download


jetfueltw/signer-php

2 Favers
429 Downloads

HMAC-SHA Signature for HTTP Request Authentication

Go to Download


sejator/ws-server-php

0 Favers
4 Downloads

PHP SDK untuk publish event ke WebSocket Server melalui HTTP dengan HMAC SHA256 signature.

Go to Download


philiprehberger/interchange

0 Favers
93 Downloads

Service contract for interoperable HTTP services: W3C Trace Context across HTTP and queue boundaries, Standard Webhooks signing, and pluggable signature schemes

Go to Download


daphascomp/daphascompsms

0 Favers
2 Downloads

# Authentication Requests made to our APIs must be authenticated, there are two ways to do this: 1. Authenticating using your API apiUsername and apiPassword - `Basic Auth` 2. Authenticating using an Auth Token - `Bearer Token` ## Method 1: Basic Auth Basic Authentication is a method for an HTTP user agent (e.g., a web browser) to provide a apiUsername and apiPassword when making a request. When employing Basic Authentication, users include an encoded string in the Authorization header of each request they make. The string is used by the request’s recipient to verify users’ identity and rights to access a resource. The Authorization header follows this format: > Authorization: Basic base64(apiUsername:apiPassword) So if your apiUsername and apiPassword are `onfon` and `!@pas123`, the combination is `onfon:!@pas123`, and when base64 encoded, this becomes `b25mb246IUBwYXMxMjM=`. So requests made by this user would be sent with the following header: > Authorization: Basic b25mb246IUBwYXMxMjM= | Description | | ---------------------------------------------------------------------------------------------- | | **apiUsername** `String` `Required` Your onfon account apiUsername, retrieved from portal | | **apiPassword** `String` `Required` Your onfon account apiPassword, retrieved from portal | ## Method 2: Bearer Tokens This authentication stategy allows you to authenticate using JSON Web Token ``JWT` that will expire after given duration. Each Access Token is a `JWT`, an encoded JSON object with three parts: the `header`, the `payload`, and the `signature`. The following is an example Access Token generated for Conversations > Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c ### Getting the token To generate the token, make a `POST` request to `/v1/authorization` endpoint with your `apiUsername` and `apiPassword` This request should be made from your server and not on the client side such as browser or mobile environment. You will receive a JSON similar to below: `{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "validDurationSeconds": 3600}` You can use the token received to make API calls. The token will be valid for value of `validDurationSeconds`, before which you should generate a new token. #### Request Body ``` { "apiUsername": "root", "apiPassword": "hakty11" } ``` #### Response Body ``` { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "validDurationSeconds": 3600 } ``` #### Example Curl ``` curl --location --request POST 'https://apis.onfonmedia.co.ke/v1/authorization' \ --data-raw '{ "apiUsername": "correctapiUsername", "apiPassword": "correctapiPassword" } ``` #### Making an API call You will be required to pass the token in `Authorization` header prefixed by `Bearer` when calling other endpoints. Example `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c`

Go to Download


<< Previous Next >>