AppAuth
Instance Methods | List of all members
<OIDExternalUserAgent> Protocol Reference

An external user-agent UI that presents displays the request to the user. Clients may provide custom implementations of an external user-agent to customize the way the requests are presented to the end user. More...

#import <OIDExternalUserAgent.h>

Inheritance diagram for <OIDExternalUserAgent>:
OIDExternalUserAgentIOS OIDExternalUserAgentIOSCustomBrowser OIDExternalUserAgentMac

Instance Methods

(BOOL) - presentExternalUserAgentRequest:session:
 Presents the request in the external user-agent. More...
 
(void) - dismissExternalUserAgentAnimated:completion:
 Dimisses the external user-agent and calls completion when the dismiss operation ends. More...
 

Detailed Description

An external user-agent UI that presents displays the request to the user. Clients may provide custom implementations of an external user-agent to customize the way the requests are presented to the end user.

An interface that any external user-agent request may implement to use the OIDExternalUserAgent flow.

Method Documentation

◆ dismissExternalUserAgentAnimated:completion:()

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

Dimisses the external user-agent and calls completion when the dismiss operation ends.

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

◆ presentExternalUserAgentRequest:session:()

- (BOOL) presentExternalUserAgentRequest: (id< OIDExternalUserAgentRequest >)  request
session: (id< OIDExternalUserAgentSession >)  session 

Presents the request in the external user-agent.

Parameters
requestThe request to be presented in the external user-agent.
sessionThe OIDExternalUserAgentSession instance that initiates presenting the UI. Concrete implementations of a OIDExternalUserAgent may call resumeExternalUserAgentFlowWithURL or failExternalUserAgentFlowWithError on session to either resume or fail the request.
Returns
YES If the request UI was successfully presented to the user.

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