Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAuthenticationURL ¶
CreateAuthenticationURL builds the url for authentication
Types ¶
type Endpoints ¶
type Endpoints struct { Me string `json:"me"` AuthorizationEndpoint string `json:"authorization_endpoint"` TokenEndpoint string `json:"token_endpoint"` MicropubEndpoint string `json:"micropub_endpoint"` MicrosubEndpoint string `json:"microsub_endpoint"` }
Endpoints contain the endpoints used by Ekster
type TokenResponse ¶
type TokenResponse struct { Me string `json:"me"` AccessToken string `json:"access_token"` TokenType string `json:"token_type"` Scope string `json:"scope"` Error string `json:"error"` ErrorDescription string `json:"error_description"` }
TokenResponse contains the response from a token request to an IndieAuth server
Click to show internal directories.
Click to hide internal directories.