feat: Update user token validation
3 unresolved threads
3 unresolved threads
Resolves #16 (closed)
Merge request reports
Activity
Filter activity
added 1 commit
- f2faa0d9 - feat: Implement OAuth token creation and auth search of user
added 1 commit
- e29aaa5a - feat: Start implementing proper user token validation
added 1 commit
- 6fb7d165 - feat: Implement token user fetch and validation
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); changed this line in version 9 of the diff
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 changed this line in version 9 of the diff
68 68 <artifactId>quarkus-oidc-client</artifactId> 69 69 </dependency> 70 70 71 <!-- Third-party reqs --> 72 <dependency> changed this line in version 9 of the diff
mentioned in commit 4b064c7c
Please register or sign in to reply