AuthChallenge

data class AuthChallenge(val reasonCode: ReasonCode, val authenticationMethod: String?, val authenticationData: ByteString?)

Represents an authentication challenge received from the broker during enhanced authentication (§4.12).

Constructors

Link copied to clipboard
constructor(reasonCode: ReasonCode, authenticationMethod: String?, authenticationData: ByteString?)

Properties

Link copied to clipboard
val authenticationData: ByteString?

The challenge data from the broker.

Link copied to clipboard

The authentication method in use.

Link copied to clipboard

The reason code from the AUTH packet.