- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for redirectUrl (0.04 sec)
-
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
synchronized (this) { listeners.put(state, listener); } return slackApi.authorizeUrl(scopes, redirectUrl(), state, team); } private ByteString randomToken() { byte[] bytes = new byte[16]; secureRandom.nextBytes(bytes); return ByteString.of(bytes); } private HttpUrl redirectUrl() { return mockWebServer.url("/oauth/"); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
/** See https://api.slack.com/docs/oauth. */ public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) { HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString()) .addQueryParameter("state", state.base64()); if (team != null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java
activityHelper.logout(userBean); final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null); fessLoginAssist.logout(); userInfoHelper.deleteUserCodeFromCookie(request); if (StringUtil.isNotBlank(redirectUrl)) { return HtmlResponse.fromRedirectPathAsIs(redirectUrl); } return redirect(LoginAction.class); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
"http://host\u0000/".toHttpUrl() } } @Test fun urlRedirectToHostWithNul() { val redirectUrl = "http://host\u0000/" server.enqueue( MockResponse .Builder() .code(302) .addHeaderLenient("Location", redirectUrl) .build(), ) val response = getResponse(newRequest("/")) assertThat(response.code).isEqualTo(302)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)