Add rubygem-atlassian-jwt 0.2.0

In order to access the Atlassian Connect REST APIs, an app authenticates using a
JSON Web Token (JWT). The token is generated using the app's secret key and
contains a claim which includes the app's key and a hashed version of the API
URL the app is accessing. This gem simplifies generating the claim.

This gem provides helpers for generating Atlassian specific JWT claims. It also
exposes the ruby-jwt gem's encode and decode methods.

https://bitbucket.org/atlassian/atlassian-jwt-ruby
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-07-15 17:44:06 +00:00
parent 20730272d3
commit 1f7b84c62b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506677
4 changed files with 34 additions and 0 deletions

View file

@ -1959,6 +1959,7 @@
SUBDIR += rubygem-anemone
SUBDIR += rubygem-asana
SUBDIR += rubygem-async_sinatra
SUBDIR += rubygem-atlassian-jwt
SUBDIR += rubygem-best_in_place
SUBDIR += rubygem-best_in_place-rails5
SUBDIR += rubygem-bluecloth

View file

@ -0,0 +1,21 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= atlassian-jwt
PORTVERSION= 0.2.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Authenticate with the Atlassian Connect REST APIs
LICENSE= APACHE20
RUN_DEPENDS= rubygem-jwt21>=2.1.0:www/rubygem-jwt21
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1563126988
SHA256 (rubygem/atlassian-jwt-0.2.0.gem) = 52e653e9d6062d7a740c3675b0e79fa08367927c6fc17f5476d1b6b3798c6eb2
SIZE (rubygem/atlassian-jwt-0.2.0.gem) = 8704

View file

@ -0,0 +1,9 @@
In order to access the Atlassian Connect REST APIs, an app authenticates using a
JSON Web Token (JWT). The token is generated using the app's secret key and
contains a claim which includes the app's key and a hashed version of the API
URL the app is accessing. This gem simplifies generating the claim.
This gem provides helpers for generating Atlassian specific JWT claims. It also
exposes the ruby-jwt gem's encode and decode methods.
https://bitbucket.org/atlassian/atlassian-jwt-ruby