Conversation
Refactor/reogranize identity provider code to match the structure of the other providers. This improves modularization and help to extend functionality.
| use crate::db::entity::{local_user, prelude::LocalUser}; | ||
| use crate::identity::backends::sql::{IdentityDatabaseError, db_err}; | ||
|
|
||
| pub async fn get_by_name_and_domain<N: AsRef<str>, D: AsRef<str>>( |
Check warning
Code scanning / clippy
function get_by_name_and_domain is never used Warning
| use crate::db::entity::{local_user, prelude::LocalUser}; | ||
| use crate::identity::backends::sql::{IdentityDatabaseError, db_err}; | ||
|
|
||
| pub async fn get_by_name_and_domain<N: AsRef<str>, D: AsRef<str>>( |
Check warning
Code scanning / clippy
function get_by_name_and_domain is never used Warning
| .map_err(|err| db_err(err, "searching user by name and domain")) | ||
| } | ||
|
|
||
| pub async fn get_by_user_id<U: AsRef<str>>( |
Check warning
Code scanning / clippy
function get_by_user_id is never used Warning
| .map_err(|err| db_err(err, "searching user by name and domain")) | ||
| } | ||
|
|
||
| pub async fn get_by_user_id<U: AsRef<str>>( |
Check warning
Code scanning / clippy
function get_by_user_id is never used Warning
|
| Branch | identity |
| Testbed | ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
|---|---|---|---|
| fernet token/project | 📈 view plot 🚷 view threshold | 1,451.10 ns(+13.87%)Baseline: 1,274.36 ns | 1,646.72 ns (88.12%) |
| get_fernet_token_timestamp/project | 📈 view plot 🚷 view threshold | 143.10 ns(-8.97%)Baseline: 157.19 ns | 210.76 ns (67.90%) |
|
🦢 Load Test Results Goose Attack ReportPlan Overview
Request Metrics
Response Time Metrics
Status Code Metrics
Transaction Metrics
Scenario Metrics
Error Metrics
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactor/reogranize identity provider code to match the structure of the
other providers. This improves modularization and help to extend
functionality.