AuthenticationException

open class AuthenticationException(message: String = "Unauthorized", status: HttpStatusCode = HttpStatusCode.Unauthorized, response: Response? = null) : HttpException

Thrown on HTTP response for an unauthenticated request, i.e. missing credentials (usually HttpStatusCode.Unauthorized).

Constructors

Link copied to clipboard
constructor(message: String = "Unauthorized", status: HttpStatusCode = HttpStatusCode.Unauthorized, response: Response? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val response: Response?
Link copied to clipboard

The wait time before retrying suggested by the server.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard