{"sections":[],"abstract":[{"text":"Логаут сессии.","type":"text"}],"metadata":{"roleHeading":"Instance Method","symbolKind":"method","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":")"}],"title":"logout(completion:)","externalID":"s:4VKID17LegacyUserSessionC6logout10completionyys6ResultOyytAA11LogoutErrorOGc_tF","modules":[{"name":"VKID"}],"role":"symbol"},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/vkid\/legacyusersession\/logout(completion:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"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","text":"LogoutResult","preciseIdentifier":"s:4VKID12LogoutResulta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Колбэк с результатом логаута."}]}],"name":"completion"}]}],"identifier":{"url":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LegacyUserSession\/logout(completion:)","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/ios-sdk.VKID\/documentation\/VKID","doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LegacyUserSession"]]},"references":{"doc://ios-sdk.VKID/documentation/VKID/LegacyUserSession/logout(completion:)":{"url":"\/documentation\/vkid\/legacyusersession\/logout(completion:)","title":"logout(completion:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"logout","kind":"identifier"},{"text":"(","kind":"text"},{"text":"completion","kind":"externalParam"},{"text":": (","kind":"text"},{"preciseIdentifier":"s:4VKID12LogoutResulta","text":"LogoutResult","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"text":"Логаут сессии.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LegacyUserSession\/logout(completion:)","role":"symbol","type":"topic"},"doc://ios-sdk.VKID/documentation/VKID/LegacyUserSession":{"url":"\/documentation\/vkid\/legacyusersession","abstract":[{"type":"text","text":"Устаревшая авторизованная сессия пользователя, необходима для миграции на OAuth2.1 или логаута"}],"role":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"LegacyUserSession"}],"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/LegacyUserSession","title":"LegacyUserSession","kind":"symbol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"LegacyUserSession"}]},"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/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"}}}