AppAuth
|
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>
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... | |
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.
- (void) dismissExternalUserAgentAnimated: | (BOOL) | animated | |
completion: | (void(^)(void)) | completion | |
Dimisses the external user-agent and calls completion when the dismiss operation ends.
animated | Whether or not the dismiss operation should be animated. |
completion | The block to be called when the dismiss operations ends |
- (BOOL) presentExternalUserAgentRequest: | (id< OIDExternalUserAgentRequest >) | request | |
session: | (id< OIDExternalUserAgentSession >) | session | |
Presents the request in the external user-agent.
request | The request to be presented in the external user-agent. |
session | The 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. |