Files
Arnar Birgisson da8dfb3c72 Update to v0.9.3
- Require explicit user approval on registration
 - Embed eTLD list instead of fetching remotel
 - Support compressed requests (single appId and challenge)
 - Do not reveal to webpage if that a device is enrolled without explicit user action
 - Smaller bugfixes
2014-11-09 01:55:32 -08:00

36 lines
746 B
JavaScript

// Copyright 2014 Google Inc. All rights reserved
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
/**
* @fileoverview This provides the different code types for the gnubby
* operations.
*/
/**
* @const
* @enum {number}
*/
var GnubbyCodeTypes = {
/** Request succeeded. */
'OK': 0,
/** All plugged in devices are already enrolled. */
'ALREADY_ENROLLED': 2,
/** None of the plugged in devices are enrolled. */
'NONE_PLUGGED_ENROLLED': 3,
/** One or more devices are waiting for touch. */
'WAIT_TOUCH': 4,
/** Unknown error. */
'UNKNOWN_ERROR': 7,
/** Bad request. */
'BAD_REQUEST': 12
};