Class UnauthorizedStunError
401 Unauthorized. RFC5389. Indicates that the request did not contain the correct credentials to proceed. The client should retry the request with proper credentials.
Inherited Members
Namespace: FM.LiveSwitch.Stun
Assembly: FM.LiveSwitch.dll
Syntax
public class UnauthorizedStunError : Error
Constructors
UnauthorizedStunError()
Initializes a new instance of the UnauthorizedStunError class.
Declaration
public UnauthorizedStunError()
UnauthorizedStunError(NonceAttribute, RealmAttribute, String)
Initializes a new instance of the UnauthorizedStunError class.
Declaration
public UnauthorizedStunError(NonceAttribute nonce, RealmAttribute realm, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| NonceAttribute | nonce | The nonce attribute. |
| RealmAttribute | realm | The realm attribute. |
| System.String | message | The message |
UnauthorizedStunError(String)
Initializes a new instance of the UnauthorizedStunError class.
Declaration
public UnauthorizedStunError(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message. |
Properties
Nonce
Gets or sets the nonce attribute.
Declaration
public NonceAttribute Nonce { get; }
Property Value
| Type | Description |
|---|---|
| NonceAttribute |
Realm
Gets or sets the realm attribute.
Declaration
public RealmAttribute Realm { get; }
Property Value
| Type | Description |
|---|---|
| RealmAttribute |
Methods
GetDescription()
Gets the description for this Error.
Declaration
public override string GetDescription()
Returns
| Type | Description |
|---|---|
| System.String |