Go to the documentation of this file.
19 #import <Foundation/Foundation.h>
21 NS_ASSUME_NONNULL_BEGIN
39 @property(nonatomic, readonly) NSURL *
issuer;
73 @property(nonatomic, readonly) NSURL *
jwksURL;
85 @property(nonatomic, readonly, nullable) NSURL *endSessionEndpoint;
146 @property(nonatomic, readonly, nullable)
154 @property(nonatomic, readonly, nullable)
165 @property(nonatomic, readonly, nullable)
175 @property(nonatomic, readonly, nullable)
183 @property(nonatomic, readonly, nullable)
194 @property(nonatomic, readonly, nullable)
202 @property(nonatomic, readonly, nullable)
210 @property(nonatomic, readonly, nullable)
232 @property(nonatomic, readonly, nullable)
319 @property(nonatomic, readonly, nullable) NSURL *
OPTosURI;
325 - (nonnull instancetype)init NS_UNAVAILABLE;
333 - (nullable instancetype)initWithJSON:(NSString *)serviceDiscoveryJSON
334 error:(NSError **_Nullable)error;
342 - (nullable instancetype)initWithJSONData:(NSData *)serviceDiscoveryJSONData
343 error:(NSError **_Nullable)error;
353 - (nullable instancetype)initWithDictionary:(NSDictionary *)serviceDiscoveryDictionary
354 error:(NSError **_Nullable)error NS_DESIGNATED_INITIALIZER;
358 NS_ASSUME_NONNULL_END
NSArray< NSString * > * responseModesSupported
OPTIONAL. JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports,...
Definition: OIDServiceDiscovery.h:109
NSURL * serviceDocumentation
OPTIONAL. URL of a page containing human-readable information that developers might want or need to k...
Definition: OIDServiceDiscovery.h:264
NSURL * OPPolicyURI
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about th...
Definition: OIDServiceDiscovery.h:312
NSArray< NSString * > * grantTypesSupported
OPTIONAL. JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports....
Definition: OIDServiceDiscovery.h:117
NSDictionary< NSString *, id > * discoveryDictionary
The decoded OpenID Connect 1.0 Discovery Document as a dictionary.
Definition: OIDServiceDiscovery.h:30
NSURL * authorizationEndpoint
REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint.
Definition: OIDServiceDiscovery.h:45
NSArray< NSString * > * claimsSupported
RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID Provider M...
Definition: OIDServiceDiscovery.h:256
NSArray< NSString * > * userinfoSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the Us...
Definition: OIDServiceDiscovery.h:166
NSURL * userinfoEndpoint
RECOMMENDED. URL of the OP's UserInfo Endpoint. This URL MUST use the https scheme and MAY contain po...
Definition: OIDServiceDiscovery.h:59
NSArray< NSString * > * UILocalesSupported
OPTIONAL. Languages and scripts supported for the user interface, represented as a JSON array of BCP4...
Definition: OIDServiceDiscovery.h:279
BOOL requestURIParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter,...
Definition: OIDServiceDiscovery.h:297
NSArray< NSString * > * responseTypesSupported
REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports....
Definition: OIDServiceDiscovery.h:101
NSArray< NSString * > * IDTokenEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:155
NSArray< NSString * > * requestObjectSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP...
Definition: OIDServiceDiscovery.h:195
BOOL requireRequestURIRegistration
OPTIONAL. Boolean value specifying whether the OP requires any request_uri values used to be pre-regi...
Definition: OIDServiceDiscovery.h:304
BOOL claimsParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter,...
Definition: OIDServiceDiscovery.h:285
NSArray< NSString * > * acrValuesSupported
OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP su...
Definition: OIDServiceDiscovery.h:123
NSArray< NSString * > * IDTokenSigningAlgorithmValuesSupported
REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP...
Definition: OIDServiceDiscovery.h:139
NSArray< NSString * > * displayValuesSupported
OPTIONAL. JSON array containing a list of the display parameter values that the OpenID Provider suppo...
Definition: OIDServiceDiscovery.h:240
NSURL * jwksURL
REQUIRED. URL of the OP's JSON Web Key Set document. This contains the signing key(s) the RP uses to ...
Definition: OIDServiceDiscovery.h:73
NSArray< NSString * > * IDTokenEncryptionAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the...
Definition: OIDServiceDiscovery.h:147
NSArray< NSString * > * requestObjectEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:211
NSArray< NSString * > * tokenEndpointAuthSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the To...
Definition: OIDServiceDiscovery.h:233
NSURL * registrationEndpoint
RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint.
Definition: OIDServiceDiscovery.h:79
BOOL requestParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter,...
Definition: OIDServiceDiscovery.h:291
NSArray< NSString * > * subjectTypesSupported
REQUIRED. JSON array containing a list of the Subject Identifier types that this OP supports....
Definition: OIDServiceDiscovery.h:129
NSArray< NSString * > * requestObjectEncryptionAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the...
Definition: OIDServiceDiscovery.h:203
NSURL * OPTosURI
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about Op...
Definition: OIDServiceDiscovery.h:319
NSURL * issuer
REQUIRED. URL using the https scheme with no query or fragment component that the OP asserts as its I...
Definition: OIDServiceDiscovery.h:39
NSArray< NSString * > * claimTypesSupported
OPTIONAL. JSON array containing a list of the Claim Types that the OpenID Provider supports....
Definition: OIDServiceDiscovery.h:249
NSArray< NSString * > * scopesSupported
RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server su...
Definition: OIDServiceDiscovery.h:94
NSArray< NSString * > * tokenEndpointAuthMethodsSupported
OPTIONAL. JSON array containing a list of Client Authentication methods supported by this Token Endpo...
Definition: OIDServiceDiscovery.h:223
NSArray< NSString * > * userinfoEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:184
NSArray< NSString * > * userinfoEncryptionAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the...
Definition: OIDServiceDiscovery.h:176
Represents an OpenID Connect 1.0 Discovery Document.
Definition: OIDServiceDiscovery.h:26
NSURL * tokenEndpoint
URL of the OP's OAuth 2.0 Token Endpoint. This is REQUIRED unless only the Implicit Flow is used.
Definition: OIDServiceDiscovery.h:52
NSArray< NSString * > * claimsLocalesSupported
OPTIONAL. Languages and scripts supported for values in Claims being returned, represented as a JSON ...
Definition: OIDServiceDiscovery.h:272