Libraries tagged by three

drupal-eca-recipe/eca_lib_0043

0 Favers
6 Downloads

Adds a Show writing tips panel to the Article node form. Selecting it fetches a fragment from an ECA endpoint over HTMX and swaps it into the panel, without submitting, validating or rebuilding the form and without changing any field. Completes the set of three form button samples: a field widget action writes one field, an Ajax handler writes many, and HTMX writes none but shows content beside the form.

Go to Download


drupal-eca-recipe/eca_lib_0041

0 Favers
13 Downloads

Adds two ECA-powered buttons to entity form widgets. One returns three suggested titles and offers them in a dialog, the other writes a single computed byline straight into the field. Both are deterministic and use no AI. The recipe brings in the library's Article content type, ships the Article form display so that one exists on a fresh site, and attaches the buttons to it without replacing an existing one. Needs ECA Field Widget Actions 1.0.0-beta2 or later.

Go to Download


drupal-eca-recipe/eca_lib_0029

0 Favers
134 Downloads

Adds a role to a user on insert or update, comparing three possible approaches and showing why only one of them is reliable.

Go to Download


drupal-eca-recipe/eca_lib_0026

0 Favers
94 Downloads

Adds a role to a user once three stored conditions are all met, and removes it again as soon as any of them stops being true.

Go to Download


drupal-eca-recipe/eca_lib_0015

0 Favers
137 Downloads

Shows a message on the user profile edit form, limited to accounts holding one of three selected roles.

Go to Download


drupal-eca-recipe/eca_lib_0002

0 Favers
105 Downloads

Demonstrates how conditions are combined in ECA, where a successor link carries at most one condition and every combination is therefore built from the arrangement of links. The model shows the three idioms that follow from that constraint. An AND is chained through a pass-through action, an OR is drawn as several conditioned links into one target, and a nested combination composes the two into (A or B) and (C or D). It is driven entirely from the command line, reading three inputs from Drupal persistent state and reporting which of its three rules matched, so that changing one input and triggering again shows a different set of paths.

Go to Download


dept-of-scrapyard-robotics/adxl34x

0 Favers
3 Downloads

Drive ADXL343 & ADXL345 three-axis accelerometers over I2C or SPI with the ScrapyardIO GPIO framework.

Go to Download


dax-87/badwords-it

0 Favers
0 Downloads

Italian profanity and spam filter for PHP. Three-level detection: regex, substring, compound phrases.

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


commercekings/module-notification-infobip

0 Favers
5 Downloads

Infobip SMS, WhatsApp and Viber for CommerceKings Notification: three providers, authenticated reply and delivery report webhooks (STOP/START, undeliverable numbers), the opt-in confirmation, WhatsApp templates and quiet hours in the recipient's time zone.

Go to Download


castillo-n/recaptcha-v3calls

0 Favers
182 Downloads

Three calls, two on the front end, (one for the js, one for the element), and one to verify the recaptcha in the backend

Go to Download


bigeweb/framework

0 Favers
82 Downloads

This MVC framework provides a structured approach to developing web applications by separating the application's concerns into three distinct components: model, view, and controller. This separation of concerns promotes code organization, maintainability, and scalability, making it easier to manage and extend the application over time

Go to Download


basis-css/basis-css

2 Favers
0 Downloads

Professional CSS framework with adaptive color system - supports monochrome, one-color, two-colors, and three-colors modes with automatic light/dark theme switching

Go to Download


ash3t/collection

0 Favers
1 Downloads

A slider BBCode. [slider one=text two=text three=text]

Go to Download


ascension/laravel4-getgravatar

0 Favers
87 Downloads

A Laravel 4 package . Given an email address it automatically retrieves an Avatar from Gravatar's website . For logged-in users , their email address is automatically generated , through the Auth adapter Interface . Three Adapters are supported : Auth , Sentry and Confide .

Go to Download


<< Previous Next >>