Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.h

Issue 2966523002: Blink-layer update to match WebAuthN spec (Closed)
Patch Set: Add ContectLifecycleObserver... part2 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef AuthenticatorAssertionResponse_h
6 #define AuthenticatorAssertionResponse_h
7
8 #include "core/dom/DOMArrayBuffer.h"
9 #include "modules/ModulesExport.h"
10 #include "modules/webauth/AuthenticatorResponse.h"
11 #include "platform/bindings/ScriptWrappable.h"
12
13 namespace blink {
14
15 class MODULES_EXPORT AuthenticatorAssertionResponse final
16 : public AuthenticatorResponse {
17 DEFINE_WRAPPERTYPEINFO();
18
19 public:
20 static AuthenticatorAssertionResponse* Create(
21 DOMArrayBuffer* client_data_json,
22 DOMArrayBuffer* authenticator_data,
23 DOMArrayBuffer* signature);
24
25 virtual ~AuthenticatorAssertionResponse();
26
27 DOMArrayBuffer* authenticatorData() const {
28 return authenticator_data_.Get();
29 }
30
31 DOMArrayBuffer* signature() const { return signature_.Get(); }
32
33 DECLARE_VIRTUAL_TRACE();
34
35 private:
36 explicit AuthenticatorAssertionResponse(DOMArrayBuffer* client_data_json,
37 DOMArrayBuffer* authenticator_data,
38 DOMArrayBuffer* signature);
39 const Member<DOMArrayBuffer> authenticator_data_;
40 const Member<DOMArrayBuffer> signature_;
41 };
42
43 } // namespace blink
44
45 #endif // AuthenticatorAssertionResponse_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698