Skip to content
Snippets Groups Projects

feat: Update user token validation

3 unresolved threads

Resolves #16 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
26 26 public interface EclipseAPI {
27 27
28 28 /**
29 * Retrieves user objects that matches the given Github username.
29 * Queries for a user with a given username.
30 30 *
31 * @param username GH handle to match against EF user
31 * @param username The desired username.
32 32 * @return the matching Eclipse account or null
33 33 */
34 34 @GET
35 @Path("/github/profile/{username}")
36 EfUser getUserByGithubName(@PathParam("username") String username);
35 @Path("/account/profile/{username}")
36 EfUser getUserByUsername(@QueryParam("username") String username);
  • 6 * which is available at https://www.eclipse.org/legal/epl-2.0/
    7 *
    8 * Author: Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
    9 *
    10 * SPDX-License-Identifier: EPL-2.0
    11 **********************************************************************/
    12 package org.eclipsefoundation.openvsx.config;
    13
    14 import javax.enterprise.context.ApplicationScoped;
    15
    16 import io.smallrye.config.ConfigMapping;
    17
    18 @ConfigMapping(prefix = "oauth2")
    19 @ApplicationScoped
    20 public interface OAuthLoaderConfig {
    21
  • 68 68 <artifactId>quarkus-oidc-client</artifactId>
    69 69 </dependency>
    70 70
    71 <!-- Third-party reqs -->
    72 <dependency>
  • added 1 commit

    • ff5bcd75 - feat: Address feedback + fix tests

    Compare with previous version

  • Martin Lowe approved this merge request

    approved this merge request

  • merged

  • Martin Lowe mentioned in commit 4b064c7c

    mentioned in commit 4b064c7c

  • Please register or sign in to reply
    Loading