Skip to content

Commit

Permalink
auth: allow yes backend (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy authored Jul 2, 2024
1 parent 216deec commit 3082408
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/freighter-auth/src/yes_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ use rand::distributions::{Alphanumeric, DistString};

pub struct YesAuthProvider;

impl YesAuthProvider {
pub fn new(_yes_config: ()) -> AuthResult<Self> {
Ok(YesAuthProvider)
}
}

#[async_trait]
impl AuthProvider for YesAuthProvider {
type Config = ();
Expand Down

0 comments on commit 3082408

Please sign in to comment.