Implement SAML logout with Lock.swift

What is the proper way to implement logout for SAML connections (I want a ‘federated’ logout that also logs the user out of the SAML IDP). For reference, here is my login snippet:

            Lock
            .classic()
            .withStyle { options in
                options.logo = LazyImage(name: iconFilename)
            }
            .withOptions { options in
                options.logLevel = .all
                options.scope = "openid"
                options.allow = .Login, .ResetPassword]
                options.allowShowPassword = false
            }
            .onAuth { credentials in
                afterAuthenticationBlock(credentials.idToken)
            }.present(from: onTopOfViewController)