NetIQ Mobile SDK for iOS  2.0
Access Manager iOS Framework for OAuth & OIDC
OIDRegistrationRequest.h
Go to the documentation of this file.
1 
19 #import <Foundation/Foundation.h>
20 
23 
24 NS_ASSUME_NONNULL_BEGIN
25 
29 @interface OIDRegistrationRequest : NSObject <NSCopying, NSSecureCoding>
30 
35 @property(nonatomic, readonly) OIDServiceConfiguration *configuration;
36 
41 @property(nonatomic, readonly) NSString *applicationType;
42 
47 @property(nonatomic, readonly) NSArray<NSURL *> *redirectURIs;
48 
53 @property(nonatomic, readonly, nullable) NSArray<NSString *> *responseTypes;
54 
59 @property(nonatomic, readonly, nullable) NSArray<NSString *> *grantTypes;
60 
65 @property(nonatomic, readonly, nullable) NSString *subjectType;
66 
71 @property(nonatomic, readonly, nullable) NSString *tokenEndpointAuthenticationMethod;
72 
75 @property(nonatomic, readonly, nullable) NSDictionary<NSString *, NSString *> *additionalParameters;
76 
80 - (instancetype)init NS_UNAVAILABLE;
81 
92 - (instancetype)initWithConfiguration:(OIDServiceConfiguration *)configuration
93  redirectURIs:(NSArray<NSURL *> *)redirectURIs
94  responseTypes:(nullable NSArray<NSString *> *)responseTypes
95  grantTypes:(nullable NSArray<NSString *> *)grantTypes
96  subjectType:(nullable NSString *)subjectType
97  tokenEndpointAuthMethod:(nullable NSString *)tokenEndpointAuthMethod
98  additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters
99  NS_DESIGNATED_INITIALIZER;
100 
104 - (NSURLRequest *)URLRequest;
105 
106 @end
107 
108 NS_ASSUME_NONNULL_END
NSDictionary< NSString *, NSString * > * additionalParameters
The client&#39;s additional token request parameters.
Definition: OIDRegistrationRequest.h:75
Represents the information needed to construct a OIDAuthorizationService.
Definition: OIDServiceConfiguration.h:35
NSArray< NSString * > * grantTypes
The grant types to register for usage by this client.
Definition: OIDRegistrationRequest.h:59
NSString * applicationType
The application type to register, will always be &#39;native&#39;.
Definition: OIDRegistrationRequest.h:41
Represents the response to an authorization request.
Definition: OIDAuthorizationResponse.h:31
NSURLRequest * URLRequest()
Constructs an NSURLRequest representing the registration request.
OIDServiceConfiguration * configuration
The service&#39;s configuration.
Definition: OIDRegistrationRequest.h:35
NSArray< NSString * > * responseTypes
The response types to register for usage by this client.
Definition: OIDRegistrationRequest.h:53
NSString * subjectType
The subject type to to request.
Definition: OIDRegistrationRequest.h:65
NSArray< NSURL * > * redirectURIs
The client&#39;s redirect URI&#39;s.
Definition: OIDRegistrationRequest.h:47
NSString * tokenEndpointAuthenticationMethod
The client authentication method to use at the token endpoint.
Definition: OIDRegistrationRequest.h:71
Represents a registration request.
Definition: OIDRegistrationRequest.h:29