Go to the documentation of this file.
19 #import <Foundation/Foundation.h>
21 @class OIDAuthorization;
34 NS_ASSUME_NONNULL_BEGIN
42 NSError *_Nullable error);
50 NSError *_Nullable error);
57 NSError *_Nullable error);
65 NSError *_Nullable error);
78 NSError *_Nullable error);
96 - (instancetype)init NS_UNAVAILABLE;
105 + (void)discoverServiceConfigurationForIssuer:(NSURL *)issuerURL
116 + (void)discoverServiceConfigurationForDiscoveryURL:(NSURL *)discoveryURL
129 externalUserAgent:(id<OIDExternalUserAgent>)externalUserAgent
141 + (id<OIDExternalUserAgentSession>)
143 externalUserAgent:(id<OIDExternalUserAgent>)externalUserAgent
170 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:77
Represents the response to an authorization request.
Definition: OIDAuthorizationResponse.h:31
Represents a registration request.
Definition: OIDRegistrationRequest.h:29
Represents an authorization request.
Definition: OIDAuthorizationRequest.h:41
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:49
Definition: OIDEndSessionRequest.h:27
Represents the response to an End Session request.
Definition: OIDEndSessionResponse.h:29
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:64
NSDictionary< NSString *, NSString * > *_Nullable OIDTokenEndpointParameters
Represents the type of dictionary used to specify additional querystring parameters when making autho...
Definition: OIDAuthorizationService.h:70
Represents a registration response.
Definition: OIDRegistrationResponse.h:53
Represents an in-flight external user-agent session.
Definition: OIDExternalUserAgentSession.h:23
Performs various OAuth and OpenID Connect related calls via the user agent or NSURLSession.
Definition: OIDAuthorizationService.h:83
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...
Definition: OIDAuthorizationService.h:41
Represents a token request.
Definition: OIDTokenRequest.h:34
void(^ OIDEndSessionCallback)(OIDEndSessionResponse *_Nullable endSessionResponse, NSError *_Nullable error)
Block used as a callback for the end-session request of OIDAuthorizationService.
Definition: OIDAuthorizationService.h:56
OIDServiceConfiguration * configuration
The service's configuration.
Definition: OIDAuthorizationService.h:91
Represents the response to an token request.
Definition: OIDTokenResponse.h:29
An external user-agent UI that presents displays the request to the user. Clients may provide custom ...
Definition: OIDExternalUserAgent.h:31