Update IAuthManagerService

This commit is contained in:
mar-v-in 2015-06-22 23:24:18 +02:00
parent ceb0f9f2c6
commit 37e3b4dc39
1 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,14 @@
package com.google.android.auth;
import android.os.Bundle;
import android.accounts.Account;
import com.google.android.gms.auth.AccountChangeEventsResponse;
import com.google.android.gms.auth.AccountChangeEventsRequest;
interface IAuthManagerService {
Bundle getToken(String accountName, String scope, in Bundle extras);
Bundle clearToken(String token, in Bundle extras);
AccountChangeEventsResponse getChangeEvents(in AccountChangeEventsRequest request);
Bundle getToken(String accountName, String scope, in Bundle extras) = 0;
Bundle clearToken(String token, in Bundle extras) = 1;
AccountChangeEventsResponse getChangeEvents(in AccountChangeEventsRequest request) = 2;
Bundle getTokenWithAccount(in Account account, String scope, in Bundle extras) = 4;
}