auth_token

Function auth_token 

Source
pub async fn auth_token(
    __arg0: State<Arc<ServerState>>,
    __arg1: SiteName,
    __arg2: ConnectInfo<SocketAddr>,
    __arg3: Json<AuthTokenRequest>,
) -> Result<impl IntoResponse, (StatusCode, Json<ErrorResponse>)>
Expand description

POST /api/v1/auth/token — exchange username/password for a CSM token.