Stay organized with collections
Save and categorize content based on your preferences.
EapMethodConfig
abstract class EapMethodConfig
Known Indirect Subclasses
|
EapMethodConfig represents a generic EAP method configuration.
Summary
Constants |
static Int |
EAP-Type value for the EAP-AKA method.
|
static Int |
EAP-Type value for the EAP-AKA' method.
|
static Int |
EAP-Type value for the EAP-MS-CHAPv2 method.
|
static Int |
EAP-Type value for the EAP-SIM method.
|
static Int |
EAP-Type value for the EAP-TTLS method.
|
Public methods |
open Int |
Retrieves the EAP method type
|
Constants
Public methods
getMethodType
open fun getMethodType(): Int
Retrieves the EAP method type
Return |
Int |
the IANA-defined EAP method constant |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# EapSessionConfig.EapMethodConfig\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEapMethodConfig\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/eap/EapSessionConfig.EapMethodConfig \"View this page in Java\") \n\n```\nabstract class EapMethodConfig\n```\n\n|---|-------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.eap.EapSessionConfig.EapMethodConfig](#) |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [EapSessionConfig.EapAkaConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig), [EapSessionConfig.EapMsChapV2Config](/reference/kotlin/android/net/eap/EapSessionConfig.EapMsChapV2Config), [EapSessionConfig.EapSimConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapSimConfig), [EapSessionConfig.EapTtlsConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapTtlsConfig) |------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------| | [EapSessionConfig.EapAkaConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig) | EapAkaConfig represents the configs needed for an EAP AKA session. | | [EapSessionConfig.EapMsChapV2Config](/reference/kotlin/android/net/eap/EapSessionConfig.EapMsChapV2Config) | EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session. | | [EapSessionConfig.EapSimConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapSimConfig) | EapSimConfig represents the configs needed for an EAP SIM session. | | [EapSessionConfig.EapTtlsConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapTtlsConfig) | EapTtlsConfig represents the configs needed for an EAP-TTLS session. | |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [EapSessionConfig.EapAkaPrimeConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaPrimeConfig) |------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| | [EapSessionConfig.EapAkaPrimeConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaPrimeConfig) | EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session. | |\n\nEapMethodConfig represents a generic EAP method configuration.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA](#EAP_TYPE_AKA:kotlin.Int) EAP-Type value for the EAP-AKA method. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA_PRIME](#EAP_TYPE_AKA_PRIME:kotlin.Int) EAP-Type value for the EAP-AKA' method. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_MSCHAP_V2](#EAP_TYPE_MSCHAP_V2:kotlin.Int) EAP-Type value for the EAP-MS-CHAPv2 method. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_SIM](#EAP_TYPE_SIM:kotlin.Int) EAP-Type value for the EAP-SIM method. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_TTLS](#EAP_TYPE_TTLS:kotlin.Int) EAP-Type value for the EAP-TTLS method. |\n\n| Public methods ||\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------|\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getMethodType](#getMethodType())`()` Retrieves the EAP method type |\n\nConstants\n---------\n\n### EAP_TYPE_AKA\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EAP_TYPE_AKA: Int\n```\n\nEAP-Type value for the EAP-AKA method.\n\nTo include EAP-AKA as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaConfig(kotlin.Int,%20kotlin.Int)). \n\n Value: 23\n\n**See Also**\n\n### EAP_TYPE_AKA_PRIME\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EAP_TYPE_AKA_PRIME: Int\n```\n\nEAP-Type value for the EAP-AKA' method.\n\nTo include EAP-AKA' as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaPrimeConfig(kotlin.Int,%20kotlin.Int,%20kotlin.String,%20kotlin.Boolean)). \n\n Value: 50\n\n**See Also**\n\n### EAP_TYPE_MSCHAP_V2\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EAP_TYPE_MSCHAP_V2: Int\n```\n\nEAP-Type value for the EAP-MS-CHAPv2 method.\n\nTo include EAP-MS-CHAPv2 as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapMsChapV2Config(kotlin.String,%20kotlin.String)). \n\n Value: 26\n\n**See Also**\n\n### EAP_TYPE_SIM\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EAP_TYPE_SIM: Int\n```\n\nEAP-Type value for the EAP-SIM method.\n\nTo include EAP-SIM as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapSimConfig(kotlin.Int,%20kotlin.Int)). \n\n Value: 18\n\n**See Also**\n\n### EAP_TYPE_TTLS\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EAP_TYPE_TTLS: Int\n```\n\nEAP-Type value for the EAP-TTLS method.\n\nTo include EAP-TTLS as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,%20android.net.eap.EapSessionConfig)). \n\n Value: 21\n\n**See Also**\n\nPublic methods\n--------------\n\n### getMethodType\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getMethodType(): Int\n```\n\nRetrieves the EAP method type\n\n| Return ||\n|----------------------------------------------------------------------------|--------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the IANA-defined EAP method constant |"]]