AppAuth
Class Methods | List of all members
OIDAuthorizationService(IOS) Category Reference

Provides iOS specific authorization request handling. More...

#import <OIDAuthorizationService+IOS.h>

Class Methods

(id< OIDExternalUserAgentSession >) + presentAuthorizationRequest:presentingViewController:callback:
 Perform an authorization flow using SFSafariViewController. More...
 

Detailed Description

Provides iOS specific authorization request handling.

Method Documentation

◆ presentAuthorizationRequest:presentingViewController:callback:()

+ (id<OIDExternalUserAgentSession>) presentAuthorizationRequest: (OIDAuthorizationRequest *)  request
presentingViewController: (UIViewController *)  presentingViewController
callback: (OIDAuthorizationCallback callback 

Perform an authorization flow using SFSafariViewController.

Parameters
requestThe authorization request.
presentingViewControllerThe view controller from which to present the SFSafariViewController.
callbackThe method called when the request has completed or failed.
Returns
A OIDExternalUserAgentSession instance which will terminate when it receives a cancel (OIDExternalUserAgentSession-p) message, or after processing a resumeExternalUserAgentFlowWithURL: (OIDExternalUserAgentSession-p) message.

Extends class OIDAuthorizationService.


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