Documentation ¶
Index ¶
- Constants
- Variables
- func ClientCreate(m *ice.Message, domain, client_id, client_secret string, arg ...string)
- type Client
- func (s Client) Auth(m *ice.Message, arg ...string)
- func (s Client) Config(m *ice.Message, arg ...string)
- func (s Client) Delete(m *ice.Message, hash, api string, arg ...string) ice.Any
- func (s Client) Get(m *ice.Message, hash, api string, arg ...string) ice.Any
- func (s Client) Inputs(m *ice.Message, arg ...string)
- func (s Client) Link(m *ice.Message, arg ...string)
- func (s Client) List(m *ice.Message, arg ...string)
- func (s Client) Login(m *ice.Message, arg ...string)
- func (s Client) Login2(m *ice.Message, arg ...string)
- func (s Client) OAuthURL(m *ice.Message) string
- func (s Client) Orgs(m *ice.Message, arg ...string)
- func (s Client) Post(m *ice.Message, hash, api string, arg ...string) ice.Any
- func (s Client) Put(m *ice.Message, hash, api string, arg ...string) ice.Any
- func (s Client) RedirectURI(m *ice.Message) string
- func (s Client) Repo(m *ice.Message, arg ...string)
- func (s Client) Save(m *ice.Message, hash, file, api string, arg ...string) ice.Any
- func (s Client) Sso(m *ice.Message, arg ...string)
- func (s Client) User(m *ice.Message, arg ...string)
- type Server
Constants ¶
View Source
const ( OAUTH = "oauth" DOMAIN = "domain" CLIENT_ID = "client_id" CLIENT_SECRET = "client_secret" OAUTH_URL = "oauth_url" GRANT_URL = "grant_url" TOKEN_URL = "token_url" USERS_URL = "users_url" USER_KEY = "user_key" NICK_KEY = "nick_key" ICON_KEY = "icon_key" SESS_CMD = "sess_cmd" USER_CMD = "user_cmd" REDIRECT_URI = "redirect_uri" RESPONSE_TYPE = "response_type" AUTHORIZATION_CODE = "authorization_code" GRANT_TYPE = "grant_type" STATE = "state" SCOPE = "scope" CODE = "code" API_PREFIX = "api_prefix" TOKEN_PREFIX = "token_prefix" ACCESS_TOKEN = "access_token" EXPIRES_IN = "expires_in" )
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.