Latest 0.3.2.2
Homepage https://github.com/EugeneNguyen/XBAuthentication
License MIT
Platforms ios 7.0, requires ARC
Dependencies XBCacheRequest, JSONKit-NoWarning, MD5Digest, SDWebImage, Facebook-iOS-SDK, XBLanguage
Authors

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XBAuthentication is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "XBAuthentication"

What’s this?

XBAuthentication provide all the function refer to user system, include sign in, sign up, sign out, edit user’s information, delete account. This is core system of XBMobile.

Getting started

First, import XBAuthentication.h every where you need

Second, setup your web service domain.

[[XBAuthentication sharedInstance] setHost:@"http://example.com"];

Then, set the field that you want.

XBAuthentication *authenticator = [XBAuthentication sharedInstance];
authenticator.username = @"username";
authenticator.password = @"password";

And lastly, sign in or sign up as you wish.

[authenticator signup];
// OR, remember, OR, not AND
[authenticator signin];

You can use following function for your next step

Author

eugenenguyen, [email protected]

License

XBAuthentication is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "XBAuthentication",
    "version": "0.3.2.2",
    "summary": "Authentication class to integrate with Plus Authenticate",
    "description": "                       Authentication class to integrate with Plus Authenticate. Plus Authenticate will be provided in Jan 15 2015.n",
    "homepage": "https://github.com/EugeneNguyen/XBAuthentication",
    "license": "MIT",
    "authors": {
        "eugenenguyen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/EugeneNguyen/XBAuthentication.git",
        "tag": "0.3.2.2"
    },
    "social_media_url": "https://twitter.com/LIBRETeamStudio",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "XBAuthentication": [
            "Pod/Assets/*.png"
        ]
    },
    "dependencies": {
        "XBCacheRequest": [],
        "JSONKit-NoWarning": [],
        "MD5Digest": [],
        "SDWebImage": [],
        "Facebook-iOS-SDK": [],
        "XBLanguage": []
    }
}

Pin It on Pinterest

Share This