NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
iOS specific convenience methods for OIDAuthState
.
More...
#import <OIDAuthState+IOS.h>
Class Methods | |
(id< OIDAuthorizationFlowSession >) | + authStateByPresentingAuthorizationRequest:presentingViewController:callback: |
Convenience method to create a OIDAuthState by presenting an authorization request and performing the authorization code exchange in the case of code flow requests. More... | |
iOS specific convenience methods for OIDAuthState
.
+ (id<OIDAuthorizationFlowSession>) authStateByPresentingAuthorizationRequest: | (OIDAuthorizationRequest *) | authorizationRequest | |
presentingViewController: | (UIViewController *) | presentingViewController | |
callback: | (OIDAuthStateAuthorizationCallback) | callback | |
Convenience method to create a OIDAuthState
by presenting an authorization request and performing the authorization code exchange in the case of code flow requests.
authorizationRequest | The authorization request to present. |
presentingViewController | The view controller from which to present the SFSafariViewController . |
callback | The method called when the request has completed or failed. |
OIDAuthorizationFlowSession
instance which will terminate when it receives a OIDAuthorizationFlowSession.cancel
message, or after processing a OIDAuthorizationFlowSession.resumeAuthorizationFlowWithURL:
message. Extends class OIDAuthState.