19 #import <Foundation/Foundation.h> 21 @class OIDAuthorization;
29 @protocol OIDAuthorizationFlowSession;
32 NS_ASSUME_NONNULL_BEGIN
40 NSError *_Nullable error);
48 NSError *_Nullable error);
56 NSError *_Nullable error);
69 NSError *_Nullable error);
87 - (instancetype)init NS_UNAVAILABLE;
96 + (void)discoverServiceConfigurationForIssuer:(NSURL *)issuerURL
107 + (void)discoverServiceConfigurationForDiscoveryURL:(NSURL *)discoveryURL
119 + (id<OIDAuthorizationFlowSession>)
121 UICoordinator:(id<OIDAuthorizationUICoordinator>)UICoordinator
141 @protocol OIDAuthorizationFlowSession <NSObject>
162 - (BOOL)resumeAuthorizationFlowWithURL:(NSURL *)URL;
169 - (void)failAuthorizationFlowWithError:(NSError *)error;
173 NS_ASSUME_NONNULL_END
Represents the information needed to construct a OIDAuthorizationService.
Definition: OIDServiceConfiguration.h:35
void(^ OIDRegistrationCompletion)(OIDRegistrationResponse *_Nullable registrationResponse, NSError *_Nullable error)
Represents the type of block used as a callback for various methods of OIDAuthorizationService.
Definition: OIDAuthorizationService.h:68
void(^ OIDTokenCallback)(OIDTokenResponse *_Nullable tokenResponse, NSError *_Nullable error)
Represents the type of block used as a callback for various methods of OIDAuthorizationService.
Definition: OIDAuthorizationService.h:55
An authorization UI coordinator that presents an authorization request. Clients may provide custom im...
Definition: OIDAuthorizationUICoordinator.h:30
Represents the response to an authorization request.
Definition: OIDAuthorizationResponse.h:31
Represents an authorization request.
Definition: OIDAuthorizationRequest.h:40
NS_ASSUME_NONNULL_BEGIN typedef void(^ OIDDiscoveryCallback)(OIDServiceConfiguration *_Nullable configuration, NSError *_Nullable error)
Represents the type of block used as a callback for creating a service configuration from a remote Op...
void(^ OIDAuthorizationCallback)(OIDAuthorizationResponse *_Nullable authorizationResponse, NSError *_Nullable error)
Represents the type of block used as a callback for various methods of OIDAuthorizationService.
Definition: OIDAuthorizationService.h:47
Represents a registration response.
Definition: OIDRegistrationResponse.h:53
Represents a token request.
Definition: OIDTokenRequest.h:34
Represents the response to an token request.
Definition: OIDTokenResponse.h:29
Performs various OAuth and OpenID Connect related calls via the user agent or .
Definition: OIDAuthorizationService.h:74
NSDictionary< NSString *, NSString * > *_Nullable OIDTokenEndpointParameters
Represents the type of dictionary used to specify additional querystring parameters when making autho...
Definition: OIDAuthorizationService.h:61
OIDServiceConfiguration * configuration
The service's configuration.
Definition: OIDAuthorizationService.h:82
Represents a registration request.
Definition: OIDRegistrationRequest.h:29