Class MSQASingleSignInClientInternal

    • Constructor Detail

      • MSQASingleSignInClientInternal

        public MSQASingleSignInClientInternal​(com.microsoft.identity.client.ISingleAccountPublicClientApplication application)
    • Method Detail

      • signIn

        public void signIn​(@NonNull
                           android.app.Activity activity,
                           @Nullable
                           com.microsoft.identity.client.IAccount iAccount,
                           @NonNull
                           java.lang.String[] scopes,
                           @NonNull
                           OnCompleteListener<MSQAAccountInfo> completeListener)
      • getCurrentAccount

        public void getCurrentAccount​(@Nullable
                                      com.microsoft.identity.client.IAccount iAccount,
                                      @NonNull
                                      java.lang.String[] scopes,
                                      @NonNull
                                      OnCompleteListener<MSQAAccountInfo> completeListener)
      • acquireToken

        public void acquireToken​(@NonNull
                                 android.app.Activity activity,
                                 @NonNull
                                 java.lang.String[] scopes,
                                 @Nullable
                                 com.microsoft.identity.client.IAccount iAccount,
                                 @NonNull
                                 OnCompleteListener<com.microsoft.identity.client.IAuthenticationResult> completeListener)
      • acquireTokenSilent

        public void acquireTokenSilent​(@Nullable
                                       com.microsoft.identity.client.IAccount iAccount,
                                       @NonNull
                                       java.lang.String[] scopes,
                                       @NonNull
                                       OnCompleteListener<com.microsoft.identity.client.IAuthenticationResult> completeListener)
      • getUserInfo

        public void getUserInfo​(@NonNull
                                com.microsoft.identity.client.IAuthenticationResult tokenResult,
                                @NonNull
                                OnCompleteListener<MSQAAccountInfo> completeListener)
      • getUserPhoto

        @WorkerThread
        public java.lang.String getUserPhoto​(@NonNull
                                             com.microsoft.identity.client.IAuthenticationResult tokenResult)
      • updateUserInfoWithGraph

        @WorkerThread
        public void updateUserInfoWithGraph​(MSQAAccountInfoInternal account,
                                            @NonNull
                                            com.microsoft.identity.client.IAuthenticationResult tokenResult)