Giter Site home page Giter Site logo

ryanrutan / jive-sdk-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jivesoftware/jive-sdk-go

0.0 1.0 0.0 28 KB

This is currently a placeholder for a series tools to assist Go developers to build Jive Add-Ons. Reach out in the Jive Developer Community if you are interested in contributing.

Home Page: https://community.jivesoftware.com/community/developer

License: GNU General Public License v2.0

Go 100.00%

jive-sdk-go's Introduction

jive-sdk-go

Alt

This is currently a placeholder for a series tools to assist Go developers to build Jive Add-Ons. Reach out in the Jive Developer Community if you are interested in contributing.

This SDK is currently a work in progress. ๐Ÿ˜„

To-do

  • Validate headers -- register and unregister Reference
  • Validate signed fetch add-on requests Reference
  • Examples Framework Reference
    • Tile (with /jive/tile/register and /jive/tile/unregister endpoints)
    • App (with static assets -- html, css, js)
    • Add-On (with configure screen and /jive/addon/register and /jive/tile/unregister endpoints)
  • Documentation (include method defintions in README.md)

#Testing Validation Test your encoded secret with a known output by CURLing the payload below to the registration endpoint.

Sample Payload:

{  
  "clientId": "i5j15eikcd5u2xntgk5zu4lt93zkgx6z.i",
  "clientSecret": "7wmyigctxbopc22jo7u4xorxsn2m9r04.s",
  "code": "nki1dxrtl3r2q3kkgorwfkrmik234ppw.c",
  "scope": "uri:/api",
  "jiveUrl": "http://ws-z0-120493.jiveland.com:8080",
  "jiveSignature": "dtuW522kpoayRLFkPq6l3MOXxoKwfyNHsgGMlitr9PM=",
  "jiveSignatureURL": "https://market.apps.jivesoftware.com/appsmarket/services/rest/jive/instance/validation/29c38d1a-9c8a-4ec5-9b55-56fc44a5a402",
  "tenantId": "0ee9ae5c-4702-49eb-a716-3d46de4b10d3",
  "timestamp": "2013-07-12T15:28:46.493Z"  
}

ClientSecret Hex Digest Output: 67988da9f1378acbff239942f39a4eecb8684e82a8a7c17abc7c333a5623580e

Begin Documentation

function method(param1, param2)

This is an example documentation with information about the method. Describe what gets passed in, what it does, and what it returns (if anything). For methods that include a HTTP request, include response codes for successes and failures as shown below.

Response Codes

Success : 204

Failure : 403

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.