19 #import <Foundation/Foundation.h>
28 NS_ASSUME_NONNULL_BEGIN
66 @property(nonatomic, readonly) NSString *
clientID;
79 @property(nonatomic, readonly, nullable) NSString *
scope;
102 - (instancetype)init NS_UNAVAILABLE;
118 grantType:(NSString *)grantType
119 authorizationCode:(nullable NSString *)code
120 redirectURL:(nullable NSURL *)redirectURL
121 clientID:(NSString *)clientID
122 clientSecret:(nullable NSString *)clientSecret
123 scopes:(nullable NSArray<NSString *> *)scopes
124 refreshToken:(nullable NSString *)refreshToken
125 codeVerifier:(nullable NSString *)codeVerifier
126 additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters;
144 grantType:(NSString *)grantType
145 authorizationCode:(nullable NSString *)code
146 redirectURL:(nullable NSURL *)redirectURL
147 clientID:(NSString *)clientID
148 clientSecret:(nullable NSString *)clientSecret
149 scope:(nullable NSString *)scope
150 refreshToken:(nullable NSString *)refreshToken
151 codeVerifier:(nullable NSString *)codeVerifier
152 additionalParameters:(nullable NSDictionary<NSString *, NSString *> *)additionalParameters
153 NS_DESIGNATED_INITIALIZER;
162 NS_ASSUME_NONNULL_END