Documentation ¶
Index ¶
- Variables
- type APIClient
- func (o *APIClient) ESI(cache caching.Cache) *esi.EVESwaggerInterface
- func (o *APIClient) ESISSOBrowserWithCache(pool *redis.Pool, store tokenstores.TokenStore, Character string, ...) (*sso.SSOClient, *esi.EVESwaggerInterface)
- func (o *APIClient) ESISSOWithCache(pool *redis.Pool, store tokenstores.TokenStore, Character string, ...) (*sso.SSOClient, *esi.EVESwaggerInterface)
- func (o *APIClient) Meta(cache caching.Cache) *esimeta.ESIMetaSpec
- func (o *APIClient) SSO(store tokenstores.TokenStore, Character string, config Config, ...) (*sso.SSOClient, error)
- func (o *APIClient) SSOBrowser(store tokenstores.TokenStore, Character string, config Config, ...) *sso.SSOClient
- func (o *APIClient) SSOValidator() func(*jwt.Token) (interface{}, error)
- type Config
- type OAuthMetadata
Constants ¶
This section is empty.
Variables ¶
View Source
var MetadataURL = "https://login.eveonline.com/.well-known/oauth-authorization-server"
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func (*APIClient) ESI ¶
func (o *APIClient) ESI(cache caching.Cache) *esi.EVESwaggerInterface
Creates Client for ESI endpoints
func (*APIClient) ESISSOBrowserWithCache ¶
func (o *APIClient) ESISSOBrowserWithCache(pool *redis.Pool, store tokenstores.TokenStore, Character string, config Config, scopes ...string) (*sso.SSOClient, *esi.EVESwaggerInterface)
Creates ESI client with caching and SSO Client with browser open for ESI, SSO Client is validated
func (*APIClient) ESISSOWithCache ¶
func (o *APIClient) ESISSOWithCache(pool *redis.Pool, store tokenstores.TokenStore, Character string, config Config, scopes ...string) (*sso.SSOClient, *esi.EVESwaggerInterface)
Creates ESI client with caching and SSO client for ESI , SSO Client is not validated
func (*APIClient) Meta ¶
func (o *APIClient) Meta(cache caching.Cache) *esimeta.ESIMetaSpec
Creates Client for ESI Meta endpoints
func (*APIClient) SSO ¶
func (o *APIClient) SSO(store tokenstores.TokenStore, Character string, config Config, scopes ...string) (*sso.SSOClient, error)
Creates SSO client for ESISSO
func (*APIClient) SSOBrowser ¶
func (o *APIClient) SSOBrowser(store tokenstores.TokenStore, Character string, config Config, scopes ...string) *sso.SSOClient
Creates SSO client for ESISSO , opens a browser for unknown/invalid keys
func (*APIClient) SSOValidator ¶
Creates Validator for jwt tokens received from ESI
type OAuthMetadata ¶
type OAuthMetadata struct { Issuer string `json:"issuer,omitempty"` AuthorizationEndpoint string `json:"authorization_endpoint,omitempty"` TokenEndpoint string `json:"token_endpoint,omitempty"` ResponseTypesSupported []string `json:"response_types_supported,omitempty"` JwksURI string `json:"jwks_uri,omitempty"` RevocationEndpoint string `json:"revocation_endpoint,omitempty"` RevocationEndpointAuthMethodsSupported []string `json:"revocation_endpoint_auth_methods_supported,omitempty"` TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"` TokenEndpointAuthSigningAlgValuesSupported []string `json:"token_endpoint_auth_signing_alg_values_supported,omitempty"` CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"` }
Directories ¶
Path | Synopsis |
---|---|
Package twotier provides a wrapper for two httpcache.Cache instances, allowing you to use both a small and fast RedisHTTPCache for popular objects and fall back to a larger and slower RedisHTTPCache for less popular ones.
|
Package twotier provides a wrapper for two httpcache.Cache instances, allowing you to use both a small and fast RedisHTTPCache for popular objects and fall back to a larger and slower RedisHTTPCache for less popular ones. |
Code generated by go-esi-swagger; DO NOT EDIT.
|
Code generated by go-esi-swagger; DO NOT EDIT. |
+build ignore
|
+build ignore |
Click to show internal directories.
Click to hide internal directories.