Giter VIP home page Giter VIP logo

zoomjwt's Introduction

ZoomJWT

C# Library (.NET Framework) for creating Java Web Tokens (JWTs) for use by Zoom Apps to authenticate to the various Zoom APIs/SDKs.

Generating these tokens can be a bit tricky. At the time this library was written, the information on how to generate these tokens was not available in any one place, and a reliable implementation in C# could not be found. Thus, I created this library for my own use and figured I'd share it with others.

Eseentially, this project is an amalgamation of the following:

This library was written primarily for use with the Zoom Client SDK C# Wrapper as part of my In-Meeting Zoom Bot SDK project. It can be used to generate valid JWTs for any Zoom APIs, and those generated JWTs can be used from any programming language. The CreateToken() function should even work with other applications besides Zoom, but this has not been tested.

To use, extract the release ZIP file and/or compile the DLL and add a reference to it in your C# project. Then, use the library to generate and use a token (A key and secret are required, please consult the appropriate Zoom Client SDK or API documentation for details).

Here is some example code for use with the Zoom Client SDK C# Wrapper:

using static ZoomJWT.CZoomJWT;

...

    sdkErr = CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(new AuthContext()
    {
        jwt_token = CreateClientSDKToken(YOUR_SDK_KEY, YOUR_SDK_SECRET),
    });

If you need to use the Zoom API, it requires a different type of token. Example:

using static ZoomJWT.CZoomJWT;

...

    Console.WriteLine("Your API token is: " + CreateAPIToken(YOUR_API_KEY, YOUR_API_SECRET));

Contributions by the community are welcome!

zoomjwt's People

Contributors

apresence avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.