freebsd-ports/security/rubygem-omniauth-oauth2-generic/Makefile
Sunpoet Po-Chuan Hsieh 5a2dda6134 Add rubygem-omniauth-oauth2-generic 0.2.2
omniauth-oauth2-generic provides an OmniAuth strategy for authenticating with an
OAuth2 service using the authorization grant flow.

Most OmniAuth gems are written either as abstractions (omniauth-oauth2) or for a
specific provider (omniauth-github), but this one is designed to be configurable
enough to work with any basic OAuth2 provider. The primary differences between
OAuth2 provider strategies in OmniAuth are:
- The server's domain
- The URL paths used to authorize, request tokens and get user info
- The structure of the returned user information

These are all configurable options in this gem. There my be certain
requirements/features of some providers not covered by this gem's options, but
it was designed primarily so that if you are implementing your own OAuth2
provider for your service, you don't need to write an OmniAuth strategy as long
as it is compatible with the basic options provided by this gem.

WWW: https://gitlab.com/satorix/omniauth-oauth2-generic
2017-03-22 21:03:58 +00:00

24 lines
536 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= omniauth-oauth2-generic
PORTVERSION= 0.2.2
CATEGORIES= security rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Generic, Configurable OmniAuth Strategy for OAuth2 providers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.0:net/rubygem-omniauth-oauth2
NO_ARCH= yes
USE_RUBY= yes
USES= gem
post-install:
${RM} ${STAGEDIR}${PREFIX}/bin/console ${STAGEDIR}${PREFIX}/bin/setup
.include <bsd.port.mk>