getOidcInfo

inline suspend fun WickrClient.getOidcInfo(crossinline block: GetOidcInfoRequest.Builder.() -> Unit): GetOidcInfoResponse

Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.

Samples


fun main() { 
   //sampleStart 
   // Get OIDC info successfully
val resp = wickrClient.getOidcInfo {
    networkId = "12345678"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Get OIDC info not configured
val resp = wickrClient.getOidcInfo {
    networkId = "12345678"
} 
   //sampleEnd
}