mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #155] [MERGED] [WIP] Auth plugins #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/155
Author: @gschier
Created: 1/15/2025
Status: ✅ Merged
Merged: 1/17/2025
Merged by: @gschier
Base:
master← Head:auth-plugins📝 Commits (10+)
357d85eStart on form inputs81e932eMerge branch 'master' into auth-pluginsded12b8Fixes after master merge07f1fecConvert auth handlers to plugins9f37c8eRe-generate types5db7b23Starting to wire up frontend98bca01Got auth editor working withd98742dUse plugin name forauthenticationTypeafb11eeUse plugin name forauthenticationType9b497d9Also apply to GRPC📊 Changes
56 files changed (+5455 additions, -1461 deletions)
View changed files
📝
package-lock.json(+1 -1)📝
packages/plugin-runtime-types/package.json(+4 -3)📝
packages/plugin-runtime-types/src/bindings/events.ts(+205 -320)📝
packages/plugin-runtime-types/src/bindings/models.ts(+4 -4)➕
packages/plugin-runtime-types/src/plugins/AuthenticationPlugin.ts(+9 -0)📝
packages/plugin-runtime-types/src/plugins/index.ts(+2 -0)📝
packages/plugin-runtime/src/index.worker.ts(+28 -1)📝
src-tauri/Cargo.lock(+97 -397)📝
src-tauri/Cargo.toml(+2 -3)📝
src-tauri/src/http_request.rs(+56 -29)📝
src-tauri/src/lib.rs(+107 -83)📝
src-tauri/src/render.rs(+9 -9)📝
src-tauri/src/template_callback.rs(+6 -6)➕
src-tauri/vendored/plugins/auth-basic/build/index.js(+55 -0)➕
src-tauri/vendored/plugins/auth-basic/package.json(+9 -0)➕
src-tauri/vendored/plugins/auth-bearer/build/index.js(+50 -0)➕
src-tauri/vendored/plugins/auth-bearer/package.json(+9 -0)➕
src-tauri/vendored/plugins/auth-jwt/build/index.js(+3822 -0)➕
src-tauri/vendored/plugins/auth-jwt/package.json(+15 -0)📝
src-tauri/yaak-grpc/Cargo.toml(+8 -7)...and 36 more files
📄 Description
This PR moves all authentication handlers to plugins (currently in Rust), and updates the plugin APIs accordingly.
HttpRequest.authenticationTypeTangential
v1reflection (currently onlyv1alpha)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.