headless_lms_server::domain::authorization

Function authorize_access_to_tmc_server

Source
pub async fn authorize_access_to_tmc_server(
    request: &HttpRequest,
) -> Result<AuthorizationToken, ControllerError>
Expand description

Can be used to check whether user is allowed to view some course material