All Projects → AppWerft → Ti.signinwith

AppWerft / Ti.signinwith

Licence: mit
A Titanium module for generic access to ident provider

Labels

Projects that are alternatives of or similar to Ti.signinwith

Erlang Starter Kit
Provide a basic set of Erlang/OTP tools for development and for testing
Stars: ✭ 23 (+187.5%)
Mutual labels:  makefile
Makefile Template
A generic makefile template
Stars: ✭ 26 (+225%)
Mutual labels:  makefile
Android device amazon otterx
It's otter.. but better
Stars: ✭ 7 (-12.5%)
Mutual labels:  makefile
Buildroot Submodule
Example of use of buildroot as a submodule
Stars: ✭ 24 (+200%)
Mutual labels:  makefile
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (+225%)
Mutual labels:  makefile
Traj gen vis
auto_chaser project
Stars: ✭ 27 (+237.5%)
Mutual labels:  makefile
Tlsconfigguide
Configuration templates for configuring TLS
Stars: ✭ 23 (+187.5%)
Mutual labels:  makefile
Gmf
GFM: One-button to init、build、commit、push and so on. 项目初始化、构建、提交、发布等操作一键即可!
Stars: ✭ 8 (+0%)
Mutual labels:  makefile
Slim Php Docker Starter
Starter for a dockerized Slim Framework application
Stars: ✭ 26 (+225%)
Mutual labels:  makefile
Device Sony Eagle
Stars: ✭ 7 (-12.5%)
Mutual labels:  makefile
Unity3d
Link to article
Stars: ✭ 25 (+212.5%)
Mutual labels:  makefile
K8s Clusters
Simple kubernetes clusters on cloud providers for development
Stars: ✭ 26 (+225%)
Mutual labels:  makefile
Luvit Docs
Documentation for the luvit api
Stars: ✭ 7 (-12.5%)
Mutual labels:  makefile
Ansible Docker Compose
Ansible Role which installs docker-compose
Stars: ✭ 24 (+200%)
Mutual labels:  makefile
Hello
Hello world demonstration for Weblate
Stars: ✭ 7 (-12.5%)
Mutual labels:  makefile
Bbb Buildroot Fwup
Example project showing how to use buildroot and fwup
Stars: ✭ 23 (+187.5%)
Mutual labels:  makefile
Malloc trim
Gives some ruby memory back to the OS
Stars: ✭ 27 (+237.5%)
Mutual labels:  makefile
Ti.applifecyle
Titanium module for app events in android
Stars: ✭ 8 (+0%)
Mutual labels:  makefile
Base2grob
Stars: ✭ 8 (+0%)
Mutual labels:  makefile
Rpi Hugo
Raspberry Pi compatible Docker Image with Hugo - a static webpage builder
Stars: ✭ 7 (-12.5%)
Mutual labels:  makefile

Ti.SignInWith

This is a generic module for signin and retreiving profile informations. Oauth is included. You need appId and appSecret. Both must be added to tiapp.xml as String property

General usage

It is a very simple API:


var SignIn = require('de.appwerft.signinwith');

// we have three methods:

SignIn.createSelectDialog({title:"Select what you want:"},function(_provider){
    console.log("Selected provider: " + _provider);
    // second getting profile, if not signed in a login screen is generated:
    SignIn.getProfile(_provider, function(_e) {
        alert(_e.data);
    });
    // third, a simple helper function for other purpose:
    var bearer = SignIn.getAccessToken(_provider);

});

Currently the module supports linkedin, googleplus, facebook, slack, dropbox In your tiapp.xml you need entries like:

<property name="linkedin_clientId" type="string">77981g**1xfs</property>
<property name="linkedin_clientSecret" type="string">wqApSZ**</property>
<property name="slack_clientId" type="string">3437706020:508**6</property>
<property name="slack_clientSecret" type="string">01f887a1****0c8128f966492f</property>

For slack you must replace '.' with ':' (workaround, interpretation of string with '.' as float and then cutting on the end)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].