//
//  AuthorizationProgressViewController.h
//  HotPocket (iOS)
//
//  Created by Tomek Wójcik on 25/09/2025.
//

#import <UIKit/UIKit.h>
#import <AuthenticationServices/AuthenticationServices.h>

NS_ASSUME_NONNULL_BEGIN

@class MultilineLabel;

@interface AuthorizationProgressViewController : UIViewController<ASWebAuthenticationPresentationContextProviding>

@property IBOutlet UIActivityIndicatorView *progressIndicator;
@property IBOutlet MultilineLabel *progressLabel;
@property (strong, nullable) NSURL *authorizationURL;
@property (strong, nullable) ASWebAuthenticationSession *webAuthenticationSession;
@property BOOL userCancelledSession;

@end

NS_ASSUME_NONNULL_END
