security/rubygem-omniauth-oauth2-generic 0.2.8
Generic, Configurable OmniAuth Strategy for OAuth2 providers
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- security, rubygems
- Package size
- 10.4 KiB, 22.4 KiB installed
Description
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.
Install
As a binary package — by origin, or by package name:
pkg install security/rubygem-omniauth-oauth2-generic
pkg install rubygem-omniauth-oauth2-generic
From the ports tree:
cd /usr/ports/security/rubygem-omniauth-oauth2-generic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-omniauth-oauth2-generic>0:security/rubygem-omniauth-oauth2-generic
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.8 | 0.2.8 | 0.2.8 | 0.2.8 | 0.2.8 |
| FreeBSD:14:quarterly | 0.2.8 | 0.2.8 | n/a | 0.2.8 | 0.2.8 |
| FreeBSD:15:latest | 0.2.8 | 0.2.8 | n/a | 0.2.8 | 0.2.8 |
| FreeBSD:15:quarterly | 0.2.8 | 0.2.8 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.8 | 0.2.8 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
rubygem-omniauth-oauth2>=1.0<2: net/rubygem-omniauth-oauth2rubygem-rake>=0: devel/rubygem-rake
The full lists below include those, and their dependencies in turn.
All build dependencies 6
All run dependencies 28
- converters/rubygem-base64
- devel/libffi
- devel/libunwind
- devel/ruby-gems
- devel/rubygem-anonymous_loader
- devel/rubygem-hashie
- devel/rubygem-json
- devel/rubygem-logger
- devel/rubygem-rake
- devel/rubygem-snaky_hash
- devel/rubygem-version_gem
- lang/ruby34
- math/rubygem-bigdecimal
- net/rubygem-oauth2
- net/rubygem-omniauth-oauth2
- net/rubygem-uri
- print/indexinfo
- security/rubygem-auth-sanitizer
- security/rubygem-omniauth
- textproc/libyaml
- textproc/rubygem-multi_xml
- www/rubygem-faraday
- www/rubygem-faraday-net_http
- www/rubygem-jwt
- www/rubygem-net-http
- www/rubygem-rack
- www/rubygem-rack-protection3
- www/rubygem-rack22
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/omniauth-oauth2-generic-0.2.8.gem | 12288 | ce6e8539019d5ebf2f48867072b9f248f148bb4cbe7166dee655865abfae7613 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.