Android Open Source - cordova-android-accountmanager Authenticator Service






From Project

Back to project page cordova-android-accountmanager.

License

The source code is released under:

Copyright (c) 2013, Polychrom Pty Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are me...

If you think the Android project cordova-android-accountmanager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

// Copyright (C) 2013 Polychrom Pty Ltd
////ww w .ja v  a  2 s . com
// This program is licensed under the 3-clause "Modified" BSD license,
// see LICENSE file for full definition.

package com.polychrom.cordova;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class AuthenticatorService extends Service
{
    private Authenticator auth;

    @Override
    public void onCreate()
    {
      auth = new Authenticator(this);
    }

    @Override
    public void onDestroy()
    {
    }

    @Override
    public IBinder onBind(Intent intent)
    {
        return auth.getIBinder();
    }
}




Java Source Code List

com.polychrom.cordova.AccountManagerPlugin.java
com.polychrom.cordova.AuthenticatorService.java
com.polychrom.cordova.Authenticator.java
com.polychrom.examples.AccountManagerExample.java