19 #import <Foundation/Foundation.h> 21 NS_ASSUME_NONNULL_BEGIN
39 @property(nonatomic, readonly) NSURL *
issuer;
73 @property(nonatomic, readonly) NSURL *
jwksURL;
140 @property(nonatomic, readonly, nullable)
148 @property(nonatomic, readonly, nullable)
159 @property(nonatomic, readonly, nullable)
169 @property(nonatomic, readonly, nullable)
177 @property(nonatomic, readonly, nullable)
188 @property(nonatomic, readonly, nullable)
196 @property(nonatomic, readonly, nullable)
204 @property(nonatomic, readonly, nullable)
226 @property(nonatomic, readonly, nullable)
313 @property(nonatomic, readonly, nullable) NSURL *
OPTosURI;
319 - (nonnull instancetype)init NS_UNAVAILABLE;
327 - (nullable instancetype)initWithJSON:(NSString *)serviceDiscoveryJSON
328 error:(NSError **_Nullable)error;
336 - (nullable instancetype)initWithJSONData:(NSData *)serviceDiscoveryJSONData
337 error:(NSError **_Nullable)error;
347 - (nullable instancetype)initWithDictionary:(NSDictionary *)serviceDiscoveryDictionary
348 error:(NSError **_Nullable)error NS_DESIGNATED_INITIALIZER;
352 NS_ASSUME_NONNULL_END
NSArray< NSString * > * subjectTypesSupported
REQUIRED. JSON array containing a list of the Subject Identifier types that this OP supports...
Definition: OIDServiceDiscovery.h:123
NSURL * OPPolicyURI
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about th...
Definition: OIDServiceDiscovery.h:306
NSArray< NSString * > * responseModesSupported
OPTIONAL. JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports...
Definition: OIDServiceDiscovery.h:103
Represents an OpenID Connect 1.0 Discovery Document.
Definition: OIDServiceDiscovery.h:26
NSArray< NSString * > * userinfoSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the Us...
Definition: OIDServiceDiscovery.h:160
NSArray< NSString * > * scopesSupported
RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server su...
Definition: OIDServiceDiscovery.h:88
NSArray< NSString * > * tokenEndpointAuthMethodsSupported
OPTIONAL. JSON array containing a list of Client Authentication methods supported by this Token Endpo...
Definition: OIDServiceDiscovery.h:217
NSArray< NSString * > * claimsLocalesSupported
OPTIONAL. Languages and scripts supported for values in Claims being returned, represented as a JSON ...
Definition: OIDServiceDiscovery.h:266
BOOL requestParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false.
Definition: OIDServiceDiscovery.h:285
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
NSURL * serviceDocumentation
OPTIONAL. URL of a page containing human-readable information that developers might want or need to k...
Definition: OIDServiceDiscovery.h:258
BOOL claimsParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false.
Definition: OIDServiceDiscovery.h:279
NSDictionary< NSString *, id > * discoveryDictionary
The decoded OpenID Connect 1.0 Discovery Document as a dictionary.
Definition: OIDServiceDiscovery.h:30
NSArray< NSString * > * responseTypesSupported
REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports...
Definition: OIDServiceDiscovery.h:95
NSArray< NSString * > * IDTokenEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:149
NSURL * authorizationEndpoint
REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint.
Definition: OIDServiceDiscovery.h:45
NSArray< NSString * > * acrValuesSupported
OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP su...
Definition: OIDServiceDiscovery.h:117
NSArray< NSString * > * userinfoEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:178
NSURL * OPTosURI
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about Op...
Definition: OIDServiceDiscovery.h:313
NSArray< NSString * > * IDTokenSigningAlgorithmValuesSupported
REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP...
Definition: OIDServiceDiscovery.h:133
NSArray< NSString * > * requestObjectEncryptionEncodingValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the...
Definition: OIDServiceDiscovery.h:205
BOOL requestURIParameterSupported
OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter...
Definition: OIDServiceDiscovery.h:291
NSArray< NSString * > * requestObjectSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP...
Definition: OIDServiceDiscovery.h:189
NSArray< NSString * > * requestObjectEncryptionAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the...
Definition: OIDServiceDiscovery.h:197
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 * > * grantTypesSupported
OPTIONAL. JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports...
Definition: OIDServiceDiscovery.h:111
NSArray< NSString * > * userinfoEncryptionAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the...
Definition: OIDServiceDiscovery.h:170
BOOL requireRequestURIRegistration
OPTIONAL. Boolean value specifying whether the OP requires any request_uri values used to be pre-regi...
Definition: OIDServiceDiscovery.h:298
NSArray< NSString * > * claimTypesSupported
OPTIONAL. JSON array containing a list of the Claim Types that the OpenID Provider supports...
Definition: OIDServiceDiscovery.h:243
NSURL * registrationEndpoint
RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint.
Definition: OIDServiceDiscovery.h:79
NSArray< NSString * > * displayValuesSupported
OPTIONAL. JSON array containing a list of the display parameter values that the OpenID Provider suppo...
Definition: OIDServiceDiscovery.h:234
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:141
NSArray< NSString * > * UILocalesSupported
OPTIONAL. Languages and scripts supported for the user interface, represented as a JSON array of BCP4...
Definition: OIDServiceDiscovery.h:273
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 * > * claimsSupported
RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID Provider M...
Definition: OIDServiceDiscovery.h:250
NSArray< NSString * > * tokenEndpointAuthSigningAlgorithmValuesSupported
OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the To...
Definition: OIDServiceDiscovery.h:227