Flickrex.Flickr.Auth.Oauth (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Returns the credentials attached to an OAuth authentication token.
Exchange an auth token from the old Authentication API, to an OAuth access token. Calling this method will delete the auth token used to make the request.
Link to this section Types
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
Returns the credentials attached to an OAuth authentication token.
This method does not require authentication.
Arguments
oauth_token- The OAuth authentication token to check.
Example response
%{
"oauth" => %{
"perms" => %{"_content" => "write"},
"token" => %{"_content" => "72157627611980735-09e87c3024f733da"},
"user" => %{
"fullname" => "Jamal F",
"nsid" => "1121451801@N07",
"username" => "jamalf"
}
},
"stat" => "ok"
} Specs
Exchange an auth token from the old Authentication API, to an OAuth access token. Calling this method will delete the auth token used to make the request.
This method does not require authentication.
Example response
%{
"auth" => %{
"access_token" => %{
"oauth_token" => "72157607082540144-8d5d7ea7696629bf",
"oauth_token_secret" => "f38bf58b2d95bc8b"
}
},
"stat" => "ok"
}