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 Unauthorized
Declaration
public UnauthorizedStunError()
UnauthorizedStunError(NonceAttribute, RealmAttribute, String)
Initializes a new instance of the Unauthorized
Declaration
public UnauthorizedStunError(NonceAttribute nonce, RealmAttribute realm, string message)
Parameters
Type | Name | Description |
---|---|---|
Nonce |
nonce | The nonce attribute. |
Realm |
realm | The realm attribute. |
System. |
message | The message |
UnauthorizedStunError(String)
Initializes a new instance of the Unauthorized
Declaration
public UnauthorizedStunError(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
Properties
Nonce
Gets or sets the nonce attribute.
Declaration
public NonceAttribute Nonce { get; }
Property Value
Type | Description |
---|---|
Nonce |
Realm
Gets or sets the realm attribute.
Declaration
public RealmAttribute Realm { get; }
Property Value
Type | Description |
---|---|
Realm |
Methods
GetDescription()
Gets the description for this Error.
Declaration
public override string GetDescription()
Returns
Type | Description |
---|---|
System. |