mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
473 B
Swift
16 lines
473 B
Swift
import SwiftSignalKit
|
|
|
|
public extension TelegramEngine {
|
|
final class SecureId {
|
|
private let account: Account
|
|
|
|
init(account: Account) {
|
|
self.account = account
|
|
}
|
|
|
|
public func accessSecureId(password: String) -> Signal<(context: SecureIdAccessContext, settings: TwoStepVerificationSettings), SecureIdAccessError> {
|
|
return _internal_accessSecureId(network: self.account.network, password: password)
|
|
}
|
|
}
|
|
}
|