mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-18 00:17:06 +01:00
Remove instances of cloning ApplicationSecret
ApplicationSecret is not a small struct. This removes the instances where it's cloned in favor of passing a shared reference.
This commit is contained in:
@@ -133,7 +133,7 @@ pub trait FlowDelegate: Clone + Send + Sync {
|
||||
}
|
||||
|
||||
/// Configure a custom redirect uri if needed.
|
||||
fn redirect_uri(&self) -> Option<String> {
|
||||
fn redirect_uri(&self) -> Option<&str> {
|
||||
None
|
||||
}
|
||||
/// The server has returned a `user_code` which must be shown to the user,
|
||||
|
||||
Reference in New Issue
Block a user