aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/openid.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:01:33 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:03:24 +0200
commite17764a1ae81393968dfb747c7b67353c109bc71 (patch)
treebbff0707ae3622e22c67d0cc310370eb5126ac7e /lib/csapi/openid.h
parentcbd107e595bbb78ef3411a4a92f66d495c6fc5b4 (diff)
downloadlibquotient-e17764a1ae81393968dfb747c7b67353c109bc71.tar.gz
libquotient-e17764a1ae81393968dfb747c7b67353c109bc71.zip
csapi/: generated using the latest GTAD and matrix-doc
For matrix-doc, specifically, it is master (5cb4b086) merged with https://github.com/matrix-org/matrix-doc/pull/2518.
Diffstat (limited to 'lib/csapi/openid.h')
-rw-r--r--lib/csapi/openid.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/csapi/openid.h b/lib/csapi/openid.h
index e69f9ad0..efb5f623 100644
--- a/lib/csapi/openid.h
+++ b/lib/csapi/openid.h
@@ -25,7 +25,6 @@ class RequestOpenIdTokenJob : public BaseJob {
public:
/*! \brief Get an OpenID token object to verify the requester's identity.
*
- *
* \param userId
* The user to request and OpenID token for. Should be the user who
* is authenticated for the request.
@@ -39,11 +38,11 @@ public:
// Result properties
/// OpenID token information. This response is nearly compatible with the
- /// response documented in the `OpenID 1.0 Specification
+ /// response documented in the `OpenID Connect 1.0 Specification
/// <http://openid.net/specs/openid-connect-core-1_0.html#TokenResponse>`_
/// with the only difference being the lack of an ``id_token``. Instead,
/// the Matrix homeserver's name is provided.
- OpenidToken data() const { return fromJson<OpenidToken>(jsonData()); }
+ OpenidToken tokenData() const { return fromJson<OpenidToken>(jsonData()); }
};
} // namespace Quotient