NetworkAuthenticationType

@Serializable
sealed class NetworkAuthenticationType

Represents the different types of authentication challenges that can be raised.

Since

200.0.0

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "certificate")
object ClientCertificate : NetworkAuthenticationType

This authentication type is used when an endpoint requires a client certificate to be presented.

Link copied to clipboard
@Serializable
@SerialName(value = "servertrust")
object ServerTrust : NetworkAuthenticationType

This authentication type is used when an endpoint presents an SSL certificate that is self signed or signed by an unknown root authority (for example an enterprise root certificate).

Link copied to clipboard
@Serializable
@SerialName(value = "password")
object UsernamePassword : NetworkAuthenticationType

This authentication type is used when a standard username/password credential is required to satisfy an HTTP secured endpoint.