omniauth-eve_online-sso 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +1 -1
- data/README.md +69 -89
- data/lib/omniauth/eve_online/sso/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: da38534bf0a15cc7def00b75a3e03389bd7877c81fd2dca1468115d4816f16dc
|
4
|
+
data.tar.gz: acf819ee9da5a1788f1ccd19d4564df23924b0ef38c2337cee69b64656dd5341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24871ac460804fd526c8233533e9507f8a4378499c17e196b0f29cc12dae075677b8ed4b2c3d272039c94d0634403a38177e7e0f9c4dbeb4a6aae5d28b7d27ce
|
7
|
+
data.tar.gz: bb0d97d31c406945fd9a4895953f3e254086a5a45a03873fd3e242915812806f284d46c58fb2d1702873ce2f961d23c3bd3fa320720f3589e3ac3ad72c52da7d
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# OmniAuth EveOnline SSO
|
2
2
|
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/omniauth-eve_online-sso.svg)](https://rubygems.org/gems/omniauth-eve_online-sso)
|
4
|
+
[![Gemnasium](https://img.shields.io/gemnasium/biow0lf/omniauth-eve_online-sso.svg)](https://gemnasium.com/biow0lf/omniauth-eve_online-sso)
|
5
|
+
[![security](https://hakiri.io/github/biow0lf/omniauth-eve_online-sso/master.svg)](https://hakiri.io/github/biow0lf/omniauth-eve_online-sso/master)
|
6
|
+
|
3
7
|
Eve Online OAuth2 Strategy for OmniAuth.
|
4
8
|
|
5
9
|
## Installation
|
@@ -24,111 +28,87 @@ Configure omniauth for use new strategy:
|
|
24
28
|
|
25
29
|
```ruby
|
26
30
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
27
|
-
provider :eve_online_sso, ENV['EVE_ONLINE_SSO_CLIENT_ID'], ENV['EVE_ONLINE_SSO_SECRET_KEY'], scope: '
|
31
|
+
provider :eve_online_sso, ENV['EVE_ONLINE_SSO_CLIENT_ID'], ENV['EVE_ONLINE_SSO_SECRET_KEY'], scope: 'esi-wallet.read_character_wallet.v1'
|
28
32
|
end
|
29
33
|
```
|
30
34
|
|
31
|
-
|
32
|
-
|
33
|
-
Scopes can be one of two types. Old CREST or new ESI. ESI is recommended for all new apps.
|
35
|
+
Note: scopes should be separated by spaces. E.g. `'esi-fleets.read_fleet.v1 esi-fleets.write_fleet.v1'`.
|
34
36
|
|
35
|
-
|
37
|
+
## Scopes
|
36
38
|
|
37
39
|
|Scope|Description|
|
38
40
|
|-----|-----------|
|
39
|
-
|esi-
|
40
|
-
|esi-
|
41
|
-
|esi-
|
42
|
-
|esi-
|
43
|
-
|esi-
|
44
|
-
|esi-
|
45
|
-
|esi-
|
46
|
-
|esi-characters.
|
47
|
-
|esi-characters.
|
48
|
-
|esi-characters.
|
49
|
-
|esi-characters.
|
50
|
-
|esi-characters.
|
51
|
-
|esi-characters.
|
52
|
-
|esi-characters.
|
53
|
-
|esi-characters.
|
41
|
+
|esi-alliances.read_contacts.v1|Allows reading of an alliance's contact list and standings|
|
42
|
+
|esi-assets.read_assets.v1|Allows reading a list of assets that the character owns|
|
43
|
+
|esi-assets.read_corporation_assets.v1|Allows reading of a character's corporation's assets, if the character has roles to do so.|
|
44
|
+
|esi-bookmarks.read_character_bookmarks.v1|Allows reading of a character's bookmarks and bookmark folders|
|
45
|
+
|esi-bookmarks.read_corporation_bookmarks.v1|Allows reading of a corporations's bookmarks and bookmark folders|
|
46
|
+
|esi-calendar.read_calendar_events.v1|Allows reading a character's calendar, including corporation events|
|
47
|
+
|esi-calendar.respond_calendar_events.v1|Allows updating of a character's calendar event responses|
|
48
|
+
|esi-characters.read_agents_research.v1|Allows reading a character's research status with agents|
|
49
|
+
|esi-characters.read_blueprints.v1|Allows reading a character's blueprints|
|
50
|
+
|esi-characters.read_chat_channels.v1|Allows reading a character's chat channels|
|
51
|
+
|esi-characters.read_contacts.v1|Allows reading of a characters contacts list, and calculation of CSPA charges|
|
52
|
+
|esi-characters.read_corporation_roles.v1|Allows reading the character's corporation roles|
|
53
|
+
|esi-characters.read_fatigue.v1|Allows reading a character's jump fatigue information|
|
54
|
+
|esi-characters.read_fw_stats.v1|Allows reading of a character's faction warfare statistics|
|
55
|
+
|esi-characters.read_loyalty.v1|Allows reading a character's loyalty points|
|
56
|
+
|esi-characters.read_medals.v1|Allows reading a character's medals|
|
57
|
+
|esi-characters.read_notifications.v1|Allows reading a character's pending contact notifications|
|
58
|
+
|esi-characters.read_opportunities.v1|Allows reading opportunities of a character|
|
59
|
+
|esi-characters.read_standings.v1|Allows reading a character's standings|
|
60
|
+
|esi-characters.read_titles.v1|Allows reading titles given to a character|
|
61
|
+
|esi-characters.write_contacts.v1|Allows management of contacts|
|
62
|
+
|esi-characterstats.read.v1|Allows reading a characters aggregated statistics from the past year.|
|
54
63
|
|esi-clones.read_clones.v1|Allows reading the locations of a character's jump clones and their implants.|
|
55
|
-
|esi-clones.read_implants.v1|Allows reading a character's active clone's implants
|
56
|
-
|esi-contracts.read_character_contracts.v1|Allows reading a character's contracts
|
57
|
-
|esi-
|
58
|
-
|esi-corporations.
|
59
|
-
|esi-corporations.
|
60
|
-
|esi-
|
61
|
-
|esi-
|
62
|
-
|esi-
|
63
|
-
|esi-
|
64
|
-
|esi-
|
65
|
-
|esi-
|
66
|
-
|esi-
|
67
|
-
|esi-
|
68
|
-
|esi-
|
69
|
-
|esi-
|
64
|
+
|esi-clones.read_implants.v1|Allows reading a character's active clone's implants|
|
65
|
+
|esi-contracts.read_character_contracts.v1|Allows reading a character's contracts|
|
66
|
+
|esi-contracts.read_corporation_contracts.v1|Allows reading a corporation's contracts|
|
67
|
+
|esi-corporations.read_blueprints.v1|Allows reading a corporation's blueprints|
|
68
|
+
|esi-corporations.read_contacts.v1|Allows reading of a character's corporation's contacts, if the character has roles to do so.|
|
69
|
+
|esi-corporations.read_container_logs.v1|Allows reading of a corporation's ALSC logs|
|
70
|
+
|esi-corporations.read_corporation_membership.v1|Allows reading a list of the ID's and roles of a character's fellow corporation members|
|
71
|
+
|esi-corporations.read_divisions.v1|Allows reading of a character's corporation's division names, if the character has roles to do so.|
|
72
|
+
|esi-corporations.read_facilities.v1|Allows reading a corporation's facilities|
|
73
|
+
|esi-corporations.read_fw_stats.v1|Allows reading of a corporation's faction warfare statistics|
|
74
|
+
|esi-corporations.read_medals.v1|Allows reading medals created and issued by a corporation|
|
75
|
+
|esi-corporations.read_outposts.v1|Allows read access for listing and seeing details about a corporation's outposts|
|
76
|
+
|esi-corporations.read_standings.v1|Allows reading a corporation's standings|
|
77
|
+
|esi-corporations.read_starbases.v1|Allows reading of a character's corporation's starbase (POS) information, if the character has roles to do so.|
|
78
|
+
|esi-corporations.read_structures.v1|Allows reading a character's corporation's structure information|
|
79
|
+
|esi-corporations.read_titles.v1|Allows reading of a character's corporation's titles, if the character has roles to do so.|
|
80
|
+
|esi-corporations.track_members.v1|Allows tracking members' activities in a corporation|
|
81
|
+
|esi-corporations.write_structures.v1|Allows updating a character's corporation's structure information|
|
82
|
+
|esi-fittings.read_fittings.v1|Allows reading information about fittings|
|
83
|
+
|esi-fittings.write_fittings.v1|Allows manipulating fittings|
|
84
|
+
|esi-fleets.read_fleet.v1|Allows reading information about fleets|
|
85
|
+
|esi-fleets.write_fleet.v1|Allows manipulating fleets|
|
86
|
+
|esi-industry.read_character_jobs.v1|Allows reading a character's industry jobs|
|
87
|
+
|esi-industry.read_character_mining.v1|Allows reading a character's personal mining activity|
|
88
|
+
|esi-industry.read_corporation_jobs.v1|Allows reading of a character's corporation's industry jobs, if the character has roles to do so.|
|
89
|
+
|esi-industry.read_corporation_mining.v1|Allows reading and observing a corporation's mining activity|
|
90
|
+
|esi-killmails.read_corporation_killmails.v1|Allows reading of a corporation's kills and losses|
|
91
|
+
|esi-killmails.read_killmails.v1|Allows reading of a character's kills and losses|
|
92
|
+
|esi-location.read_location.v1|Allows reading of a character's active ship location|
|
93
|
+
|esi-location.read_online.v1|Allows reading a character's online status|
|
94
|
+
|esi-location.read_ship_type.v1|Allows reading of a character's active ship class|
|
70
95
|
|esi-mail.organize_mail.v1|Allows updating the character's mail labels and unread status. Also allows deleting of the character's mail.|
|
71
96
|
|esi-mail.read_mail.v1|Allows reading of the character's inbox and mails.|
|
72
97
|
|esi-mail.send_mail.v1|Allows sending of mail on the character's behalf.|
|
73
|
-
|esi-markets.read_character_orders.v1|Allows reading a character's market orders
|
74
|
-
|esi-markets.
|
75
|
-
|esi-
|
98
|
+
|esi-markets.read_character_orders.v1|Allows reading a character's market orders|
|
99
|
+
|esi-markets.read_corporation_orders.v1|Allows reading of a character's corporation's market orders, if the character has roles to do so.|
|
100
|
+
|esi-markets.structure_markets.v1|Allows reading market data from a structure, if the user has market access to that structure|
|
101
|
+
|esi-planets.manage_planets.v1|Allows reading a list of a characters planetary colonies, and the details of those colonies|
|
102
|
+
|esi-planets.read_customs_offices.v1|Allow reading of corporation owned customs offices|
|
76
103
|
|esi-search.search_structures.v1|Allows searching over all structures that a character can see in the structure browser.|
|
77
104
|
|esi-skills.read_skillqueue.v1|Allows reading of a character's currently training skill queue.|
|
78
105
|
|esi-skills.read_skills.v1|Allows reading of a character's currently known skills.|
|
79
|
-
|esi-ui.open_window.v1|Allows open window in game client remotely
|
80
|
-
|esi-ui.write_waypoint.v1|Allows manipulating waypoints in game client remotely
|
106
|
+
|esi-ui.open_window.v1|Allows open window in game client remotely|
|
107
|
+
|esi-ui.write_waypoint.v1|Allows manipulating waypoints in game client remotely|
|
81
108
|
|esi-universe.read_structures.v1|Allows querying the location and type of structures that the character has docking access at.|
|
82
109
|
|esi-wallet.read_character_wallet.v1|Allows reading of a character's wallet, journal and transaction history.|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|Scope|Description|
|
87
|
-
|-----|-----------|
|
88
|
-
|characterAccountRead|Read your account subscription status.|
|
89
|
-
|characterAssetsRead|Read your asset list.|
|
90
|
-
|characterBookmarksRead|List your bookmarks and their coordinates.|
|
91
|
-
|characterCalendarRead|Read your calendar events and attendees.|
|
92
|
-
|characterChatChannelsRead|List chat channels you own or operate.|
|
93
|
-
|characterClonesRead|List your jump clones, implants, attributes, and jump fatigue timer.|
|
94
|
-
|characterContactsRead|Allows access to reading your characters contacts.|
|
95
|
-
|characterContactsWrite|Allows applications to add, modify, and delete contacts for your character.|
|
96
|
-
|characterContractsRead|Read your contracts.|
|
97
|
-
|characterFactionalWarfareRead|Read your factional warfare statistics.|
|
98
|
-
|characterFittingsRead|Allows an application to view all of your character's saved fits.|
|
99
|
-
|characterFittingsWrite|Allows an application to create and delete the saved fits for your character.|
|
100
|
-
|characterIndustryJobsRead|List your industry jobs.|
|
101
|
-
|characterKillsRead|Read your kill mails.|
|
102
|
-
|characterLocationRead|Allows an application to read your characters real time location in EVE.|
|
103
|
-
|characterLoyaltyPointsRead|List loyalty points your character has for the different corporations.|
|
104
|
-
|characterMailRead|Read your EVE Mail.|
|
105
|
-
|characterMarketOrdersRead|Read your market orders.|
|
106
|
-
|characterMedalsRead|List your public and private medals.|
|
107
|
-
|characterNavigationWrite|Allows an application to set your ships autopilot destination.|
|
108
|
-
|characterNotificationsRead|Receive in-game notifications.|
|
109
|
-
|characterOpportunitiesRead|List the opportunities your character has completed.|
|
110
|
-
|characterResearchRead|List your research agents working for you and research progress.|
|
111
|
-
|characterSkillsRead|Read your skills and skill queue.|
|
112
|
-
|characterStatsRead|Yearly aggregated stats about your character.|
|
113
|
-
|characterWalletRead|Read your wallet status, transaction, and journal history.|
|
114
|
-
|corporationAssetsRead|Read your corporation's asset list.|
|
115
|
-
|corporationBookmarksRead|List your corporation's bookmarks and their coordinates.|
|
116
|
-
|corporationContactsRead|Read your corporation’s contact list and standings.|
|
117
|
-
|corporationContractsRead|List your corporation's contracts.|
|
118
|
-
|corporationFactionalWarfareRead|Read your corporation's factional warfare statistics.|
|
119
|
-
|corporationIndustryJobsRead|List your corporation's industry jobs.|
|
120
|
-
|corporationKillsRead|Read your corporation's kill mails.|
|
121
|
-
|corporationMarketOrdersRead|List your corporation's market orders.|
|
122
|
-
|corporationMedalsRead|List your corporation's issued medals.|
|
123
|
-
|corporationMembersRead|List your corporation's members, their titles, and roles.|
|
124
|
-
|corporationShareholdersRead|List your corporation's shareholders and their shares.|
|
125
|
-
|corporationStructuresRead|List your corporation's structures, outposts, and starbases.|
|
126
|
-
|corporationWalletRead|Read your corporation's wallet status, transaction, and journal history.|
|
127
|
-
|fleetRead|Allows real time reading of your fleet information (members, ship types, etc.) if you're the boss of the fleet.|
|
128
|
-
|fleetWrite|Allows the ability to invite, kick, and update fleet information if you're the boss of the fleet.|
|
129
|
-
|publicData|Allows access to public data.|
|
130
|
-
|remoteClientUI|Allows applications to control the UI of your EVE Online client.|
|
131
|
-
|structureVulnUpdate|Allows updating your structures' vulnerability timers.|
|
110
|
+
|esi-wallet.read_corporation_wallet.v1|EVE Mobile legacy scope|
|
111
|
+
|esi-wallet.read_corporation_wallets.v1|Allows reading of a character's corporation's wallets, journal and transaction history, if the character has roles to do so.|
|
132
112
|
|
133
113
|
## Development
|
134
114
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-eve_online-sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Zubkov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.6
|
139
|
+
rubygems_version: 2.7.6
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: OmniAuth strategy for EveOnline SSO
|