Documentation ¶
Overview ¶
Package implementing methods: flickr.auth.oauth.*
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckTokenResponse ¶
type CheckTokenResponse struct { flickr.BasicResponse OAuth struct { // OAuth token Token string `xml:"token"` // String containing permissions bonded to this token Perms string `xml:"perms"` // The owner of this token User struct { // Flickr ID ID string `xml:"nsid,attr"` // Flickr Username Username string `xml:"username,attr"` // Flickr full name Fullname string `xml:"fullname,attr"` } `xml:"user"` } `xml:"oauth"` }
Response type representing data returned by CheckToken
func CheckToken ¶
func CheckToken(client *flickr.FlickrClient, oauthToken string) (*CheckTokenResponse, error)
Returns the credentials attached to an OAuth authentication token. This method does not require user authentication, but the request must be api-signed.
Click to show internal directories.
Click to hide internal directories.