Libraries tagged by user provider

hanovate/phpcas

0 Favers
221 Downloads

Provides a simple API for authenticating users against a CAS server for Laravel

Go to Download


gavinggordon/input-validator

1 Favers
19 Downloads

A PHP class which provides the ability to quickly validate user input, depending on a set of user-defined rules.

Go to Download


everydatastore/everywidget

0 Favers
11 Downloads

A submodule of EveryDataStore ECM that provides the EveryWidget app. It allows users to customize the Dashboard by reordering, toggling, or creating widgets to fit specific group needs.

Go to Download


devbigkelly-bagisto/stripe

1 Favers
39 Downloads

This package provides an additional strong help for user to use the stripe payment gateway in their bagisto laravel application

Go to Download


dcodegroup/laravel-myob-employee

1 Favers
94 Downloads

This package provides base functionality for linking a user with MYOB

Go to Download


daxslab/phpcas

0 Favers
25 Downloads

Provides a simple API for authenticating users against a CAS server

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


cvo-technologies/croogo-github-contributions

0 Favers
7 Downloads

This plugin provides a block that shows a user's latest GitHub contributions

Go to Download


christhompsontldr/laravel-restricted

0 Favers
2917 Downloads

Allow users to enter a restricted mode which provides limited functionality.

Go to Download


bumble/validation

0 Favers
5 Downloads

Provides classes for configurable validation of user input, such as email, passwords, file uploads, and more.

Go to Download


bssn-sso/phpcas

0 Favers
61 Downloads

Provides a simple API for authenticating users against a CAS server

Go to Download


brpassos/laravel-samlidp

0 Favers
34 Downloads

Foked by Brpassos/laravel-samlidp. Make your PHP Laravel application an Idenification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

Go to Download


bkhouy/captcha

0 Favers
50 Downloads

The CAPTCHA module provides this feature to virtually any user facing web form on a Drupal site.

Go to Download


agilukm/phpcas

0 Favers
390 Downloads

Provides a simple API for authenticating users against a CAS server

Go to Download


the-open-university/ou-web-ui

1 Favers
9 Downloads

OU Web UI is a set of design patterns, components and templates to provide our students with a consistent user experience.

Go to Download


<< Previous Next >>