Skip to content
/ nodekk Public

Node.js ile, KolayKimlik oauth kullanım kütüphanesi

Notifications You must be signed in to change notification settings

usishi/nodekk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodekk

NPM

KolayKimlik oauth middleware for Express 4

Usage :

//Bunu Uygulama dosyanınızın en başına ekleyin
var nodekk      = require('nodekk');


//Bunu Express app.use satırlarınız en sonuna ekleyin (session tanımından sonra olması şart !!!)
app.use(nodekk.kolaykimlik({
  consumer_key:'kolaykimlik_consumerkey',
  consumer_secret:'kolaykimlik_consumersecret=',
  baseurl:'http://localhost:8080' //your url
}));

//Kullanıcı girişi ile erişilecek route'larda sadece yönlendirmeden önce middleware olarak nodekk kullanın buranın ÖZEL BÖLGE olduğu bilinsin
app.all('/admin',nodekk.ozelbolge,function(req,res){
  ///
});

Installation

npm install nodekk

About

Node.js ile, KolayKimlik oauth kullanım kütüphanesi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published