Added in API level 31

EapMsChapV2Config


class EapMsChapV2Config : EapSessionConfig.EapMethodConfig
kotlin.Any
   ↳ android.net.eap.EapSessionConfig.EapMethodConfig
   ↳ android.net.eap.EapSessionConfig.EapMsChapV2Config

EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session.

Summary

Inherited constants
Public methods
open Boolean
equals(other: Any?)

open String

Retrieves the password

open String

Retrieves the username

open Int

Inherited functions

Public methods

equals

Added in API level 31
open fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getPassword

Added in API level 31
open fun getPassword(): String

Retrieves the password

Return
String the password to be used by MSCHAPV2.
This value cannot be null.

getUsername

Added in API level 31
open fun getUsername(): String

Retrieves the username

Return
String the username to be used by MSCHAPV2.
This value cannot be null.

hashCode

Added in API level 31
open fun hashCode(): Int
Return
Int a hash code value for this object.