Package com.avaya.clientservices.credentials

## Interface CredentialCompletionHandler

-     public interface CredentialCompletionHandler

  Interface used to received credentials back after an authentication challenge.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onCredentialProvided​(UserCredential userCredential)` | Call this to return a `UserCredential` object in response to a `Challenge`.
    `void` | `onCredentialRequestRefused()` | Call this to refuse to provide a response to a `Challenge`.

- - ### Method Detail

    - #### onCredentialProvided

          void onCredentialProvided​(UserCredential userCredential)

      Call this to return a `UserCredential` object in response to a `Challenge`.
      Parameters:
        `userCredential` - The returned authentication credential to use for the challenge.

    - #### onCredentialRequestRefused

          void onCredentialRequestRefused()

      Call this to refuse to provide a response to a `Challenge`. This method can be used if the user is unable or unwilling to respond to a challenge request with valid credentials.