mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
48 lines
1.2 KiB
CoffeeScript
48 lines
1.2 KiB
CoffeeScript
module.exports =
|
|
"application:idle-changed":
|
|
{} # TODO schema
|
|
|
|
"fbapi-loaded":
|
|
{} # TODO schema
|
|
|
|
"logging-in-with-facebook":
|
|
{} # TODO schema
|
|
|
|
"facebook-logged-in":
|
|
title: "Facebook logged in"
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
description: "Published when you successfully logged in with facebook"
|
|
type: "object"
|
|
properties:
|
|
response:
|
|
type: "object"
|
|
properties:
|
|
status: { type: "string" }
|
|
authResponse:
|
|
type: "object"
|
|
properties:
|
|
accessToken: { type: "string" }
|
|
expiresIn: { type: "number" }
|
|
signedRequest: { type: "string" }
|
|
userID: { type: "string" }
|
|
required: ["response"]
|
|
|
|
"facebook-logged-out": {}
|
|
|
|
"linkedin-loaded": {}
|
|
|
|
"gapi-loaded":
|
|
{} # TODO schema
|
|
|
|
"logging-in-with-gplus":
|
|
{} # TODO schema
|
|
|
|
"gplus-logged-in":
|
|
title: "G+ logged in"
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
description: "Published when you successfully logged in with G+"
|
|
type: "object"
|
|
properties:
|
|
authResult:
|
|
type: "string"
|
|
required: ["authResult"]
|