NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
Represents an in-flight authorization flow session. More...
#import <OIDAuthorizationService.h>
Inherits <NSObjectNSObject>.
Instance Methods | |
(void) | - cancel |
Cancels the code flow session, invoking the request's callback with a cancelled error. More... | |
(BOOL) | - resumeAuthorizationFlowWithURL: |
Clients should call this method with the result of the authorization code flow if it becomes available. More... | |
(void) | - failAuthorizationFlowWithError: |
OIDAuthorizationUICoordinator or clients should call this method when the authorization flow failed with a non-OAuth error. More... | |
Represents an in-flight authorization flow session.
- (void OIDAuthorizationFlowSession) cancel |
Cancels the code flow session, invoking the request's callback with a cancelled error.
OIDAuthorizationFlowSession.resumeAuthorizationFlowWithURL:
message was received. Will cause an error with code: ::OIDErrorCodeProgramCanceledAuthorizationFlow
to be passed to the callback
block passed to presentAuthorizationRequest:presentingViewController:callback: (OIDAuthorizationService(IOS))
- (void OIDAuthorizationFlowSession) failAuthorizationFlowWithError: | (NSError *) | error |
OIDAuthorizationUICoordinator
or clients should call this method when the authorization flow failed with a non-OAuth error.
error | The error that is the reason for the failure of this authorization flow. |
cancel
message was received. - (BOOL OIDAuthorizationFlowSession) resumeAuthorizationFlowWithURL: | (NSURL *) | URL |
Clients should call this method with the result of the authorization code flow if it becomes available.
URL | The redirect URL invoked by the authorization server. When the URL represented a valid authorization response, implementations should clean up any left-over UI state from the authorization, for example by closing the or looback HTTP listener if those were used. The completion block of the pending authorization request should then be invoked. |
cancel
message was received.