auth middleware

This commit is contained in:
Aiden McClelland
2021-07-29 18:37:31 -06:00
committed by Aiden McClelland
parent 2dc896ef04
commit 281dde2462
9 changed files with 825 additions and 48 deletions

View File

@@ -60,6 +60,7 @@ pub fn echo(#[context] _ctx: EitherContext, #[arg] message: String) -> Result<St
developer::init,
inspect::inspect,
package,
auth::auth,
))]
pub fn main_api(#[context] ctx: EitherContext) -> Result<EitherContext, RpcError> {
Ok(ctx)