Struct openid_client::Request
source · pub struct Request {
pub url: String,
pub expected: StatusCode,
pub method: Method,
pub expect_body: bool,
pub headers: HeaderMap,
pub search_params: HashMap<String, Vec<String>>,
}Expand description
Request
Request is an internal struct that is used by each OIDC protocol methods.
Fields§
§url: StringUrl of the request without query params
expected: StatusCodeExpected status code from the server
method: MethodHttp method of the request
expect_body: boolWhether or not to expect body with the response
headers: HeaderMapHeaders that are sent in the request
search_params: HashMap<String, Vec<String>>Query Params that are send with the request