Download the PHP package code4mk/kauth without Composer
On this page you can find all versions of the php package code4mk/kauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download code4mk/kauth
More information about code4mk/kauth
Files in code4mk/kauth
Download code4mk/kauth
More information about code4mk/kauth
Files in code4mk/kauth
Vendor code4mk
Package kauth
Short Description kauth is JWT API Authentication ( jwt-auth ) for laravel
License MIT
Homepage https://github.com/code4mk/kauth
Package kauth
Short Description kauth is JWT API Authentication ( jwt-auth ) for laravel
License MIT
Homepage https://github.com/code4mk/kauth
Please rate this library. Is it a good library?
Informations about the package kauth
kauth
kauth is JWT API Authentication ( jwt-auth ) for laravel
Installation
you can install kauth package by command
Setup
1) Vendor publish.
2) Config setup
-
config\kauth.php
- set
token_header_name
that you can use with guzzle or axios header - default
token_header_name
name istokon
Usage
Kauth::attempt()
functions
-
guard('name')
-
socialite()->attempt()
- normal attempt()
~ attempt() return a jwt token
which you pass with request header (ex:axios header)
attempt special
- username credential will be optional as (id|email|username) . (ex: facebook username)
usernames
describe which columns you want to match for username
Kauth::check()
Kauth::id()
Kauth::refreshToken()
Kauth::logout()
Kauth::logoutOtherDevices()
All versions of kauth with dependencies
PHP Build Version
Package Version
Requires
firebase/php-jwt Version
^5.0
The package code4mk/kauth contains the following files
Loading the files please wait ....