NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
An authorization UI coordinator that presents an authorization request. Clients may provide custom implementations of an authorization UI coordinator to customize the way the authorization request is presented to the user. More...
#import <OIDAuthorizationUICoordinator.h>
Inherits <NSObject>.
Inherited by OIDAuthorizationUICoordinatorIOS.
Instance Methods | |
(BOOL) | - presentAuthorizationWithURL:session: |
Presents the authorization UI for the given URL. More... | |
(void) | - dismissAuthorizationAnimated:completion: |
Dimisses the authorization UI and calls completion when the dismiss operation ends. More... | |
An authorization UI coordinator that presents an authorization request. Clients may provide custom implementations of an authorization UI coordinator to customize the way the authorization request is presented to the user.
- (void) dismissAuthorizationAnimated: | (BOOL) | animated | |
completion: | (void(^)(void)) | completion | |
Dimisses the authorization UI and calls completion when the dismiss operation ends.
animated | Wheter or not the dismiss operation should be animated. |
completion | The block to be called when the dismiss operations ends |
- (BOOL) presentAuthorizationWithURL: | (NSURL *) | URL | |
session: | (id< OIDAuthorizationFlowSession >) | session | |
Presents the authorization UI for the given URL.
URL | The URL that should be used when presenting the authorization UI. |
session | The OIDAuthorizationFlowSession instance that initiates presenting the authorization UI. Concrete implementations of a OIDAuthorizationUICoordinator may call resumeAuthorizationFlowWithURL or failAuthorizationFlowWithError on session to either resume or fail the authorization. |