{"sections":[],"hierarchy":{"paths":[["doc:\/\/ios-sdk.VKID\/documentation\/VKID","doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession"]]},"variants":[{"paths":["\/documentation\/vkid\/usersession\/fetchuser(completion:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:4VKID11UserSessionP05fetchB010completionyys6ResultOyAA0B0VAA0B13FetchingErrorOGc_tF","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fetchUser","kind":"identifier"},{"text":"(","kind":"text"},{"text":"completion","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"UserFetchingResult","preciseIdentifier":"s:4VKID18UserFetchingResulta","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")","kind":"text"}],"modules":[{"name":"VKID"}],"title":"fetchUser(completion:)","required":true,"roleHeading":"Instance Method","symbolKind":"method"},"abstract":[{"text":"Получение пользовательских данных","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fetchUser","kind":"identifier"},{"text":"(","kind":"text"},{"text":"completion","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@escaping","kind":"attribute"},{"text":" (","kind":"text"},{"text":"UserFetchingResult","kind":"typeIdentifier","identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserFetchingResult","preciseIdentifier":"s:4VKID18UserFetchingResulta"},{"text":") -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"name":"completion","content":[{"inlineContent":[{"text":"Колбек с результатом получения данных пользователя","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"kind":"symbol","identifier":{"url":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession\/fetchUser(completion:)","interfaceLanguage":"swift"},"references":{"doc://ios-sdk.VKID/documentation/VKID/UserFetchingResult":{"navigatorTitle":[{"kind":"identifier","text":"UserFetchingResult"}],"title":"UserFetchingResult","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Результат обновления пользовательских данных"}],"url":"\/documentation\/vkid\/userfetchingresult","identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserFetchingResult","kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"UserFetchingResult"}]},"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/fetchUser(completion:)":{"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Получение пользовательских данных"}],"identifier":"doc:\/\/ios-sdk.VKID\/documentation\/VKID\/UserSession\/fetchUser(completion:)","required":true,"url":"\/documentation\/vkid\/usersession\/fetchuser(completion:)","title":"fetchUser(completion:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"fetchUser"},{"kind":"text","text":"("},{"kind":"externalParam","text":"completion"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:4VKID18UserFetchingResulta","kind":"typeIdentifier","text":"UserFetchingResult"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"kind":"text","text":")"}],"role":"symbol"},"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"}}}