12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
-
-
- #import <Foundation/Foundation.h>
-
- @class FIRAuthRequestConfiguration;
-
- NS_ASSUME_NONNULL_BEGIN
-
-
- typedef void (^FIRFetchAuthDomainCallback)(NSString *_Nullable authDomain,
- NSError *_Nullable error);
-
-
- @interface FIRAuthWebUtils : NSObject
-
-
- + (NSString *)randomStringWithLength:(NSUInteger)length;
-
-
- + (BOOL)isCallbackSchemeRegisteredForCustomURLScheme:(NSString *)URLScheme;
-
-
- + (BOOL)isExpectedCallbackURL:(nullable NSURL *)URL
- eventID:(NSString *)eventID
- authType:(NSString *)authType
- callbackScheme:(NSString *)callbackScheme;
-
-
- + (void)fetchAuthDomainWithRequestConfiguration:(FIRAuthRequestConfiguration *)requestConfiguration
- completion:(FIRFetchAuthDomainCallback)completion;
-
-
-
- + (nullable NSString *)queryItemValue:(NSString *)name from:(NSArray<NSURLQueryItem *> *)queryList;
-
-
- + (NSDictionary *)dictionaryWithHttpArgumentsString:(NSString *)argString;
-
-
- + (NSString *)stringByUnescapingFromURLArgument:(NSString *)argument;
-
- @end
-
- NS_ASSUME_NONNULL_END
|