Documentation ¶
Index ¶
- type ConfigOpenId
- type EsiaAuthCode
- type EsiaDocs
- type EsiaPerson
- type EsiaToken
- type OpenId
- func (c *OpenId) GetInfoByPath(path string, item interface{}) error
- func (c *OpenId) GetState() (string, error)
- func (c *OpenId) GetTimeStamp() string
- func (c *OpenId) GetTokenState(code string) (EsiaToken, error)
- func (c *OpenId) GetUrl() (string, error)
- func (c *OpenId) Sign(message string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOpenId ¶
type EsiaAuthCode ¶
type EsiaPerson ¶
type EsiaPerson struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` MiddleName string `json:"middleName"` Trusted bool `json:"trusted"` Citizenship string `json:"citizenship"` Status string `json:"status"` Verifying bool `json:"verifying"` RIdDoc int32 `json:"rIdDoc"` ContainsUpCfmCode bool `json:"containsUpCfmCode"` ETag string `json:"eTag"` }
type OpenId ¶
type OpenId struct { Config ConfigOpenId Token string Oid int32 }
func (*OpenId) GetInfoByPath ¶
func (*OpenId) GetTimeStamp ¶
Click to show internal directories.
Click to hide internal directories.