com.microsoft.aad.adal
Interface AuthenticationCallback<T>

Type Parameters:
T -

public interface AuthenticationCallback<T>

Callback to use with token request. User implements this callback to use result in their context.


Method Summary
 void onError(Exception exc)
          Sends error information.
 void onSuccess(T result)
          This will have the token info.
 

Method Detail

onSuccess

void onSuccess(T result)
This will have the token info.

Parameters:
result - returns

onError

void onError(Exception exc)
Sends error information. This can be user related error or server error. Cancellation error is AuthenticationCancelError.

Parameters:
exc - return Exception


Copyright © 2003–2015. All rights reserved.