{"sections":[],"metadata":{"roleHeading":"Instance Method","required":true,"symbolKind":"method","externalID":"s:4VKID11UserSessionP6logout10completionyys6ResultOyytAA11LogoutErrorOGc_tF","title":"logout(completion:)","modules":[{"name":"VKID"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"logout","kind":"identifier"},{"text":"(","kind":"text"},{"text":"completion","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"LogoutResult","kind":"typeIdentifier","preciseIdentifier":"s:4VKID12LogoutResulta"},{"text":") -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"role":"symbol"},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"Логаут"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/vkid\/usersession\/logout(completion:)"]}],"hierarchy":{"paths":[["doc:\/\/ios-sdk.VKID\/documentation\/VKID","doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession\/logout(completion:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"logout"},{"kind":"text","text":"("},{"kind":"externalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"attribute","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LogoutResult","preciseIdentifier":"s:4VKID12LogoutResulta","text":"LogoutResult"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Колбек с результатом получения логаута"}]}],"name":"completion"}]}],"references":{"doc://ios-sdk.VKID/documentation/VKID":{"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID","type":"topic","abstract":[{"type":"text","text":"Библиотека для авторизации пользователей iOS приложений с помощью аккаунта VK ID."}],"url":"\/documentation\/vkid","kind":"symbol","role":"collection","title":"VKID"},"doc://ios-sdk.VKID/documentation/VKID/UserSession":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"UserSession"}],"navigatorTitle":[{"kind":"identifier","text":"UserSession"}],"url":"\/documentation\/vkid\/usersession","kind":"symbol","abstract":[{"type":"text","text":"Авторизованная сессия пользователя."}],"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession","role":"symbol","type":"topic","title":"UserSession"},"doc://ios-sdk.VKID/documentation/VKID/UserSession/logout(completion:)":{"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession\/logout(completion:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"logout"},{"kind":"text","text":"("},{"kind":"externalParam","text":"completion"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:4VKID12LogoutResulta","text":"LogoutResult"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"kind":"symbol","title":"logout(completion:)","url":"\/documentation\/vkid\/usersession\/logout(completion:)","abstract":[{"type":"text","text":"Логаут"}],"type":"topic","required":true},"doc://ios-sdk.VKID/documentation/VKID/LogoutResult":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"LogoutResult","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"Результат логаута"}],"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LogoutResult","title":"LogoutResult","url":"\/documentation\/vkid\/logoutresult","kind":"symbol","navigatorTitle":[{"text":"LogoutResult","kind":"identifier"}],"role":"symbol"}}}