Interface IClientApplication
-
- All Known Implementing Classes:
MSALSingleClientWrapper
,MSQASingleSignInClientInternal
public interface IClientApplication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acquireToken(android.app.Activity activity, java.lang.String[] scopes, com.microsoft.identity.client.AuthenticationCallback callback)
com.microsoft.identity.client.IAuthenticationResult
acquireTokenSilent(com.microsoft.identity.client.IAccount account, java.lang.String[] scopes)
void
acquireTokenSilentAsync(com.microsoft.identity.client.IAccount account, java.lang.String[] scopes, com.microsoft.identity.client.SilentAuthenticationCallback callback)
com.microsoft.identity.client.IAccount
getCurrentAccount()
void
getCurrentAccountAsync(com.microsoft.identity.client.ISingleAccountPublicClientApplication.CurrentAccountCallback callback)
void
signIn(android.app.Activity activity, java.lang.String loginHint, java.lang.String[] scopes, com.microsoft.identity.client.AuthenticationCallback callback)
boolean
signOut()
void
signOut(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)
-
-