Function create_rust_app::auth::controller::refresh
source · [−]pub fn refresh(
db: &Database,
refresh_token_str: Option<&str>
) -> Result<(String, String), (i32, &'static str)>Expand description
/refresh Returns a tuple;
- the access token should be sent to the user in the body, and,
- the reset token should be sent as a secure, http-only, and same_site=strict cookie.