FRANotificationViewController.h revision a3970d0ea62388e4ede01470a6436eb5c6c92353
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa/*
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * The contents of this file are subject to the terms of the Common Development and
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * Distribution License (the License). You may not use this file except in compliance with the
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * License.
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa *
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * specific language governing permission and limitations under the License.
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa *
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * When distributing Covered Software, include this CDDL Header Notice in each file and include
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * Header, with the fields enclosed by brackets [] replaced by your own identifying
649fdc0d0502d62d160c150684356fef2c273484Eugen Kuksa * information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2016 ForgeRock AS.
*/
#import <UIKit/UIKit.h>
@class FRANotification;
/*!
* Controller for Notification view.
*/
@interface FRANotificationViewController : UIViewController
@property (weak, nonatomic) FRANotification *notification;
/*!
* The UISlider used to authorize the requested action.
*/
@property (weak, nonatomic) IBOutlet UISlider *authorizeSlider;
/*!
* The UIButton used to deny the requested action.
*/
@property (weak, nonatomic) IBOutlet UIButton *denyButton;
/*!
* The UIImageView in which the issuer's icon will be displayed.
*/
@property (weak, nonatomic) IBOutlet UIImageView *image;
/*!
* The callback used to permit the requested authorization requested.
*/
- (IBAction)authorize:(id)sender;
/*!
* The callback used to deny the requested authorization requested.
*/
- (IBAction)dismiss:(id)sender;
@end