![]() |
![]() |
Flickcurl Flickr API Manual | ![]() |
|
---|---|---|---|---|
Top | Description |
char * flickcurl_auth_checkToken (flickcurl *fc
,const char *token
); char * flickcurl_auth_getFrob (flickcurl *fc
); char * flickcurl_auth_getFullToken (flickcurl *fc
,const char *frob
); char * flickcurl_auth_getToken (flickcurl *fc
,const char *frob
); int flickcurl_auth_oauth_getAccessToken (flickcurl *fc
);
char * flickcurl_auth_checkToken (flickcurl *fc
,const char *token
);
Get the credentials attached to an authentication token.
Implements flickr.auth.checkToken (0.9) Must be signed.
FIXME: Cannot confirm this works, get intermittent results.
|
flickcurl context |
|
token string |
Returns : |
permissions string or NULL on failure |
char * flickcurl_auth_getFrob (flickcurl *fc
);
Get a frob to be used during authentication
Implements flickr.auth.getFrob (0.9) Must be signed. Does not require authentication.
|
flickcurl context |
Returns : |
frob string or NULL on failure |
char * flickcurl_auth_getFullToken (flickcurl *fc
,const char *frob
);
Turn a frob into an auth_token
Implements flickr.auth.getFullToken (0.5) Must be signed.
|
flickcurl context |
|
frob string |
Returns : |
token string or NULL on failure |
char * flickcurl_auth_getToken (flickcurl *fc
,const char *frob
);
Get the auth token for the given frob, if one has been attached.
Implements flickr.auth.getToken (0.9) Must be signed.
|
flickcurl context |
|
frob string |
Returns : |
token string or NULL on failure |
int flickcurl_auth_oauth_getAccessToken (flickcurl *fc
);
Exchange an auth token from the old Authentication API for an OAuth access token.
Calling this method will delete the old auth token used to make the request.
Implements flickr.auth.oauth.getAccessToken (1.22)
|
flickcurl context |
Returns : |
non-0 on failure |