Interface IClientApplication
-
- All Known Implementing Classes:
MSALSingleClientWrapper,MSQASingleSignInClientInternal
public interface IClientApplication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacquireToken(android.app.Activity activity, java.lang.String[] scopes, com.microsoft.identity.client.AuthenticationCallback callback)com.microsoft.identity.client.IAuthenticationResultacquireTokenSilent(com.microsoft.identity.client.IAccount account, java.lang.String[] scopes)voidacquireTokenSilentAsync(com.microsoft.identity.client.IAccount account, java.lang.String[] scopes, com.microsoft.identity.client.SilentAuthenticationCallback callback)com.microsoft.identity.client.IAccountgetCurrentAccount()voidgetCurrentAccountAsync(com.microsoft.identity.client.ISingleAccountPublicClientApplication.CurrentAccountCallback callback)voidsignIn(android.app.Activity activity, java.lang.String loginHint, java.lang.String[] scopes, com.microsoft.identity.client.AuthenticationCallback callback)booleansignOut()voidsignOut(com.microsoft.identity.client.ISingleAccountPublicClientApplication.SignOutCallback callback)
-
-
-
Method Detail
-
signIn
void signIn(@NonNull android.app.Activity activity, @Nullable java.lang.String loginHint, @NonNull java.lang.String[] scopes, @NonNull com.microsoft.identity.client.AuthenticationCallback callback)
-
signOut
@WorkerThread boolean signOut() throws java.lang.Exception- Throws:
java.lang.Exception
-
signOut
void signOut(@NonNull com.microsoft.identity.client.ISingleAccountPublicClientApplication.SignOutCallback callback)
-
acquireTokenSilent
@WorkerThread com.microsoft.identity.client.IAuthenticationResult acquireTokenSilent(@NonNull com.microsoft.identity.client.IAccount account, @NonNull java.lang.String[] scopes) throws java.lang.Exception- Throws:
java.lang.Exception
-
acquireTokenSilentAsync
void acquireTokenSilentAsync(@NonNull com.microsoft.identity.client.IAccount account, @NonNull java.lang.String[] scopes, @NonNull com.microsoft.identity.client.SilentAuthenticationCallback callback)
-
acquireToken
void acquireToken(@NonNull android.app.Activity activity, @NonNull java.lang.String[] scopes, @NonNull com.microsoft.identity.client.AuthenticationCallback callback)
-
getCurrentAccount
@Nullable @WorkerThread com.microsoft.identity.client.IAccount getCurrentAccount() throws java.lang.Exception- Throws:
java.lang.Exception
-
getCurrentAccountAsync
void getCurrentAccountAsync(@NonNull com.microsoft.identity.client.ISingleAccountPublicClientApplication.CurrentAccountCallback callback)
-
-