//
//  OLTermsHelper.h
//  OneLoginExample
//
//  Created by Niko Xu on 2025/8/21.
//  Copyright © 2025 geetest. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface OLTermsHelper : NSObject

// 判断是否已经接受使用条款和隐私政策
+ (BOOL)hasAcceptedTermsWithAlert:(BOOL)flag;

// 弹出使用条款和隐私政策授权弹窗
+ (void)showTermsAlertFrom:(UIViewController *)presentingVC
                  onAccept:(nullable void (^)(BOOL))onAccept;

@end

NS_ASSUME_NONNULL_END
