Eve-online/Eve ESI Notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
my app: https://developers.eveonline.com/applications/details/5511#app-section-details | my app: https://developers.eveonline.com/applications/details/5511#app-section-details | ||
https://www.quadratic.net:8883/kills | |||
how to auth | how to auth | ||
http://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/authentication.html | http://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/authentication.html | ||
https://developers.eveonline.com/blog/article/sso-to-authenticated-calls < best as of july 6th 2019 | |||
swagger ui: https://esi.evetech.net/ui/ | |||
urllib: https://docs.python.org/2/library/urllib.html | |||
; EsiPy - "easy" python library | |||
: https://kyria.github.io/EsiPy/getting_started/basic_usage/ | |||
== mongodb with python == | |||
https://www.mongodb.com/blog/post/getting-started-with-python-and-mongodb | |||
== Request type == | |||
''implicit grant'' | |||
https://oauthlib.readthedocs.io/en/latest/oauth2/grants/implicit.html | |||
<pre> | |||
+----------+ | |||
| Resource | | |||
| Owner | | |||
| | | |||
+----------+ | |||
^ | |||
| | |||
(B) | |||
+----|-----+ Client Identifier +---------------+ | |||
| -+----(A)-- & Redirection URI --->| | | |||
| User- | | Authorization | | |||
| Agent -|----(B)-- User authenticates -->| Server | | |||
| | | | | |||
| |<---(C)--- Redirection URI ----<| | | |||
| | with Access Token +---------------+ | |||
| | in Fragment | |||
| | +---------------+ | |||
| |----(D)--- Redirection URI ---->| Web-Hosted | | |||
| | without Fragment | Client | | |||
| | | Resource | | |||
| (F) |<---(E)------- Script ---------<| | | |||
| | +---------------+ | |||
+-|--------+ | |||
| | | |||
(A) (G) Access Token | |||
| | | |||
^ v | |||
+---------+ | |||
| | | |||
| Client | | |||
| | | |||
+---------+ | |||
</pre> | |||
''code grant'' | |||
https://oauthlib.readthedocs.io/en/latest/oauth2/grants/authcode.html | |||
<pre> | |||
+----------+ | |||
| Resource | | |||
| Owner | | |||
| | | |||
+----------+ | |||
^ | |||
| | |||
(B) | |||
+----|-----+ Client Identifier +---------------+ | |||
| -+----(A)-- & Redirection URI ---->| | | |||
| User- | | Authorization | | |||
| Agent -+----(B)-- User authenticates --->| Server | | |||
| | | | | |||
| -+----(C)-- Authorization Code ---<| | | |||
+-|----|---+ +---------------+ | |||
| | ^ v | |||
(A) (C) | | | |||
| | | | | |||
^ v | | | |||
+---------+ | | | |||
| |>---(D)-- Authorization Code ---------' | | |||
| Client | & Redirection URI | | |||
| | | | |||
| |<---(E)----- Access Token -------------------' | |||
+---------+ (w/ Optional Refresh Token) | |||
</pre> | |||
[[Category:Eve-online]] | |||
[[Category:Script]] |
Latest revision as of 05:46, 6 April 2021
my app: https://developers.eveonline.com/applications/details/5511#app-section-details
https://www.quadratic.net:8883/kills
how to auth
http://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/authentication.html
https://developers.eveonline.com/blog/article/sso-to-authenticated-calls < best as of july 6th 2019
swagger ui: https://esi.evetech.net/ui/
urllib: https://docs.python.org/2/library/urllib.html
- EsiPy - "easy" python library
- https://kyria.github.io/EsiPy/getting_started/basic_usage/
mongodb with python
https://www.mongodb.com/blog/post/getting-started-with-python-and-mongodb
Request type
implicit grant
https://oauthlib.readthedocs.io/en/latest/oauth2/grants/implicit.html
+----------+ | Resource | | Owner | | | +----------+ ^ | (B) +----|-----+ Client Identifier +---------------+ | -+----(A)-- & Redirection URI --->| | | User- | | Authorization | | Agent -|----(B)-- User authenticates -->| Server | | | | | | |<---(C)--- Redirection URI ----<| | | | with Access Token +---------------+ | | in Fragment | | +---------------+ | |----(D)--- Redirection URI ---->| Web-Hosted | | | without Fragment | Client | | | | Resource | | (F) |<---(E)------- Script ---------<| | | | +---------------+ +-|--------+ | | (A) (G) Access Token | | ^ v +---------+ | | | Client | | | +---------+
code grant
https://oauthlib.readthedocs.io/en/latest/oauth2/grants/authcode.html
+----------+ | Resource | | Owner | | | +----------+ ^ | (B) +----|-----+ Client Identifier +---------------+ | -+----(A)-- & Redirection URI ---->| | | User- | | Authorization | | Agent -+----(B)-- User authenticates --->| Server | | | | | | -+----(C)-- Authorization Code ---<| | +-|----|---+ +---------------+ | | ^ v (A) (C) | | | | | | ^ v | | +---------+ | | | |>---(D)-- Authorization Code ---------' | | Client | & Redirection URI | | | | | |<---(E)----- Access Token -------------------' +---------+ (w/ Optional Refresh Token)