Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
Challenge Class
Challenge Properties
Challenge Methods

Challenge Class

Challenge object for use with a CredentialProvider to determine which Credentials to use for authentication
Inheritance Hierarchy
System
Object
Avaya.ClientServices
Challenge

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public class Challenge

The Challenge type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| FailureCount | The failure count based on the number of requests.
| Host | The host for the credential request.
| IsAuthTokenSupported | A boolean value indicating whether the sender of the challenge can accept OAuth2 Token.
| IsHashCredentialSupported | A boolean value indicating whether the sender of the challenge can accept hash credentials.
| IsPortalUserTokenSupported | A boolean value indicating whether the sender of the challenge can accept Portal User Token.
| IsUsernamePasswordSupported | A boolean value indicating whether the sender of the challenge can accept username/password as a response to this challenge.
| Location | Location of authorization resource associated with auth token challenge.
| Realm | The Realm value associated with the challenge. If the challenge supports multiple auth methods, username/password authorization Realm is returned.
| Realms | Realms by authorization methods map.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Overrides Object Equals(Object).)
| GetHashCode | (Overrides Object GetHashCode .)
| GetRealms | Get Realm values for the specified auth method associated with the challenge. If the challenge does not support specified method or the method does not have associated Realm value, empty list is returned.

Top
See Also

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.