NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
Performs various OAuth and OpenID Connect related calls via the user agent or . More...
#import <OIDAuthorizationService.h>
Inherits NSObject.
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
Class Methods | |
(void) | + discoverServiceConfigurationForIssuer:completion: |
Convenience method for creating an authorization service configuration from an OpenID Connect compliant issuer URL. More... | |
(void) | + discoverServiceConfigurationForDiscoveryURL:completion: |
Convenience method for creating an authorization service configuration from an OpenID Connect compliant identity provider's discovery document. More... | |
(id< OIDAuthorizationFlowSession >) | + presentAuthorizationRequest:UICoordinator:callback: |
Perform an authorization flow using a generic flow shim. More... | |
(void) | + performTokenRequest:callback: |
Performs a token request. More... | |
(void) | + performRegistrationRequest:completion: |
Performs a registration request. More... | |
(id< OIDAuthorizationFlowSession >) | + presentAuthorizationRequest:presentingViewController:callback: |
Perform an authorization flow using . More... | |
Properties | |
OIDServiceConfiguration * | configuration |
The service's configuration. More... | |
Performs various OAuth and OpenID Connect related calls via the user agent or .
+ (void) discoverServiceConfigurationForDiscoveryURL: | (NSURL *) | discoveryURL | |
completion: | (OIDDiscoveryCallback) | completion | |
Convenience method for creating an authorization service configuration from an OpenID Connect compliant identity provider's discovery document.
discoveryURL | The URL of the service provider's OpenID Connect discovery document. |
completion | A block which will be invoked when the authorization service configuration has been created, or when an error has occurred. |
+ (void) discoverServiceConfigurationForIssuer: | (NSURL *) | issuerURL | |
completion: | (OIDDiscoveryCallback) | completion | |
Convenience method for creating an authorization service configuration from an OpenID Connect compliant issuer URL.
issuerURL | The service provider's OpenID Connect issuer. |
completion | A block which will be invoked when the authorization service configuration has been created, or when an error has occurred. |
+ (void) performRegistrationRequest: | (OIDRegistrationRequest *) | request | |
completion: | (OIDRegistrationCompletion) | completion | |
Performs a registration request.
request | The registration request. |
completion | The method called when the request has completed or failed. |
+ (void) performTokenRequest: | (OIDTokenRequest *) | request | |
callback: | (OIDTokenCallback) | callback | |
Performs a token request.
request | The token request. |
callback | The method called when the request has completed or failed. |
+ (id<OIDAuthorizationFlowSession>) presentAuthorizationRequest: | (OIDAuthorizationRequest *) | request | |
presentingViewController: | (UIViewController *) | presentingViewController | |
callback: | (OIDAuthorizationCallback) | callback | |
Perform an authorization flow using .
request | The authorization request. |
presentingViewController | The view controller from which to present the . |
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. Provided by category OIDAuthorizationService(IOS).
+ (id<OIDAuthorizationFlowSession>) presentAuthorizationRequest: | (OIDAuthorizationRequest *) | request | |
UICoordinator: | (id< OIDAuthorizationUICoordinator >) | UICoordinator | |
callback: | (OIDAuthorizationCallback) | callback | |
Perform an authorization flow using a generic flow shim.
request | The authorization request. |
UICoordinator | Generic authorization UI coordinator that can present an authorization request. |
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.
|
readnonatomicassign |
The service's configuration.