| /expo/packages/expo-auth-session/src/__tests__/ |
| H A D | AuthRequest-test.ts | 37 const request = new AuthRequest({ constant 49 const request = new AuthRequest({ constant 62 const request = new AuthRequest({ constant 72 const request = new AuthRequest({ constant 80 const results = request.parseReturnUrl( 87 const request = new AuthRequest({ constant 95 const results = request.parseReturnUrl( 103 const request = new AuthRequest({ constant 121 const request = new AuthRequest({ constant 136 const request = new AuthRequest({ constant [all …]
|
| H A D | TokenRequest-test.node.ts | 14 const request = new AccessTokenRequest({ constant 21 expect(request.getQueryBody()).toStrictEqual({ 40 expect(request.getHeaders()).toStrictEqual({ 46 const request = new AccessTokenRequest({ constant 61 const request = new AccessTokenRequest({ constant 81 const request = new AccessTokenRequest({ constant 94 const request = new RefreshTokenRequest({ constant 129 const request = new RefreshTokenRequest({ constant 142 const request = new RevokeTokenRequest({ constant 161 const request = new RevokeTokenRequest({ constant [all …]
|
| /expo/packages/expo-auth-session/build/ |
| H A D | AuthRequest.js | 53 constructor(request) { argument 55 this.clientId = request.clientId; 57 this.scopes = request.scopes; 59 this.prompt = request.prompt; 187 if (!request.state) 191 if (request.codeChallenge) { 200 if (request.usePKCE && request.codeChallengeMethod) { 203 if (request.clientSecret) { 206 if (request.prompt) { 213 params.state = request.state; [all …]
|
| H A D | AuthRequestHooks.js | 33 const [request, setRequest] = useState(null); 39 const request = new AuthRequestInstance(config); 40 request.makeAuthUrlAsync(discovery).then(() => { 42 setRequest(request); 62 return request; 67 if (!discovery || !request) { 78 const result = await request?.promptAsync(discovery, inputOptions); 81 }, [request?.url, discovery?.authorizationEndpoint]); 111 const request = useLoadedAuthRequest(config, discovery, AuthRequest); 112 const [result, promptAsync] = useAuthRequestResult(request, discovery); [all …]
|
| H A D | TokenRequest.js | 115 request; field in Request 116 constructor(request) { argument 117 this.request = request; 138 constructor(request, grantType) { argument 139 super(request); 141 this.clientId = request.clientId; 144 this.scopes = request.scopes; 282 constructor(request) { argument 283 super(request); 285 this.clientId = request.clientId; [all …]
|
| /expo/packages/expo-auth-session/src/ |
| H A D | AuthRequest.ts | 70 this.clientId = request.clientId; 72 this.scopes = request.scopes; 74 this.prompt = request.prompt; 242 if (request.codeChallenge) { 253 if (request.usePKCE && request.codeChallengeMethod) { 257 if (request.clientSecret) { 261 if (request.prompt) { 262 params.prompt = request.prompt; 267 params.client_id = request.clientId; 269 params.state = request.state; [all …]
|
| H A D | AuthRequestHooks.ts | 45 const [request, setRequest] = useState<AuthRequest | null>(null); constant 55 const request = new AuthRequestInstance(config); constant 56 request.makeAuthUrlAsync(discovery).then(() => { 58 setRequest(request); 78 return request; 84 request: AuthRequest | null, 92 if (!discovery || !request) { 103 const result = await request?.promptAsync(discovery, inputOptions); 107 [request?.url, discovery?.authorizationEndpoint] 147 const request = useLoadedAuthRequest(config, discovery, AuthRequest); constant [all …]
|
| /expo/packages/expo-notifications/ios/EXNotifications/Building/ |
| H A D | EXNotificationBuilder.m | 19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]]; 21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]]; 26 if ([request[@"sound"] isKindOfClass:[NSNumber class]]) { 28 } else if ([request[@"sound"] isKindOfClass:[NSString class]]) { 29 NSString *soundName = request[@"sound"]; 53 - (UNNotificationAttachment *)attachmentFromRequest:(NSDictionary *)request 60 …s] Could not have created a notification attachment out of request: %@. Error: %@.", [request desc… 66 - (NSDictionary *)attachmentOptionsFromRequest:(NSDictionary *)request 69 if ([request objectForKey:@"typeHint" verifyingClass:[NSString class]]) { 70 options[UNNotificationAttachmentOptionsTypeHintKey] = request[@"typeHint"]; [all …]
|
| /expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Building/ |
| H A D | ABI47_0_0EXNotificationBuilder.m | 19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]]; 21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]]; 26 if ([request[@"sound"] isKindOfClass:[NSNumber class]]) { 28 } else if ([request[@"sound"] isKindOfClass:[NSString class]]) { 29 NSString *soundName = request[@"sound"]; 53 - (UNNotificationAttachment *)attachmentFromRequest:(NSDictionary *)request 60 …s] Could not have created a notification attachment out of request: %@. Error: %@.", [request desc… 66 - (NSDictionary *)attachmentOptionsFromRequest:(NSDictionary *)request 69 if ([request objectForKey:@"typeHint" verifyingClass:[NSString class]]) { 70 options[UNNotificationAttachmentOptionsTypeHintKey] = request[@"typeHint"]; [all …]
|
| /expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Building/ |
| H A D | ABI48_0_0EXNotificationBuilder.m | 19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]]; 21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]]; 26 if ([request[@"sound"] isKindOfClass:[NSNumber class]]) { 28 } else if ([request[@"sound"] isKindOfClass:[NSString class]]) { 29 NSString *soundName = request[@"sound"]; 53 - (UNNotificationAttachment *)attachmentFromRequest:(NSDictionary *)request 60 …s] Could not have created a notification attachment out of request: %@. Error: %@.", [request desc… 66 - (NSDictionary *)attachmentOptionsFromRequest:(NSDictionary *)request 69 if ([request objectForKey:@"typeHint" verifyingClass:[NSString class]]) { 70 options[UNNotificationAttachmentOptionsTypeHintKey] = request[@"typeHint"]; [all …]
|
| /expo/ios/versioned/sdk49/EXNotifications/EXNotifications/Building/ |
| H A D | ABI49_0_0EXNotificationBuilder.m | 19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]]; 21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]]; 26 if ([request[@"sound"] isKindOfClass:[NSNumber class]]) { 28 } else if ([request[@"sound"] isKindOfClass:[NSString class]]) { 29 NSString *soundName = request[@"sound"]; 53 - (UNNotificationAttachment *)attachmentFromRequest:(NSDictionary *)request 60 …s] Could not have created a notification attachment out of request: %@. Error: %@.", [request desc… 66 - (NSDictionary *)attachmentOptionsFromRequest:(NSDictionary *)request 69 if ([request objectForKey:@"typeHint" verifyingClass:[NSString class]]) { 70 options[UNNotificationAttachmentOptionsTypeHintKey] = request[@"typeHint"]; [all …]
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/ |
| H A D | ExpoNetworkInspectOkHttpInterceptors.kt | 21 val request = chain.request() in intercept() constant 22 val response = chain.proceed(request) in intercept() 24 val redirectResponse = request.tag(RedirectResponse::class.java) in intercept() 25 val requestId = redirectResponse?.requestId ?: request.hashCode().toString() in intercept() 26 delegate.willSendRequest(requestId, request, redirectResponse?.priorResponse) in intercept() 29 response.request.tag(RedirectResponse::class.java)?.let { in intercept() 34 delegate.didReceiveResponse(requestId, request, response) in intercept() 54 chain.request().newBuilder() in intercept() 65 fun willSendRequest(requestId: String, request: Request, redirectResponse: Response?) in willSendRequest() 67 fun didReceiveResponse(requestId: String, request: Request, response: Response) in willSendRequest()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/devtools/ |
| H A D | ExpoNetworkInspectOkHttpInterceptors.kt | 21 val request = chain.request() in intercept() constant 22 val response = chain.proceed(request) in intercept() 24 val redirectResponse = request.tag(RedirectResponse::class.java) in intercept() 25 val requestId = redirectResponse?.requestId ?: request.hashCode().toString() in intercept() 26 delegate.willSendRequest(requestId, request, redirectResponse?.priorResponse) in intercept() 29 response.request.tag(RedirectResponse::class.java)?.let { in intercept() 34 delegate.didReceiveResponse(requestId, request, response) in intercept() 54 chain.request().newBuilder() in intercept() 65 fun willSendRequest(requestId: String, request: Request, redirectResponse: Response?) in willSendRequest() 67 fun didReceiveResponse(requestId: String, request: Request, response: Response) in willSendRequest()
|
| /expo/packages/expo-dev-launcher/ios/Tests/ |
| H A D | EXDevLauncherManifestParserTests.m | 29 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/2… 34 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/4… 39 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/5… 52 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/j… 57 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/j… 62 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/m… 67 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/p… 72 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/j… 77 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/j… 82 …return [request.URL.host isEqualToString:@"ohhttpstubs"] && [request.URL.path isEqualToString:@"/h… [all …]
|
| /expo/docs/public/static/code/ |
| H A D | sendNotificationToAPNS.js | 34 const request = client.request(headers); constant 36 request.setEncoding('utf8'); 38 request.write( 49 request.on('response', (headers, flags) => { 56 request.on('data', chunk => { 60 request.on('end', () => { 65 request.end();
|
| /expo/ios/ExpoNotificationServiceExtension/ |
| H A D | NotificationService.swift | 15 …override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @esc… 16 if let bestAttemptContent = request.content.mutableCopy() as? UNMutableNotificationContent { 18 …if !request.content.categoryIdentifier.isEmpty && (request.content.userInfo["experienceId"]) != ni… 19 …pedNotificationsUtils.scopedIdentifier(fromId: request.content.categoryIdentifier, forExperience: …
|
| /expo/packages/expo-modules-core/ios/Swift/DevTools/ |
| H A D | ExpoRequestInterceptorProtocol.swift | 28 public override class func canInit(with request: URLRequest) -> Bool { in canInit() 29 guard let scheme = request.url?.scheme else { in canInit() 37 in: request in canInit() 43 request: URLRequest, 47 super.init(request: request, cachedResponse: cachedResponse, client: client) 49 let mutableRequest = request as! NSMutableURLRequest 61 request: mutableRequest as URLRequest, 68 request in canonicalRequest() 123 newRequest request: URLRequest, 130 request: request, [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DevTools/ |
| H A D | ExpoRequestInterceptorProtocol.swift | 28 public override class func canInit(with request: URLRequest) -> Bool { in canInit() 29 guard let scheme = request.url?.scheme else { in canInit() 37 in: request in canInit() 43 request: URLRequest, 47 super.init(request: request, cachedResponse: cachedResponse, client: client) 49 let mutableRequest = request as! NSMutableURLRequest 61 request: mutableRequest as URLRequest, 68 request in canonicalRequest() 123 newRequest request: URLRequest, 130 request: request, [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI47_0_0EXScopedNotificationSerializer.m | 23 …serializedNotificationMutable[@"request"] = [self serializedNotificationRequest:notification.reque… 28 + (NSDictionary *)serializedNotificationContent:(UNNotificationRequest *)request 30 NSDictionary *serializedContent = [super serializedNotificationContent:request]; 32 …Identifier"] = request.content.categoryIdentifier ? [ABI47_0_0EXScopedNotificationsUtils getScopeA… 37 + (NSDictionary *)serializedNotificationRequest:(UNNotificationRequest *)request 39 NSDictionary* serializedRequest = [super serializedNotificationRequest:request]; 41 …_0_0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:request.identifier].ident…
|
| /expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI49_0_0EXScopedNotificationSerializer.m | 23 …serializedNotificationMutable[@"request"] = [self serializedNotificationRequest:notification.reque… 28 + (NSDictionary *)serializedNotificationContent:(UNNotificationRequest *)request 30 NSDictionary *serializedContent = [super serializedNotificationContent:request]; 32 …Identifier"] = request.content.categoryIdentifier ? [ABI49_0_0EXScopedNotificationsUtils getScopeA… 37 + (NSDictionary *)serializedNotificationRequest:(UNNotificationRequest *)request 39 NSDictionary* serializedRequest = [super serializedNotificationRequest:request]; 41 …_0_0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:request.identifier].ident…
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI48_0_0EXScopedNotificationSerializer.m | 23 …serializedNotificationMutable[@"request"] = [self serializedNotificationRequest:notification.reque… 28 + (NSDictionary *)serializedNotificationContent:(UNNotificationRequest *)request 30 NSDictionary *serializedContent = [super serializedNotificationContent:request]; 32 …Identifier"] = request.content.categoryIdentifier ? [ABI48_0_0EXScopedNotificationsUtils getScopeA… 37 + (NSDictionary *)serializedNotificationRequest:(UNNotificationRequest *)request 39 NSDictionary* serializedRequest = [super serializedNotificationRequest:request]; 41 …_0_0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:request.identifier].ident…
|
| /expo/ios/Exponent/Versioned/Core/UniversalModules/EXNotifications/ |
| H A D | EXScopedNotificationSerializer.m | 23 …serializedNotificationMutable[@"request"] = [self serializedNotificationRequest:notification.reque… 28 + (NSDictionary *)serializedNotificationContent:(UNNotificationRequest *)request 30 NSDictionary *serializedContent = [super serializedNotificationContent:request]; 32 …goryIdentifier"] = request.content.categoryIdentifier ? [EXScopedNotificationsUtils getScopeAndIde… 37 + (NSDictionary *)serializedNotificationRequest:(UNNotificationRequest *)request 39 NSDictionary* serializedRequest = [super serializedNotificationRequest:request]; 41 … = [EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:request.identifier].ident…
|
| /expo/packages/@expo/server/src/ |
| H A D | index.ts | 52 getHtml = async (request, route) => { 78 request: ExpoRequest, 89 request: ExpoRequest, 93 const url = request.url; 105 request[NON_STANDARD_SYMBOL] = { 135 if (request.method === 'GET' || request.method === 'HEAD') { 143 updateRequestWithConfig(request, route); 146 const contents = await getHtml(request, route); 181 const routeHandler = func[request.method]; constant 218 updateRequestWithConfig(request, route); [all …]
|
| /expo/packages/@expo/cli/__mocks__/ |
| H A D | resolve-from.ts | 3 const silent = (fromDirectory: string, request: string) => { 16 let outputPath = path.join(fromDirectory, 'node_modules', request); 26 outputPath = path.join(fromDirectory, request); 32 module.exports = jest.fn((fromDirectory, request) => { 33 const path = silent(fromDirectory, request); 35 return resolveFrom(fromDirectory, request);
|
| /expo/android/expoview/src/main/java/host/exp/exponent/notifications/delegates/ |
| H A D | ScopedExpoPresentationDelegate.kt | 32 … val request: ScopedNotificationRequest = ScopedNotificationRequest.CREATOR.createFromParcel(this) in getNotification() constant 35 return Notification(request, notificationDate) in getNotification() 53 override fun getNotifyId(request: NotificationRequest?): Int { in getNotifyId() 54 if (Constants.isStandaloneApp() || request == null) { in getNotifyId() 55 return super.getNotifyId(request) in getNotifyId() 57 val experienceId = if (request.trigger is FirebaseNotificationTrigger) { in getNotifyId() 58 (request.trigger as FirebaseNotificationTrigger).remoteMessage.data["scopeKey"] in getNotifyId() 59 } else if (request is ScopedNotificationRequest) { in getNotifyId() 60 request.experienceScopeKeyString in getNotifyId()
|