14 lines
309 B
Rust
14 lines
309 B
Rust
use url::Url;
|
|
|
|
pub mod command;
|
|
pub mod errors;
|
|
pub mod service;
|
|
|
|
#[async_trait::async_trait]
|
|
pub trait RequestAuthorizationUserCase: Send + Sync {
|
|
async fn request_authorization(
|
|
&self,
|
|
cmd: command::RequestAuthorizationCommand,
|
|
) -> errors::RequestAuthorizationServiceResult<Url>;
|
|
}
|