File indexing completed on 2024-12-22 04:57:52
0001 /* 0002 SPDX-License-Identifier: BSD-2-Clause 0003 */ 0004 0005 #pragma once 0006 0007 /// Request parameter (name-value pair) participating in authentication. 0008 struct O0RequestParameter { 0009 O0RequestParameter(const QByteArray &n, const QByteArray &v) 0010 : name(n) 0011 , value(v) 0012 { 0013 } 0014 0015 bool operator<(const O0RequestParameter &other) const 0016 { 0017 return (name == other.name) ? (value < other.value) : (name < other.name); 0018 } 0019 0020 QByteArray name; 0021 QByteArray value; 0022 };