NetIQ Mobile SDK for iOS  2.0
Access Manager iOS Framework for OAuth & OIDC
<OIDAuthorizationUICoordinator> Protocol Reference

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...
 

Detailed Description

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.

Method Documentation

◆ dismissAuthorizationAnimated:completion:()

- (void) dismissAuthorizationAnimated: (BOOL)  animated
completion: (void(^)(void))  completion 

Dimisses the authorization UI and calls completion when the dismiss operation ends.

Parameters
animatedWheter or not the dismiss operation should be animated.
Remarks
Has no effect if no authorization UI is presented.
Parameters
completionThe block to be called when the dismiss operations ends

◆ presentAuthorizationWithURL:session:()

- (BOOL) presentAuthorizationWithURL: (NSURL *)  URL
session: (id< OIDAuthorizationFlowSession >)  session 

Presents the authorization UI for the given URL.

Parameters
URLThe URL that should be used when presenting the authorization UI.
sessionThe 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.
Returns
YES If the authorization UI was successfully presented to the user.

The documentation for this protocol was generated from the following file: