Mountain/RPC/CocoonService/Auth/
GetAuthenticationSession.rs1#![allow(non_snake_case)]
2
3use tonic::{Response, Status};
9
10use crate::{
11 RPC::CocoonService::CocoonServiceImpl,
12 Vine::Generated::{GetAuthenticationSessionRequest, GetAuthenticationSessionResponse},
13 dev_log,
14};
15
16pub async fn Fn(
17 _Service:&CocoonServiceImpl,
18
19 Request:GetAuthenticationSessionRequest,
20) -> Result<Response<GetAuthenticationSessionResponse>, Status> {
21 dev_log!(
22 "cocoon",
23 "[CocoonService] get_authentication_session: provider={}",
24 Request.provider_id
25 );
26
27 Ok(Response::new(GetAuthenticationSessionResponse::default()))
28}