19 #import <Foundation/Foundation.h>
23 #import "OIDExternalUserAgentRequest.h"
29 NS_ASSUME_NONNULL_BEGIN
63 @property(nonatomic, readonly) NSString *
clientID;
80 @property(nonatomic, readonly, nullable) NSString *
scope;
97 @property(nonatomic, readonly, nullable) NSString *
state;
108 @property(nonatomic, readonly, nullable) NSString *
nonce;
141 - (instancetype)init NS_UNAVAILABLE;
156 clientId:(NSString *)clientID
157 scopes:(nullable NSArray<NSString *> *)scopes
158 redirectURL:(NSURL *)redirectURL
159 responseType:(NSString *)responseType
160 additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters;
176 clientId:(NSString *)clientID
177 clientSecret:(nullable NSString *)clientSecret
178 scopes:(nullable NSArray<NSString *> *)scopes
179 redirectURL:(NSURL *)redirectURL
180 responseType:(NSString *)responseType
181 additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters;
205 clientId:(NSString *)clientID
206 clientSecret:(nullable NSString *)clientSecret
207 scope:(nullable NSString *)scope
208 redirectURL:(nullable NSURL *)redirectURL
209 responseType:(NSString *)responseType
210 state:(nullable NSString *)state
211 nonce:(nullable NSString *)nonce
212 codeVerifier:(nullable NSString *)codeVerifier
213 codeChallenge:(nullable NSString *)codeChallenge
214 codeChallengeMethod:(nullable NSString *)codeChallengeMethod
215 additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters
216 NS_DESIGNATED_INITIALIZER;
246 + (nullable NSString *)codeChallengeS256ForVerifier:(nullable NSString *)codeVerifier;
250 NS_ASSUME_NONNULL_END